Skip to content

Commit d0e8dfb

Browse files
authored
Merge pull request #177 from uditgaurav/fix_test_e2e_pipeline
Fix K3s cluster creation in the pipeline by providing version
2 parents b2962a7 + a539b63 commit d0e8dfb

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
env:
101101
KUBECONFIG: /etc/rancher/k3s/k3s.yaml
102102
run: |
103-
curl -sfL https://get.k3s.io | sh -s - --docker --write-kubeconfig-mode 664
103+
curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v1.21.11+k3s1 sh -s - --docker --write-kubeconfig-mode 664
104104
kubectl wait node --all --for condition=ready --timeout=90s
105105
mkdir -p $HOME/.kube
106106
cp /etc/rancher/k3s/k3s.yaml $HOME/.kube/config

.github/workflows/push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
env:
8484
KUBECONFIG: /etc/rancher/k3s/k3s.yaml
8585
run: |
86-
curl -sfL https://get.k3s.io | sh -s - --docker --write-kubeconfig-mode 664
86+
curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v1.21.11+k3s1 sh -s - --docker --write-kubeconfig-mode 664
8787
kubectl wait node --all --for condition=ready --timeout=90s
8888
mkdir -p $HOME/.kube
8989
cp /etc/rancher/k3s/k3s.yaml $HOME/.kube/config

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
env:
9494
KUBECONFIG: /etc/rancher/k3s/k3s.yaml
9595
run: |
96-
curl -sfL https://get.k3s.io | sh -s - --docker --write-kubeconfig-mode 664
96+
curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v1.21.11+k3s1 sh -s - --docker --write-kubeconfig-mode 664
9797
kubectl wait node --all --for condition=ready --timeout=90s
9898
mkdir -p $HOME/.kube
9999
cp /etc/rancher/k3s/k3s.yaml $HOME/.kube/config

0 commit comments

Comments
 (0)