From 3a102b481c4b4a0ee1b0d3ea910223cdd44cd590 Mon Sep 17 00:00:00 2001 From: Oleksandr Havryliak <88387200+olexandr-havryliak@users.noreply.github.com> Date: Wed, 2 Oct 2024 12:43:42 +0300 Subject: [PATCH] PBM tests use docker-compose (#2906) --- pbm/pbm-functional-tests-full.groovy | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pbm/pbm-functional-tests-full.groovy b/pbm/pbm-functional-tests-full.groovy index b4d3f59048..18c808e86b 100644 --- a/pbm/pbm-functional-tests-full.groovy +++ b/pbm/pbm-functional-tests-full.groovy @@ -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 "file=@junit.xml;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 """ }