K3s-Flannel-InCluster-Sanity-CI #362
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: K3s-Flannel-InCluster-Sanity-CI | |
on: | |
schedule: | |
# Runs "At 17:00 UTC every day-of-week" | |
- cron: '0 17 * * *' | |
workflow_dispatch: | |
inputs: | |
testName: | |
description: 'Test Run-Name' | |
required: true | |
default: 'k3s-flannel-incluster' | |
jobs: | |
build: | |
name: k3s-flannel-incluster-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/k3s-flannel-incluster | |
./config.sh | |
sleep 90 | |
./validation.sh | |
cd - | |
- name: Clean test-bed | |
if: success() || failure() | |
run: | | |
cd cicd/k3s-flannel-incluster || true | |
./rmconfig.sh | |
cd - |