ci/cd change needs and logic in test core linux

This commit is contained in:
Théophile Diot 2023-09-18 13:54:47 +02:00
parent b54c7eb61a
commit fa91bf6c60
No known key found for this signature in database
GPG Key ID: 248FEA4BAE400D06
2 changed files with 4 additions and 4 deletions

View File

@ -131,7 +131,7 @@ jobs:
# Push with dev tag
push-dev:
needs: [tests-ui, tests-core, tests-core-linux]
needs: [tests-ui, tests-core]
runs-on: ubuntu-latest
permissions:
contents: read
@ -171,7 +171,7 @@ jobs:
# Push Linux packages
push-packages:
needs: [tests-ui, tests-core, tests-core-linux]
needs: [tests-core-linux]
strategy:
matrix:
linux: [ubuntu, debian, fedora, el]

View File

@ -29,9 +29,9 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Pull BW linux ubuntu test image
run: docker pull ghcr.io/bunkerity/ubuntu-tests:${{ inputs.RELEASE }} && docker tag ghcr.io/bunkerity/ubuntu-tests:${{ inputs.RELEASE }} local/ubuntu:latest
run: docker pull ghcr.io/bunkerity/ubuntu-tests:${{ inputs.RELEASE }}
- name: Run BW linux ubuntu test image
run: docker run --rm -v /tmp/bunkerweb_deb:/data local/ubuntu:latest
run: docker run --rm -v /tmp/bunkerweb_deb:/data ghcr.io/bunkerity/ubuntu-tests:${{ inputs.RELEASE }}
- name: Install BunkerWeb
run: |
# Install NGINX