Skip to content

K8s-Calico-Cluster-IPVS3-Sanity-CI #28

K8s-Calico-Cluster-IPVS3-Sanity-CI

K8s-Calico-Cluster-IPVS3-Sanity-CI #28

name: K8s-Calico-Cluster-IPVS3-Sanity-CI
on:
schedule:
# Runs "At 16:00 UTC every day-of-week"
- cron: '0 16 * * *'
workflow_dispatch:
inputs:
testName:
description: 'Test Run-Name'
required: true
default: 'k8s-calico-cluster-ipvs3'
jobs:
test-runner:
name: k8s-calico-cluster-ipvs3-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-ipvs3
./config.sh
./validation.sh
cd -
- name: Clean test-bed
if: success() || failure()
run: |
cd cicd/k8s-calico-ipvs3 || true
./rmconfig.sh
cd -