Skip to content

Commit

Permalink
Merge pull request #621 from TrekkieCoder/main
Browse files Browse the repository at this point in the history
cicd: added various scenario for redhat
  • Loading branch information
UltraInstinct14 authored Apr 5, 2024
2 parents 6906e59 + 85c1c84 commit 89ab4a9
Show file tree
Hide file tree
Showing 11 changed files with 424 additions and 1 deletion.
84 changes: 84 additions & 0 deletions .github/workflows/advanced-lb-sanity-rh9.yml
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
40 changes: 40 additions & 0 deletions .github/workflows/basic-sanity-rh9.yml
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
49 changes: 49 additions & 0 deletions .github/workflows/ipsec-sanity-rh9.yml
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
72 changes: 72 additions & 0 deletions .github/workflows/liveness-sanity-rh9.yml
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
48 changes: 48 additions & 0 deletions .github/workflows/nat66-sanity-rh9.yml
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
36 changes: 36 additions & 0 deletions .github/workflows/scale-sanity-rh9.yml
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
54 changes: 54 additions & 0 deletions .github/workflows/sctp-sanity-rh9.yml
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
1 change: 1 addition & 0 deletions .github/workflows/tcp-sanity-rh9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,5 @@ jobs:
- 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
Loading

0 comments on commit 89ab4a9

Please sign in to comment.