Skip to content

Commit

Permalink
fix: typos in the egress-check file + optimize mem usage
Browse files Browse the repository at this point in the history
fix: typo... matrix.envrion

fix: each name needs to be referenced separately

fix: escape quotes in run-task command

new: limit memory consumption to ~1G

fix: max-parallel at strategy level, not matrix
  • Loading branch information
nickumia-reisys committed Aug 3, 2023
1 parent a000336 commit 07e875c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/egress_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,18 @@ on:

jobs:
egress-check:
name: ${{ matrix.app - matrix-environ - matrix.command }}
name: ${{matrix.app}} - ${{matrix.environ}} - ${{matrix.command}}
runs-on: ubuntu-latest
environment: ${{ matrix.environ }}
strategy:
fail-fast: false
max-parallel: 7
matrix:
command:
- '#GoodDomainTest;
curl -I -Ls --http1.1 https://gsa.gov | grep -q "HTTP/1.1 200 OK"'
curl -I -Ls --http1.1 https://gsa.gov | grep -q \"HTTP/1.1 200 OK\"'
- '#BadDomainTest;
curl -I -Ls --http1.1 https://yahoo.com | grep -q "HTTP/1.1 403 Forbidden"'
curl -I -Ls --http1.1 https://yahoo.com | grep -q \"HTTP/1.1 403 Forbidden\"'
environ: ['development', 'staging', 'prod']
app:
- 'catalog-admin'
Expand Down

0 comments on commit 07e875c

Please sign in to comment.