Skip to content

Commit

Permalink
update secrets, create credentials.json for service account
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchelbaker-cisa committed Jul 26, 2024
1 parent af27b04 commit b2de6fb
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/run_smoke_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
run:
shell: powershell
env:
SCUBA_GITHUB_AUTOMATION_CREDS: ${{ secrets.SCUBA_GITHUB_AUTOMATION_CREDS }}
GWS_SERVICE_ACCOUNT: ${{ secrets.GWS_SERVICE_ACCOUNT }}
GWS_SUBJECT_EMAIL: ${{ secrets.GWS_SUBJECT_EMAIL }}
GWS_GITHUB_AUTOMATION_CREDS: ${{ secrets.GWS_GITHUB_AUTOMATION_CREDS }}
steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand All @@ -46,8 +46,9 @@ jobs:
python -m pip install .
pip install -r requirements.txt
pip install pytest
pip uninstall numpy
pip install numpy==1.26.4
- name: Create credentials.json for service account
run: Set-Content -Path credentials.json -Value $env:GWS_GITHUB_AUTOMATION_CREDS -Encoding utf8

- name: Download OPA executable
run: python download_opa.py -v 0.60.0 -os windows
Expand All @@ -56,4 +57,4 @@ jobs:
run: |
echo "In step to execute ScubaGoggles smoke test"
pip show scubagoggles
pytest -s ./Testing/Functional/SmokeTests/ --subjectemail="$env:GWS_SERVICE_ACCOUNT"
pytest -s ./Testing/Functional/SmokeTests/ --subjectemail="$env:GWS_SUBJECT_EMAIL"

0 comments on commit b2de6fb

Please sign in to comment.