From 43ed01808d92efbbf35e1d5c8a2279ad2306af81 Mon Sep 17 00:00:00 2001 From: Hans Kallekleiv <16436291+HansKallekleiv@users.noreply.github.com> Date: Tue, 3 Sep 2024 15:14:43 +0200 Subject: [PATCH] wip --- .github/workflows/backend_sumo_prod.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/backend_sumo_prod.yml b/.github/workflows/backend_sumo_prod.yml index 5250a9652..df897fa42 100644 --- a/.github/workflows/backend_sumo_prod.yml +++ b/.github/workflows/backend_sumo_prod.yml @@ -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: @@ -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