mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-11 02:52:56 +01:00
Add dynamic Helm 3.10 CI image for GitLab chart
This commit is contained in:
parent
0420021dad
commit
b70bdd0493
10 changed files with 118 additions and 45 deletions
13
scripts/install-vcluster
Executable file
13
scripts/install-vcluster
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -xeou pipefail
|
||||
|
||||
VCLUSTER_VERSION=${1}
|
||||
VCLUSTER_DOWNLOAD_SHA256=${2}
|
||||
TARGETARCH=${TARGETARCH:-amd64}
|
||||
VCLUSTER_DOWNLOAD_URL=https://github.com/loft-sh/vcluster/releases/download/v${VCLUSTER_VERSION}/vcluster-linux-${TARGETARCH}
|
||||
|
||||
/scripts/download-file vcluster "$VCLUSTER_DOWNLOAD_URL" "$VCLUSTER_DOWNLOAD_SHA256"
|
||||
|
||||
chmod +x vcluster
|
||||
mv vcluster /usr/local/bin/vcluster
|
||||
Loading…
Add table
Add a link
Reference in a new issue