Skip to content

Commit

Permalink
Merge pull request #1018 from GSA/shorten-egress-check
Browse files Browse the repository at this point in the history
Egress Check Optimization ⚡
  • Loading branch information
nickumia-reisys authored Aug 3, 2023
2 parents 536a0c4 + 1e98ed5 commit 26636c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/egress_check_error.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Egress Check Failed
labels: bug o&m egress
labels: ["bug", "o&m", "egress"]
---

Workflow with Issue: {{ workflow }}
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/egress_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: 6 - Check Egress Operation

on:
schedule:
- cron: '*/5 * * * *'
- cron: '* * * * *'
workflow_dispatch:

jobs:
Expand All @@ -16,10 +16,8 @@ jobs:
max-parallel: 7
matrix:
command:
- '#GoodDomainTest;
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\"'
- 'GoodDomainTest || curl -I -L --http1.1 https://gsa.gov | grep \"HTTP/1.1 200 OK\"'
- 'BadDomainTest || curl -I -L --http1.1 https://yahoo.com | grep \"HTTP/1.1 403 Forbidden\"'
environ: ['development', 'staging', 'prod']
app:
- 'catalog-admin'
Expand Down

0 comments on commit 26636c1

Please sign in to comment.