Skip to content

Commit

Permalink
workflows/e2e_run_all: enable docker
Browse files Browse the repository at this point in the history
Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
  • Loading branch information
wainersm committed Jul 29, 2024
1 parent 17d55f8 commit d581e4b
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion .github/workflows/e2e_run_all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
needs: [image]
runs-on: ubuntu-latest
env:
PROVIDERS: "libvirt"
PROVIDERS: "docker libvirt"
steps:
- name: Checkout Code
uses: actions/checkout@v3
Expand Down Expand Up @@ -172,3 +172,29 @@ jobs:
install_directory_artifact: install_directory
git_ref: ${{ inputs.git_ref }}
secrets: inherit

# Run docker e2e tests if pull request labeled 'test_e2e_docker'
docker:
name: docker
if: |
github.event_name == 'schedule' ||
github.event_name == 'workflow_dispatch' ||
contains(github.event.pull_request.labels.*.name, 'test_e2e_docker')
needs: [podvm, image, prep_install]
strategy:
fail-fast: false
matrix:
os:
- fedora
provider:
- docker
arch:
- amd64
uses: ./.github/workflows/e2e_docker.yaml
with:
caa_image: ${{ inputs.registry }}/cloud-api-adaptor
caa_image_tag: ${{ inputs.caa_image_tag }}
podvm_image: ${{ inputs.registry }}/podvm-${{ matrix.provider }}-image:${{ github.sha }}
install_directory_artifact: install_directory
git_ref: ${{ inputs.git_ref }}
secrets: inherit

0 comments on commit d581e4b

Please sign in to comment.