diff --git a/.github/workflows/k0s-weave.yml b/.github/workflows/k0s-weave.yml index 04e1e83d9..3a14b3a4a 100644 --- a/.github/workflows/k0s-weave.yml +++ b/.github/workflows/k0s-weave.yml @@ -13,7 +13,7 @@ jobs: test-runner: name: k0s-weave-sanity runs-on: self-hosted - if: github.repository == 'TrekkieCoder/loxilb' + if: github.repository == 'loxilb-io/loxilb' && github.event.inputs.tagName == '' steps: - name: Checkout @@ -28,17 +28,9 @@ jobs: run: | echo "KUBECONFIG=/var/lib/k0s/pki/admin.conf" >> $GITHUB_ENV - name: Setup lo - run: sudo ip addr add 192.169.20.59/32 dev lo + run: sudo ip addr add 192.169.20.59/32 dev lo || true - name: Setup Packages - run: sudo apt-get -y install lksctp-tools - - name: Check container plugins - run: | - sudo mkdir -p /opt/cni/bin/ - git clone https://github.com/containernetworking/plugins.git - cd plugins - ./build_linux.sh - sudo cp -f bin/* /opt/cni/bin/ - cd - + run: sudo apt-get -y install lksctp-tools || true - name: Install k0s run: sudo curl -sSLf https://get.k0s.sh | sudo sh - name: Enable k0s worker @@ -68,3 +60,4 @@ jobs: cd cicd/k0s-weave/ || true ./rmconfig.sh cd - + sudo ip addr del 192.169.20.59/32 dev lo || true