mirror of
https://github.com/kairos-io/packages.git
synced 2025-09-25 10:41:11 +00:00
Excluding rke2 builds for arm as its unsupported (#5)
This commit is contained in:
committed by
GitHub
parent
f4a42622e6
commit
e689967fad
@@ -1,3 +1,4 @@
|
|||||||
|
{{ if eq .Values.arch "amd64" }}
|
||||||
requires:
|
requires:
|
||||||
- name: "toolchain-ubuntu"
|
- name: "toolchain-ubuntu"
|
||||||
category: "development"
|
category: "development"
|
||||||
@@ -7,8 +8,6 @@ env:
|
|||||||
- INSTALL_RKE2_VERSION=v{{.Values.version}}+{{.Values.rke2_release}}
|
- INSTALL_RKE2_VERSION=v{{.Values.version}}+{{.Values.rke2_release}}
|
||||||
- INSTALL_RKE2_TAR_PREFIX={{.Values.rke2_install_dir}}
|
- INSTALL_RKE2_TAR_PREFIX={{.Values.rke2_install_dir}}
|
||||||
- DEBIAN_FRONTEND=noninteractive
|
- DEBIAN_FRONTEND=noninteractive
|
||||||
prelude:
|
|
||||||
- apt-get update && apt-get install -y curl systemd sudo
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- curl -sfL {{.Values.rke2_http_source}} > installer.sh
|
- curl -sfL {{.Values.rke2_http_source}} > installer.sh
|
||||||
@@ -17,3 +16,4 @@ steps:
|
|||||||
- rm -rf installer.sh
|
- rm -rf installer.sh
|
||||||
- systemctl disable rke2-server rke2-agent
|
- 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
|
- curl -LO https://dl.k8s.io/release/v{{.Values.version}}/bin/linux/{{.Values.arch}}/kubectl && chmod +x kubectl && mv kubectl /usr/bin
|
||||||
|
{{end}}
|
||||||
|
Reference in New Issue
Block a user