Skip to content

Commit

Permalink
CI migrate to docker compose v2 (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
olexandr-havryliak authored Apr 4, 2024
1 parent 98180d7 commit 4590eea
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/PBM-CUSTOM.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ jobs:
- uses: actions/checkout@v4
- name: Setup environment
run: |
docker-compose build
docker-compose up -d
docker compose build
docker compose up -d
working-directory: ./pbm-functional/pytest
- name: Test ${{ env.TEST }} on PSMDB ${{ env.PSMDB }} PBM branch ${{ env.PBM_BRANCH }}
run: |
docker-compose run --rm test pytest -s --junitxml=junit.xml ${{ env.TEST }}
docker compose run --rm test pytest -s --junitxml=junit.xml ${{ env.TEST }}
working-directory: ./pbm-functional/pytest
- name: Publish Test Report
uses: mikepenz/action-junit-report@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/PBM-FULL.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ jobs:
- uses: actions/checkout@v4
- name: Setup environment with PSMDB ${{ matrix.psmdb }} and PBM branch ${{ env.PBM_BRANCH }}
run: |
PSMDB=percona/percona-server-mongodb:${{ matrix.psmdb }} docker-compose build
docker-compose up -d
PSMDB=percona/percona-server-mongodb:${{ matrix.psmdb }} docker compose build
docker compose up -d
working-directory: ./pbm-functional/pytest
- name: Test ${{ matrix.test }} backup/restore on PSMDB ${{ matrix.psmdb }} and PBM branch ${{ env.PBM_BRANCH }}
run: |
docker-compose run --rm test pytest -s --junitxml=junit.xml -k ${{ matrix.test }}
docker compose run --rm test pytest -s --junitxml=junit.xml -k ${{ matrix.test }}
working-directory: ./pbm-functional/pytest
- name: Publish Test Report
uses: mikepenz/action-junit-report@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/PBM.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ jobs:
- uses: actions/checkout@v4
- name: Setup environment with PSMDB ${{ env.PSMDB }} and PBM branch ${{ env.PBM_BRANCH }}
run: |
docker-compose build
docker-compose up -d
docker compose build
docker compose up -d
working-directory: ./pbm-functional/pytest
- name: Test ${{ matrix.test }} backup/restore on PSMDB ${{ env.PSMDB }} PBM branch ${{ env.PBM_BRANCH }}
run: |
docker-compose run --rm test pytest -s --junitxml=junit.xml -k ${{ matrix.test }}
docker compose run --rm test pytest -s --junitxml=junit.xml -k ${{ matrix.test }}
working-directory: ./pbm-functional/pytest
- name: Publish Test Report
uses: mikepenz/action-junit-report@v4
Expand Down

0 comments on commit 4590eea

Please sign in to comment.