Skip to content
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: 11 additions & 2 deletions .github/workflows/action-node-installer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,17 @@ jobs:
start: false
container-runtime: containerd

- uses: balchua/[email protected]
if: matrix.distribution == 'microk8s'
- if: matrix.distribution == 'microk8s'
name: Install MicroK8s
Copy link
Member

Choose a reason for hiding this comment

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

add shell: bash?

run: |
set -x
sudo snap install microk8s --classic --channel=1.32/stable
sudo microk8s status --wait-ready
sudo usermod -a -G microk8s $USER
mkdir -p $HOME/.kube
sudo microk8s kubectl config view --raw > $HOME/.kube/config
sudo chown $(id -u):$(id -g) $HOME/.kube/config
until sudo microk8s status --wait-ready; do sleep 5s; echo "Try again"; done

- name: Run KIND test
if: matrix.distribution == 'kind'
Expand Down
Loading