-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #620 from TrekkieCoder/main
cicd: initial support for redhat runner (tcp)
- Loading branch information
Showing
3 changed files
with
76 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
name: TCP-LB-Sanity-CI-RH9 | ||
|
||
on: | ||
schedule: | ||
# Runs "At 14:00 UTC every day-of-week" | ||
- cron: '0 14 * * *' | ||
workflow_dispatch: | ||
inputs: | ||
logLevel: | ||
description: 'Log level' | ||
required: true | ||
default: 'warning' | ||
tags: | ||
description: 'TCP LB Sanity RedHat9' | ||
|
||
jobs: | ||
build: | ||
name: tcp-lb-sanity-rh9 | ||
runs-on: [self-hosted, redhat] | ||
if: github.repository == 'loxilb-io/loxilb' | ||
&& github.event.inputs.tagName == '' | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: recursive | ||
- run: | | ||
cd cicd/tcplb/ | ||
./config.sh | ||
./validation.sh | ||
./rmconfig.sh | ||
cd - | ||
- run: | | ||
cd cicd/tcplbmark/ | ||
./config.sh | ||
./validation.sh | ||
./rmconfig.sh | ||
cd - | ||
- run: | | ||
cd cicd/tcplbdsr1/ | ||
./config.sh | ||
./validation.sh | ||
./rmconfig.sh | ||
cd - | ||
- run: | | ||
cd cicd/tcplbdsr2/ | ||
./config.sh | ||
./validation.sh | ||
./rmconfig.sh | ||
cd - | ||
- run: | | ||
cd cicd/tcplbl3dsr/ | ||
./config.sh | ||
./validation.sh | ||
./rmconfig.sh | ||
cd - | ||
- run: | | ||
cd cicd/tcplbhash/ | ||
./config.sh | ||
./validation.sh | ||
./rmconfig.sh | ||
cd - | ||
- name: Clean test-bed | ||
if: success() || failure() | ||
run: | | ||
sudo docker image rm ghcr.io/loxilb-io/loxilb:latest |
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
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