mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-07 07:18:25 -04:00
try again
This commit is contained in:
19
.github/workflows/checks.yml
vendored
19
.github/workflows/checks.yml
vendored
@@ -105,20 +105,22 @@ jobs:
|
|||||||
- name: Check API Server availability
|
- name: Check API Server availability
|
||||||
run: |
|
run: |
|
||||||
curl --fail -v https://notify-api-staging.app.cloud.gov || exit 1
|
curl --fail -v https://notify-api-staging.app.cloud.gov || exit 1
|
||||||
- name: Set secret as output
|
|
||||||
id: set_secret
|
|
||||||
run: echo "::set-output name=my_secret::${{ secrets.VCAP_SERVICES }}"
|
|
||||||
- name: Run Admin server
|
- name: Run Admin server
|
||||||
# If we want to log stuff and see what's broken,
|
# If we want to log stuff and see what's broken,
|
||||||
# insert this line:
|
# insert this line:
|
||||||
# tail -f admin-server.log &
|
# tail -f admin-server.log &
|
||||||
# above make e2e-test
|
# above make e2e-test
|
||||||
|
|
||||||
# make run-flask > admin-server.log 2>&1 &
|
|
||||||
# tail -f admin-server.log &
|
|
||||||
# make e2e-test
|
|
||||||
|
|
||||||
run: printenv
|
run: |
|
||||||
|
echo "VCAP SERVICES:"
|
||||||
|
echo ${{ env.VCAP_SERVICES }}
|
||||||
|
echo "GRRR SERVICES:"
|
||||||
|
echo {$$ env.GRRR_SERVICES }}
|
||||||
|
make run-flask > admin-server.log 2>&1 &
|
||||||
|
tail -f admin-server.log &
|
||||||
|
make e2e-test
|
||||||
|
|
||||||
env:
|
env:
|
||||||
API_HOST_NAME: https://notify-api-staging.app.cloud.gov/
|
API_HOST_NAME: https://notify-api-staging.app.cloud.gov/
|
||||||
SECRET_KEY: ${{ secrets.SECRET_KEY }}
|
SECRET_KEY: ${{ secrets.SECRET_KEY }}
|
||||||
@@ -130,7 +132,8 @@ jobs:
|
|||||||
NOTIFY_E2E_TEST_EMAIL: ${{ secrets.NOTIFY_E2E_TEST_EMAIL }}
|
NOTIFY_E2E_TEST_EMAIL: ${{ secrets.NOTIFY_E2E_TEST_EMAIL }}
|
||||||
NOTIFY_E2E_TEST_PASSWORD: ${{ secrets.NOTIFY_E2E_TEST_PASSWORD }}
|
NOTIFY_E2E_TEST_PASSWORD: ${{ secrets.NOTIFY_E2E_TEST_PASSWORD }}
|
||||||
NOTIFY_E2E_TEST_URI: http://localhost:6012/
|
NOTIFY_E2E_TEST_URI: http://localhost:6012/
|
||||||
VCAP_SERVICES: ${{ steps.set_secret.outputs.my_secret }}
|
VCAP_SERVICES: ${{ secrets.VCAP_SERVICES }}
|
||||||
|
GRRR_SERVICES: ${{ env.GRRR_SERVICES }}
|
||||||
|
|
||||||
validate-new-relic-config:
|
validate-new-relic-config:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user