Skip to content

K8s-Calico-Cluster-IPVS-Sanity-CI #320

K8s-Calico-Cluster-IPVS-Sanity-CI

K8s-Calico-Cluster-IPVS-Sanity-CI #320

name: K8s-Calico-Cluster-IPVS-Sanity-CI
on:
schedule:
# Runs "At 14:00 UTC every day-of-week"
- cron: '0 14 * * *'
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, large]
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 -