Excluding rke2 builds for arm as its unsupported (#5)

This commit is contained in:
Venkat Srinivasan
2022-08-17 23:17:04 +05:30
committed by GitHub
parent f4a42622e6
commit e689967fad

View File

@@ -1,3 +1,4 @@
{{ if eq .Values.arch "amd64" }}
requires:
- name: "toolchain-ubuntu"
category: "development"
@@ -7,8 +8,6 @@ env:
- INSTALL_RKE2_VERSION=v{{.Values.version}}+{{.Values.rke2_release}}
- INSTALL_RKE2_TAR_PREFIX={{.Values.rke2_install_dir}}
- DEBIAN_FRONTEND=noninteractive
prelude:
- apt-get update && apt-get install -y curl systemd sudo
steps:
- curl -sfL {{.Values.rke2_http_source}} > installer.sh
@@ -17,3 +16,4 @@ steps:
- rm -rf installer.sh
- systemctl disable rke2-server rke2-agent
- curl -LO https://dl.k8s.io/release/v{{.Values.version}}/bin/linux/{{.Values.arch}}/kubectl && chmod +x kubectl && mv kubectl /usr/bin
{{end}}