Skip to content
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

Build Kubernetes on ARM64 GitHub runners #11

Merged
merged 1 commit into from
Jun 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions .github/workflows/build-kind.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: 1.22.x
- name: Setup Kind
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isn't this action to build a kind image? I don't understand why do we now setup a cluster?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To have the kind binary on the runner.

uses: helm/[email protected]
with:
version: v0.23.0
- name: Checkout
uses: actions/checkout@v4
with:
Expand All @@ -53,9 +57,8 @@ jobs:
docker tag kindest/node:latest ghcr.io/fluxcd/kindest/node:${{ steps.prep.outputs.VERSION }}-amd64
docker push ghcr.io/fluxcd/kindest/node:${{ steps.prep.outputs.VERSION }}-amd64
k8s-node-arm64:
# Hosted on Equinix
# Docs: https://github.com/fluxcd/flux2/tree/main/.github/runners
runs-on: [self-hosted, Linux, ARM64, equinix]
runs-on:
group: "ARM64"
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -72,6 +75,10 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: 1.22.x
- name: Setup Kind
uses: helm/[email protected]
with:
version: v0.23.0
- name: Checkout
uses: actions/checkout@v4
with:
Expand Down
Loading