From b3aeef40eeb18231ed51853f0b152c7947872414 Mon Sep 17 00:00:00 2001 From: Bartosz Prusinowski Date: Mon, 19 Feb 2024 17:29:31 +0100 Subject: [PATCH] fix: Permission --- .github/workflows/performance-tests-pr.yml | 2 +- k6/performance-tests/generate-github-actions.mjs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/performance-tests-pr.yml b/.github/workflows/performance-tests-pr.yml index 2cb82ea06..44cdb3405 100644 --- a/.github/workflows/performance-tests-pr.yml +++ b/.github/workflows/performance-tests-pr.yml @@ -17,7 +17,7 @@ jobs: uses: addnab/docker-run-action@v3 with: image: grafana/k6:latest - options: -v ${{ github.workspace }}:/root + options: -v ${{ github.workspace }}:/root -u root run: | touch /root/summary.txt echo "$(k6 run --tag testid=DataCubeComponents --env ENV=PR --env ENDPOINT=${{ github.event.deployment_status.target_url }}/api/graphql --env CUBE_IRI=https://energy.ld.admin.ch/sfoe/bfe_ogd84_einmalverguetung_fuer_photovoltaikanlagen/9 --env CUBE_LABEL=Photovoltaikanlagen/9 --env ROOT_PATH=/root/ --env CHECK_TIMING=true --quiet - /root/summary.txt diff --git a/k6/performance-tests/generate-github-actions.mjs b/k6/performance-tests/generate-github-actions.mjs index be9824a22..82290bf13 100644 --- a/k6/performance-tests/generate-github-actions.mjs +++ b/k6/performance-tests/generate-github-actions.mjs @@ -97,7 +97,7 @@ jobs: uses: addnab/docker-run-action@v3 with: image: grafana/k6:latest - options: -v \${{ github.workspace }}:/root + options: -v \${{ github.workspace }}:/root -u root run: | touch /root/summary.txt echo "$(${commands})" > /root/summary.txt