e2e #1578
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: e2e | |
| on: | |
| merge_group: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| e2e: | |
| name: Run acceptance tests against OpenStack ${{ matrix.name }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - name: "gazpacho" | |
| openstack_version: "stable/2026.1" | |
| ubuntu_version: "24.04" | |
| - name: "flamingo" | |
| openstack_version: "stable/2025.2" | |
| ubuntu_version: "24.04" | |
| - name: "epoxy" | |
| openstack_version: "stable/2025.1" | |
| ubuntu_version: "24.04" | |
| env: | |
| image_tag: virtual-registry.k-orc.cloud/ci:commit-${GITHUB_SHA::7} | |
| runs-on: ubuntu-${{ matrix.ubuntu_version }} | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # tag=v6.0.2 | |
| with: | |
| persist-credentials: false | |
| - name: Deploy devstack | |
| uses: gophercloud/devstack-action@60ca1042045c0c9e3e001c64575d381654ffcba1 # tag=v0.19 | |
| with: | |
| enable_workaround_docker_io: 'false' | |
| branch: ${{ matrix.openstack_version }} | |
| enabled_services: "openstack-cli-server,neutron-trunk" | |
| - name: Deploy a Kind Cluster | |
| uses: helm/kind-action@ef37e7f390d99f746eb8b610417061a60e82a6cc # tag=v1.14.0 | |
| with: | |
| cluster_name: orc | |
| - name: Build and push a container image to Kind | |
| run: | | |
| make docker-build IMG=${{ env.image_tag }} | |
| kind load docker-image ${{ env.image_tag }} ${{ env.image_tag }} --name orc | |
| - name: Deploy orc | |
| run: | | |
| kubectl config use-context kind-orc | |
| make deploy IMG=${{ env.image_tag }} LOGLEVEL=5 | |
| - name: Run e2e tests | |
| run: | | |
| make test-e2e | |
| make test-examples | |
| - name: Generate logs on failure | |
| run: ./hack/collectlogs | |
| if: failure() | |
| env: | |
| OS_CLOUD: devstack | |
| - name: Upload logs artifacts on failure | |
| if: failure() | |
| uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # tag=v7.0.0 | |
| with: | |
| name: e2e-${{ matrix.name }}-${{ github.run_id }} | |
| path: /tmp/artifacts/* |