mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-05 16:38:59 -04:00
try again
This commit is contained in:
12
.github/workflows/checks.yml
vendored
12
.github/workflows/checks.yml
vendored
@@ -56,12 +56,14 @@ jobs:
|
|||||||
- name: Check coverage threshold
|
- name: Check coverage threshold
|
||||||
run: poetry run coverage report --fail-under=90
|
run: poetry run coverage report --fail-under=90
|
||||||
- name: Health check
|
- name: Health check
|
||||||
run: |
|
if: ${{ (curl -u "$login" -v "$status_page") != *"ok"* }}
|
||||||
# response = $(curl -v https://notify-staging.app.cloud.gov/_status)
|
steps:
|
||||||
$(curl -u ${{ secrets.NOTIFY_E2E_TEST_HTTP_AUTH_USER }}:${{ secrets.NOTIFY_E2E_TEST_HTTP_AUTH_PASSWORD }} -v ${{ secrets.NOTIFY_E2E_TEST_URI }}_status)
|
- uses: actions/github-script@v6
|
||||||
|
with:
|
||||||
# exit 1
|
script: core.setFailed('Health check failed')
|
||||||
env:
|
env:
|
||||||
|
login: ${{secrets.NOTIFY_E2E_TEST_HTTP_AUTH_USER}}:${{secrets.NOTIFY_E2E_TEST_HTTP_AUTH_PASSWORD}}
|
||||||
|
status_page: ${{secrets.NOTIFY_E2E_TEST_URI}}_status
|
||||||
NOTIFY_E2E_AUTH_STATE_PATH: ${{ secrets.NOTIFY_E2E_AUTH_STATE_PATH }}
|
NOTIFY_E2E_AUTH_STATE_PATH: ${{ secrets.NOTIFY_E2E_AUTH_STATE_PATH }}
|
||||||
NOTIFY_E2E_TEST_EMAIL: ${{ secrets.NOTIFY_E2E_TEST_EMAIL }}
|
NOTIFY_E2E_TEST_EMAIL: ${{ secrets.NOTIFY_E2E_TEST_EMAIL }}
|
||||||
NOTIFY_E2E_TEST_HTTP_AUTH_PASSWORD: ${{ secrets.NOTIFY_E2E_TEST_HTTP_AUTH_PASSWORD }}
|
NOTIFY_E2E_TEST_HTTP_AUTH_PASSWORD: ${{ secrets.NOTIFY_E2E_TEST_HTTP_AUTH_PASSWORD }}
|
||||||
|
|||||||
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
@@ -84,7 +84,7 @@ jobs:
|
|||||||
deploy-config/egress_proxy/notify-admin-staging.*.acl
|
deploy-config/egress_proxy/notify-admin-staging.*.acl
|
||||||
.github/actions/deploy-proxy/action.yml
|
.github/actions/deploy-proxy/action.yml
|
||||||
.github/workflows/deploy.yml
|
.github/workflows/deploy.yml
|
||||||
- name: Deploy egress proxy
|
- name: Deploy egress proxyf
|
||||||
if: steps.changed-egress-config.outputs.any_changed == 'true'
|
if: steps.changed-egress-config.outputs.any_changed == 'true'
|
||||||
uses: ./.github/actions/deploy-proxy
|
uses: ./.github/actions/deploy-proxy
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user