Skip to content

Commit

Permalink
fix: Perf test postgres username env
Browse files Browse the repository at this point in the history
  • Loading branch information
svariant committed Nov 29, 2024
1 parent 34738a9 commit 2609b6d
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions .devops/performance-test-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,29 +21,18 @@ variables:
${{ if eq(parameters['ENVIRONMENT'], 'dev') }}:
poolImage: "pagopa-dev-loadtest-linux"
PG_GPD_PASSWORD: "$(DEV_PG_GPD_PASSWORD)"
PG_GPD_USERNAME: "$(DEV_PG_GPD_USERNAME)"
PG_GPD_USERNAME: "$(DEV_PG_GPD_USER)"
INGESTION_EVENTHUB_CONN_STRING: "${DEV_INGESTION_EVENTHUB_CONN_STRING}"
${{ if eq(parameters['ENVIRONMENT'], 'uat') }}:
poolImage: "pagopa-uat-loadtest-linux"
PG_GPD_PASSWORD: "$(UAT_PG_GPD_PASSWORD)"
PG_GPD_USERNAME: "$(UAT_PG_GPD_USERNAME)"
PG_GPD_USERNAME: "$(UAT_PG_GPD_USER)"
INGESTION_EVENTHUB_CONN_STRING: "${UAT_INGESTION_EVENTHUB_CONN_STRING}"

pool:
name: $(poolImage)

steps:
- script: |
echo ${ENV}
echo ${PG_GPD_USERNAME}
echo ${PG_GPD_PASSWORD}
echo ${NUMBER_OF_EVENTS}
displayName: Echo variables
env:
ENV: ${{ parameters.ENVIRONMENT }}
PG_GPD_USERNAME: ${{ variables.PG_GPD_USERNAME }}
PG_GPD_PASSWORD: ${{ variables.PG_GPD_PASSWORD }}
NUMBER_OF_EVENTS: ${{ parameters.NUMBER_OF_EVENTS }}
- script: |
cd ./test-utils
chmod +x ./run_compose.sh
Expand Down

0 comments on commit 2609b6d

Please sign in to comment.