Build Kubernetes E2E test binary #4
This file contains 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: "Build Kubernetes E2E test binary" | |
on: | |
workflow_dispatch: | |
inputs: | |
KUBERNETES_REPOSITORY: | |
description: Kubernetes repository given as "owner/repo" format | |
default: e2e-win/kubernetes | |
KUBERNETES_BRANCH: | |
description: Kubernetes branch name | |
default: master | |
jobs: | |
build-e2e-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Kubernetes | |
uses: actions/checkout@v4 | |
with: | |
repository: ${{ github.event.inputs.KUBERNETES_REPOSITORY }} | |
ref: ${{ github.event.inputs.KUBERNETES_BRANCH }} | |
- name: Build E2E test binary | |
run: make WHAT="test/e2e/e2e.test" KUBE_BUILD_PLATFORMS="linux/amd64" | |
env: | |
CGO_ENABLED: "0" | |
- name: Upload E2E test binary as artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: e2e.test | |
path: _output/local/bin/linux/amd64/e2e.test |