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

cicd: added various scenario for redhat #621

Merged
merged 2 commits into from
Apr 5, 2024
Merged
Show file tree
Hide file tree
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
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
Loading