Skip to content

Commit

Permalink
fix: Env perf test pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
svariant committed Nov 28, 2024
1 parent cae57fb commit b6b2ae6
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .devops/performance-test-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,26 @@ steps:
- script: |
cd ./test-utils
chmod +x ./run_compose.sh
./run_compose.sh "${{ variables.INGESTION_EVENTHUB_CONN_STRING }}" "gpd-ingestion.apd.payment_position,cdc-raw-auto.apd.payment_position"
./run_compose.sh "${INGESTION_EVENTHUB_CONN_STRING}" "gpd-ingestion.apd.payment_position,cdc-raw-auto.apd.payment_position"
displayName: Run Redis and javascript consumer
env:
INGESTION_EVENTHUB_CONN_STRING: ${{ variables.INGESTION_EVENTHUB_CONN_STRING }}
- script: |
cd ./performance-test/src
docker build -f ./load/DockerfileLoad -t exec-node-load .
docker run --rm --name loadEventsGpdIngestion --network test-utils_test-network \
-e ENV="${{ parameters.ENVIRONMENT }}" \
-e PG_GPD_USERNAME="${{ variables.PG_GPD_USERNAME }}" \
-e PG_GPD_PASSWORD="${{ variables.PG_GPD_PASSWORD }}" \
-e NUMBER_OF_EVENTS="${{ parameters.NUMBER_OF_EVENTS }}" \
-e ENV="${ENV}" \
-e PG_GPD_USERNAME="${PG_GPD_USERNAME}" \
-e PG_GPD_PASSWORD="${PG_GPD_PASSWORD}" \
-e NUMBER_OF_EVENTS="${NUMBER_OF_EVENTS}" \
exec-node-load
displayName: Run insert events on postgres
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: |
timeout ${TIMEOUT}s
Expand Down

0 comments on commit b6b2ae6

Please sign in to comment.