From b0ff544f7892cf393512b9afc803564ccac537d9 Mon Sep 17 00:00:00 2001 From: Bartosz Prusinowski Date: Thu, 14 Dec 2023 12:35:15 +0100 Subject: [PATCH] feat: Add DataCubeComponents performance test --- .github/workflows/performance-tests.yml | 2 +- .../generate-github-action.js | 2 +- .../graphql/DataCubeComponents.js | 50 +++++++++++++++++++ 3 files changed, 52 insertions(+), 2 deletions(-) create mode 100644 k6/performance-tests/graphql/DataCubeComponents.js diff --git a/.github/workflows/performance-tests.yml b/.github/workflows/performance-tests.yml index 5ac6df667..375dd6ada 100644 --- a/.github/workflows/performance-tests.yml +++ b/.github/workflows/performance-tests.yml @@ -14,4 +14,4 @@ jobs: with: image: grafana/k6:latest options: -v ${{ github.workspace }}:/root -e K6_PROMETHEUS_RW_USERNAME=${{ secrets.K6_PROMETHEUS_RW_USERNAME }} -e K6_PROMETHEUS_RW_PASSWORD=${{ secrets.K6_PROMETHEUS_RW_PASSWORD }} -e K6_PROMETHEUS_RW_SERVER_URL=${{ secrets.K6_PROMETHEUS_RW_SERVER_URL }} - run: k6 run -o experimental-prometheus-rw --tag testid=DataCubeMetadata --env ENV=test --env CUBE_IRI=https://energy.ld.admin.ch/sfoe/bfe_ogd84_einmalverguetung_fuer_photovoltaikanlagen/9 --env CUBE_LABEL=Photovoltaikanlagen/9 -