-
Notifications
You must be signed in to change notification settings - Fork 125
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 #621 from TrekkieCoder/main
cicd: added various scenario for redhat
- Loading branch information
Showing
11 changed files
with
424 additions
and
1 deletion.
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,84 @@ | ||
name: Adv-LB-Sanity-CI-RH9 | ||
|
||
on: | ||
schedule: | ||
# Runs "At 15:00 UTC every day-of-week" | ||
- cron: '0 15 * * *' | ||
workflow_dispatch: | ||
inputs: | ||
logLevel: | ||
description: 'Log level' | ||
required: true | ||
default: 'warning' | ||
tags: | ||
description: 'Advanced LB Sanity RedHat9' | ||
|
||
jobs: | ||
build: | ||
name: advanced-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/k8slbsim/ | ||
./config.sh | ||
./validation.sh | ||
./rmconfig.sh | ||
cd - | ||
- run: | | ||
cd cicd/onearml2/ | ||
./config.sh | ||
./validation.sh | ||
./rmconfig.sh | ||
cd - | ||
- run: | | ||
cd cicd/ulcltcplb/ | ||
./config.sh | ||
./validation.sh | ||
./rmconfig.sh | ||
cd - | ||
- run: | | ||
cd cicd/ulclsctplb/ | ||
./config.sh | ||
./validation.sh | ||
./rmconfig.sh | ||
cd - | ||
- run: | | ||
cd cicd/tcptunlb/ | ||
./config.sh | ||
./validation.sh | ||
./rmconfig.sh | ||
cd - | ||
- run: | | ||
cd cicd/sctptunlb/ | ||
./config.sh | ||
./validation.sh | ||
./rmconfig.sh | ||
cd - | ||
- run: | | ||
cd cicd/wrrtcplb1/ | ||
./config.sh | ||
./validation.sh | ||
./rmconfig.sh | ||
cd - | ||
- run: | | ||
cd cicd/wrrtcplb2/ | ||
./config.sh | ||
./validation.sh | ||
./rmconfig.sh | ||
cd - | ||
- run: | | ||
cd cicd/nat64tcp/ | ||
./config.sh | ||
./validation.sh | ||
./rmconfig.sh | ||
cd - | ||
- name: Clean test-bed | ||
if: success() || failure() | ||
run: | | ||
sudo docker stop $(sudo docker ps -a -q) | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Sanity-CI-RH9 | ||
on: | ||
schedule: | ||
# Runs "At 16:00 UTC every day-of-week" | ||
- cron: '0 16 * * *' | ||
workflow_dispatch: | ||
inputs: | ||
logLevel: | ||
description: 'Log level' | ||
required: true | ||
default: 'warning' | ||
tags: | ||
description: 'Sanity RedHat9' | ||
jobs: | ||
build: | ||
name: basic-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/sconnect/ | ||
./config.sh | ||
./validation.sh | ||
./rmconfig.sh | ||
cd - | ||
- run: | | ||
cd cicd/tcplb/ | ||
./config.sh | ||
./validation.sh | ||
./rmconfig.sh | ||
cd - | ||
- name: Clean test-bed | ||
if: success() || failure() | ||
run: | | ||
sudo docker stop $(sudo docker ps -a -q) | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: IPsec-Sanity-CI-RH9 | ||
|
||
on: | ||
schedule: | ||
# Runs "At 19:00 UTC every day-of-week" | ||
- cron: '0 19 * * *' | ||
workflow_dispatch: | ||
inputs: | ||
logLevel: | ||
description: 'Log level' | ||
required: true | ||
default: 'warning' | ||
tags: | ||
description: 'IPSEC LB Sanity RedHat9' | ||
|
||
jobs: | ||
build: | ||
name: ipsec-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/ipsec1/ | ||
./config.sh | ||
./validation.sh | ||
./rmconfig.sh | ||
cd - | ||
- run: | | ||
cd cicd/ipsec2/ | ||
./config.sh | ||
./validation.sh | ||
./rmconfig.sh | ||
cd - | ||
- run: | | ||
cd cicd/ipsec3/ | ||
./config.sh | ||
./validation.sh | ||
./rmconfig.sh | ||
cd - | ||
- run: echo ${{ github.event.inputs.userInput }} | ||
- name: Clean test-bed | ||
if: success() || failure() | ||
run: | | ||
sudo docker stop $(sudo docker ps -a -q) | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
name: Liveness-LB-Sanity-CI-RH9 | ||
|
||
on: | ||
schedule: | ||
# Runs "At 20:00 UTC every day-of-week" | ||
- cron: '0 20 * * *' | ||
workflow_dispatch: | ||
inputs: | ||
logLevel: | ||
description: 'Log level' | ||
required: true | ||
default: 'warning' | ||
tags: | ||
description: 'Liveness LB Sanity Ubuntu 22' | ||
|
||
jobs: | ||
build: | ||
name: liveness-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/tcplbmon/ | ||
./config.sh | ||
./validation.sh | ||
./rmconfig.sh | ||
cd - | ||
- run: | | ||
cd cicd/udplbmon/ | ||
./config.sh | ||
./validation.sh | ||
./rmconfig.sh | ||
cd - | ||
- run: | | ||
cd cicd/sctplbmon/ | ||
./config.sh | ||
./validation.sh | ||
./rmconfig.sh | ||
cd - | ||
- run: | | ||
cd cicd/tcplbmon6/ | ||
./config.sh | ||
./validation.sh | ||
./rmconfig.sh | ||
cd - | ||
- run: | | ||
cd cicd/tcplbepmod/ | ||
./config.sh | ||
./validation.sh | ||
./rmconfig.sh | ||
cd - | ||
- run: | | ||
cd cicd/httpsep/ | ||
./config.sh | ||
./validation.sh | ||
./rmconfig.sh | ||
cd - | ||
- run: | | ||
cd cicd/http2ep/ | ||
./config.sh | ||
./validation.sh | ||
./rmconfig.sh | ||
cd - | ||
- name: Clean test-bed | ||
if: success() || failure() | ||
run: | | ||
sudo docker stop $(sudo docker ps -a -q) | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: NAT66-LB-Sanity-CI-RH9 | ||
|
||
on: | ||
schedule: | ||
# Runs "At 21:00 UTC every day-of-week" | ||
- cron: '0 21 * * *' | ||
workflow_dispatch: | ||
inputs: | ||
logLevel: | ||
description: 'Log level' | ||
required: true | ||
default: 'warning' | ||
tags: | ||
description: 'NAT66 LB Sanity RH9' | ||
|
||
jobs: | ||
build: | ||
name: nat66-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/nat66tcp/ | ||
./config.sh | ||
./validation.sh | ||
./rmconfig.sh | ||
cd - | ||
- run: | | ||
cd cicd/nat66udp/ | ||
./config.sh | ||
./validation.sh | ||
./rmconfig.sh | ||
cd - | ||
- run: | | ||
cd cicd/nat66sctp/ | ||
#./config.sh | ||
#./validation.sh | ||
#./rmconfig.sh | ||
cd - | ||
- name: Clean test-bed | ||
if: success() || failure() | ||
run: | | ||
sudo docker stop $(sudo docker ps -a -q) | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Scale-Sanity-CI-RH9 | ||
|
||
on: | ||
schedule: | ||
# Runs "At 22:00 UTC every day-of-week" | ||
- cron: '0 22 * * *' | ||
workflow_dispatch: | ||
inputs: | ||
logLevel: | ||
description: 'Log level' | ||
required: true | ||
default: 'warning' | ||
tags: | ||
description: 'Scale Sanity RH9' | ||
|
||
jobs: | ||
build: | ||
name: scale-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/tcpepscale/ | ||
./config.sh | ||
./validation.sh | ||
./rmconfig.sh | ||
cd - | ||
- name: Clean test-bed | ||
if: success() || failure() | ||
run: | | ||
sudo docker stop $(sudo docker ps -a -q) | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: SCTP-LB-Sanity-CI-RH9 | ||
|
||
on: | ||
schedule: | ||
# Runs "At 23:00 UTC every day-of-week" | ||
- cron: '0 23 * * *' | ||
workflow_dispatch: | ||
inputs: | ||
logLevel: | ||
description: 'Log level' | ||
required: true | ||
default: 'warning' | ||
tags: | ||
description: 'SCTP LB Sanity RedHat9' | ||
|
||
jobs: | ||
build: | ||
name: sctp-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/sctplb/ | ||
./config.sh | ||
./validation.sh | ||
./rmconfig.sh | ||
cd - | ||
- run: | | ||
cd cicd/sctponearm/ | ||
./config.sh | ||
./validation.sh | ||
./rmconfig.sh | ||
cd - | ||
- run: | | ||
cd cicd/sctplbdsr/ | ||
./config.sh | ||
./validation.sh | ||
./rmconfig.sh | ||
cd - | ||
- run: | | ||
cd cicd/sctplblc/ | ||
./config.sh | ||
./validation.sh | ||
./rmconfig.sh | ||
cd - | ||
- name: Clean test-bed | ||
if: success() || failure() | ||
run: | | ||
sudo docker stop $(sudo docker ps -a -q) | ||
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
Oops, something went wrong.