Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create k3s-flannel-incluster-l2.yml #427

Merged
merged 1 commit into from
Oct 31, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 -
Loading