From 613048967dafece22baccf9b4ee472aefaf2af30 Mon Sep 17 00:00:00 2001 From: nik-netlox <66406124+nik-netlox@users.noreply.github.com> Date: Tue, 31 Oct 2023 16:45:21 +0900 Subject: [PATCH] Create k3s-flannel-incluster-l2.yml --- .../workflows/k3s-flannel-incluster-l2.yml | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/k3s-flannel-incluster-l2.yml diff --git a/.github/workflows/k3s-flannel-incluster-l2.yml b/.github/workflows/k3s-flannel-incluster-l2.yml new file mode 100644 index 000000000..f6b73dc46 --- /dev/null +++ b/.github/workflows/k3s-flannel-incluster-l2.yml @@ -0,0 +1,37 @@ +name: K3s-Flannel-InCluster-L2-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-l2' +jobs: + build: + name: k3s-flannel-incluster-l2-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/k3s-flannel-incluster-l2 + ./config.sh + sleep 90 + ./validation.sh + cd - + + - name: Clean test-bed + if: success() || failure() + run: | + cd cicd/k3s-flannel-incluster-l2 || true + ./rmconfig.sh + cd -