Skip to content

Commit

Permalink
fix: Testid
Browse files Browse the repository at this point in the history
  • Loading branch information
bprusinowski committed Dec 14, 2023
1 parent 9274895 commit d2ee800
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/performance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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=StateAccounts_Office/4/ --env ENV=test --env CUBE=StateAccounts_Office/4/ - </root/k6/performance-tests/graphql/metadata.js && k6 run -o experimental-prometheus-rw --tag testid=StateAccounts_Office/4/ --env ENV=int --env CUBE=StateAccounts_Office/4/ - </root/k6/performance-tests/graphql/metadata.js && k6 run -o experimental-prometheus-rw --tag testid=StateAccounts_Office/4/ --env ENV=prod --env CUBE=StateAccounts_Office/4/ - </root/k6/performance-tests/graphql/metadata.js
run: k6 run -o experimental-prometheus-rw --tag testid=metadata --env ENV=test --env CUBE=StateAccounts_Office/4/ - </root/k6/performance-tests/graphql/metadata.js && k6 run -o experimental-prometheus-rw --tag testid=metadata --env ENV=int --env CUBE=StateAccounts_Office/4/ - </root/k6/performance-tests/graphql/metadata.js && k6 run -o experimental-prometheus-rw --tag testid=metadata --env ENV=prod --env CUBE=StateAccounts_Office/4/ - </root/k6/performance-tests/graphql/metadata.js
2 changes: 1 addition & 1 deletion k6/performance-tests/generate-github-action.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
.map((env) => {
return queries.map((query) => {
return cubes.map((cube) => {
return `k6 run -o experimental-prometheus-rw --tag testid=${cube} --env ENV=${env} --env CUBE=${cube} - </root/k6/performance-tests/graphql/${query}.js`;
return `k6 run -o experimental-prometheus-rw --tag testid=${query} --env ENV=${env} --env CUBE=${cube} - </root/k6/performance-tests/graphql/${query}.js`;
});
});
})
Expand Down

0 comments on commit d2ee800

Please sign in to comment.