Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
HansKallekleiv committed Sep 3, 2024
1 parent edcc7ed commit 43ed018
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/backend_sumo_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,16 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: 🤖 Get secrets
working-directory: ./backend_py/primary
env:
SHARED_KEY_SUMO_PROD: ${{ secrets.SHARED_KEY_DROGON_READ_PROD }}
run: |
echo "Length of SHARED_KEY_SUMO_PROD variable read from Github Secrets:" ${#SHARED_KEY_SUMO_PROD}
mkdir ~/.sumo
echo $SHARED_KEY_SUMO_PROD > ~/.sumo/9e5443dd-3431-4690-9617-31eed61cb55a.sharedkey
ls -l ~/.sumo/9e5443dd-3431-4690-9617-31eed61cb55a.sharedkey
- name: Set up Python
uses: actions/setup-python@v5
with:
Expand All @@ -51,10 +61,5 @@ jobs:
WEBVIZ_ENTERPRISE_SUBSCRIPTION_KEY: 0
WEBVIZ_SSDL_RESOURCE_SCOPE: 0
WEBVIZ_SUMU_ENV: prod
SHARED_KEY_SUMO_PROD: ${{ secrets.SHARED_KEY_DROGON_READ_PROD }}
run: |
echo "Length of SHARED_KEY_SUMO_PROD variable read from Github Secrets:" ${#SHARED_KEY_SUMO_PROD}
mkdir ~/.sumo
echo $SHARED_KEY_SUMO_PROD > ~/.sumo/9e5443dd-3431-4690-9617-31eed61cb55a.sharedkey
ls -l ~/.sumo/9e5443dd-3431-4690-9617-31eed61cb55a.sharedkey
pytest -s --timeout=300 ./tests/integration

0 comments on commit 43ed018

Please sign in to comment.