diff --git a/.github/workflows/k8s-calico-ipvs.yml b/.github/workflows/k8s-calico-ipvs.yml new file mode 100644 index 000000000..85abd82db --- /dev/null +++ b/.github/workflows/k8s-calico-ipvs.yml @@ -0,0 +1,36 @@ +name: K8s-Calico-Cluster-IPVS-Sanity-CI +on: + #schedule: + # Runs "At 13:00 UTC every day-of-week" + #- cron: '0 13 * * *' + workflow_dispatch: + inputs: + testName: + description: 'Test Run-Name' + required: true + default: 'k8s-calico-cluster-ipvs' +jobs: + test-runner: + name: k8s-calico-cluster-ipvs-sanity + runs-on: self-hosted + if: github.repository == 'loxilb-io/loxilb' + && github.event.inputs.tagName == '' + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + submodules: recursive + + - name: Run the test + run: | + cd cicd/k8s-calico-ipvs + ./config.sh + ./validation.sh + cd - + + - name: Clean test-bed + if: success() || failure() + run: | + cd cicd/k8s-calico-ipvs || true + ./rmconfig.sh + cd -