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

View file

@ -29,9 +29,9 @@ jobs:
username: ${{ github.actor }} username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.GITHUB_TOKEN }}
- name: Pull BW linux ubuntu test image - 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 - 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 - name: Install BunkerWeb
run: | run: |
# Install NGINX # Install NGINX