Skip to content

Commit

Permalink
Merge pull request #427 from nik-netlox/main
Browse files Browse the repository at this point in the history
Create k3s-flannel-incluster-l2.yml
  • Loading branch information
UltraInstinct14 authored Oct 31, 2023
2 parents 86cc8aa + 6130489 commit 1d59d7d
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/k3s-flannel-incluster-l2.yml
Original file line number Diff line number Diff line change
@@ -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 -

0 comments on commit 1d59d7d

Please sign in to comment.