Skip to content

Commit

Permalink
PBM tests use docker-compose (#2906)
Browse files Browse the repository at this point in the history
  • Loading branch information
olexandr-havryliak authored Oct 2, 2024
1 parent 41e8ff2 commit 3a102b4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pbm/pbm-functional-tests-full.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ pipeline {
git poll: false, branch: params.TESTING_BRANCH, url: 'https://github.com/Percona-QA/psmdb-testing.git'
sh """
cd pbm-functional/pytest
PSMDB=perconalab/percona-server-mongodb:${PSMDB} docker compose build
docker compose up -d
docker compose run test pytest -s --junitxml=junit.xml -k ${TEST} || true
docker compose down -v --remove-orphans
PSMDB=perconalab/percona-server-mongodb:${PSMDB} docker-compose build --no-cache
docker-compose up -d
docker-compose run test pytest -s --junitxml=junit.xml -k ${TEST} || true
docker-compose down -v --remove-orphans
curl -H "Content-Type:multipart/form-data" -H "Authorization: Bearer ${ZEPHYR_TOKEN}" -F "[email protected];type=application/xml" 'https://api.zephyrscale.smartbear.com/v2/automations/executions/junit?projectKey=PBM' -F 'testCycle={"name":"${JOB_NAME}-${BUILD_NUMBER}","customFields": { "PBM branch": "${PBM_BRANCH}","PSMDB docker image": "percona/percona-server-mongodb:${PSMDB}-multi","instance": "${instance}"}};type=application/json' -i || true
"""
}
Expand Down

0 comments on commit 3a102b4

Please sign in to comment.