Skip to content

Commit 8419679

Browse files
authored
Merge pull request #1674 from GSA/fix-egress-test
add and fix egress test
2 parents 15443b2 + 2abd22e commit 8419679

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/egress_check.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ jobs:
1616
max-parallel: 2
1717
matrix:
1818
command:
19-
- 'GoodDomainTest || curl -I -L --http1.1 https://gsa.gov | grep \"HTTP/1.1 200 OK\"'
20-
- 'BadDomainTest || curl -I -L --http1.1 https://yahoo.com | grep \"HTTP/1.1 403 Forbidden\"'
19+
- 'HTTP403Test || curl -I -L --http1.1 http://gsa.gov | grep \"HTTP/1.1 403 Forbidden\"'
20+
- 'GoodDomain200Test || python -c \"import requests,sys; sys.exit(requests.get(''https://gsa.gov'').status_code!=200)\"'
21+
- 'BadDomain403Test || curl -I -L --http1.1 https://yahoo.com | grep \"HTTP/1.1 403 Forbidden\"'
2122
environ: ['development', 'staging', 'prod']
2223
app:
2324
- 'catalog-admin'

0 commit comments

Comments
 (0)