-
Notifications
You must be signed in to change notification settings - Fork 5.1k
WIP: test merging functional_verified #21964
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,6 +6,8 @@ on: | |
| paths: | ||
| - "go.mod" | ||
| - "**.go" | ||
| - "**.yml" | ||
| - "**.yaml" | ||
| - "Makefile" | ||
| - "!site/**" | ||
| - "!**.md" | ||
|
|
@@ -15,6 +17,8 @@ on: | |
| paths: | ||
| - "go.mod" | ||
| - "**.go" | ||
| - "**.yml" | ||
| - "**.yaml" | ||
| - "Makefile" | ||
| - "!site/**" | ||
| - "!**.md" | ||
|
|
@@ -43,7 +47,7 @@ jobs: | |
| run: go mod download | ||
| - name: Build minikube and e2e test binaries | ||
| run: | | ||
| make e2e-linux-amd64 e2e-darwin-amd64 | ||
| make e2e-linux-amd64 e2e-darwin-amd64 e2e-linux-arm64 | ||
| cp -r test/integration/testdata ./out | ||
| - name: Upload Test Binaries | ||
| uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 | ||
|
|
@@ -53,7 +57,7 @@ jobs: | |
| functional-test: | ||
| name: ${{ matrix.name }} | ||
| needs: build-test-binaries | ||
| runs-on: ${{ matrix.os }} | ||
| runs-on: ${{ matrix.runner }} | ||
| permissions: | ||
| contents: none | ||
| strategy: | ||
|
|
@@ -63,43 +67,48 @@ jobs: | |
| - name: docker-docker-ubuntu22.04-x86_64 | ||
| driver: docker | ||
| cruntime: docker | ||
| os: ubuntu-22.04 | ||
| runner: ubuntu-22.04 | ||
| test-timeout: 15m | ||
| - name: docker-containerd-ubuntu-22.04-x86_64 | ||
| driver: docker | ||
| cruntime: containerd | ||
| extra-start-args: --container-runtime=containerd | ||
| os: ubuntu-22.04 | ||
| runner: ubuntu-22.04 | ||
| test-timeout: 15m | ||
| - name: docker-containerd-rootless-ubuntu-22.04-x86_64 | ||
| driver: docker | ||
| cruntime: containerd | ||
| os: ubuntu-22.04 | ||
| runner: ubuntu-22.04 | ||
| extra-start-args: --container-runtime=containerd --rootless | ||
| rootless: true | ||
| test-timeout: 15m | ||
| - name: podman-docker-ubuntu-24.04-x86_64 | ||
| driver: podman | ||
| cruntime: docker | ||
| os: ubuntu-24.04 | ||
| runner: ubuntu-24.04 | ||
| test-timeout: 15m | ||
| - name: baremetal-docker-ubuntu-22.04-x86_64 | ||
| driver: none | ||
| cruntime: docker | ||
| os: ubuntu-22.04 | ||
| runner: ubuntu-22.04 | ||
| test-timeout: 7m | ||
| - name: qemu-docker-macos-13-x86_64 | ||
| driver: qemu | ||
| cruntime: docker | ||
| os: macos-13 | ||
| runner: macos-13 | ||
| extra-start-args: --network socket_vmnet | ||
| test-timeout: 50m | ||
| - name: vfkit-docker-macos-13-x86_64 | ||
| driver: vfkit | ||
| cruntime: docker | ||
| os: macos-13 | ||
| runner: macos-13 | ||
| extra-start-args: --network vmnet-shared | ||
| test-timeout: 50m | ||
| - name: docker-docker-ubuntu-arm64 | ||
| driver: docker | ||
| cruntime: docker | ||
| runner: [self-hosted, arm64] | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we would need to see if we can make that Only one of the Matrix items be required to have ok-to-test label and the test be as it is, can you see if thats possible? feel free to make a Dummy Repo just to check that in a Dummy repo with a dummy workflow on your own repo
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Medhya i looked more into it thw core issue having is that GitHub Actions doesn't support conditional logic at the matrix definition level so we can't add a check in the include section , if that would have been possible it would be easier but it's not but we can add a check in the steps portion |
||
| test-timeout: 25m | ||
| steps: | ||
| - name: Info Block (macOS) | ||
| if: runner.os == 'macOS' | ||
|
|
@@ -259,7 +268,7 @@ jobs: | |
| dockerd-rootless-setuptool.sh install -f | ||
| docker context use rootless | ||
| - name: Ensure bootpd is enabled (macos-13) | ||
| if: matrix.os == 'macos-13' | ||
| if: contains(matrix.runner, 'macos-13') | ||
| shell: bash | ||
| run: | | ||
| set -x | ||
|
|
@@ -369,12 +378,12 @@ jobs: | |
| fi | ||
| kubectl version --client=true | ||
| - name: Install qemu and socket_vmnet (macos) | ||
| if: matrix.os == 'macos-13' && matrix.driver == 'qemu' | ||
| if: contains(matrix.runner, 'macos-13') && matrix.driver == 'qemu' | ||
| run: | | ||
| brew install qemu socket_vmnet | ||
| HOMEBREW=$(which brew) && sudo ${HOMEBREW} services start socket_vmnet | ||
| - name: Install vfkit and vmnet_helper (macos) | ||
| if: matrix.os == 'macos-13' && matrix.driver == 'vfkit' | ||
| if: contains(matrix.runner, 'macos-13') && matrix.driver == 'vfkit' | ||
| run: | | ||
| brew install vfkit | ||
| curl -fsSL https://github.com/minikube-machine/vmnet-helper/releases/latest/download/install.sh | sudo VMNET_INTERACTIVE=0 bash | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
now that we are adding "Runner" to the matrix, maybe we can remove "os" if it is not used anywhere ? or make them use runner.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes we can remove the os