-
Notifications
You must be signed in to change notification settings - Fork 123
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 #761 from nik-netlox/main
gh-87 Ubuntu24 CICD workflow files added
- Loading branch information
Showing
18 changed files
with
744 additions
and
104 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
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,89 @@ | ||
name: Adv-LB-Sanity-CI-Ubuntu-24 | ||
|
||
on: | ||
schedule: | ||
# Runs "At 11:00 UTC every day-of-week" | ||
- cron: '0 11 * * *' | ||
workflow_dispatch: | ||
inputs: | ||
logLevel: | ||
description: 'Log level' | ||
required: true | ||
default: 'warning' | ||
tags: | ||
description: 'Advanced LB Sanity ubuntu 24' | ||
workflow_run: | ||
workflows: ["Docker-Multi-Arch"] | ||
types: | ||
- completed | ||
|
||
jobs: | ||
build: | ||
name: advanced-lb-sanity-ubuntu-24 | ||
runs-on: ubuntu-24.04 | ||
if: github.repository == 'loxilb-io/loxilb' | ||
&& github.event.inputs.tagName == '' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
- uses: actions/setup-python@v2 | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: '>=1.18.0' | ||
- run: sudo apt-get update | ||
- run: sudo apt-get -y install linux-tools-$(uname -r) bridge-utils iperf iproute2 nodejs socat ethtool lksctp-tools | ||
- 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 - |
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,51 @@ | ||
name: Sanity-CI-Ubuntu-24 | ||
on: | ||
schedule: | ||
# Runs "At 11:00 UTC every day-of-week" | ||
- cron: '0 11 * * *' | ||
pull_request: | ||
branches: [ "main" ] | ||
workflow_dispatch: | ||
inputs: | ||
testName: | ||
description: 'Test Run-Name' | ||
required: true | ||
default: 'Sanity-BuildCI-u24' | ||
workflow_run: | ||
workflows: ["Docker-Multi-Arch"] | ||
types: | ||
- completed | ||
jobs: | ||
build: | ||
name: basic-sanity-ubuntu-24 | ||
runs-on: ubuntu-24.04 | ||
if: github.repository == 'loxilb-io/loxilb' | ||
&& github.event.inputs.tagName == '' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Login to GitHub Container Registry | ||
uses: docker/login-action@v1 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- uses: actions/setup-python@v2 | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: '>=1.18.0' | ||
- run: | | ||
cd cicd/sconnect/ | ||
./config.sh | ||
./validation.sh | ||
./rmconfig.sh | ||
cd - | ||
- run: | | ||
cd cicd/tcplb/ | ||
./config.sh | ||
./validation.sh | ||
./rmconfig.sh | ||
cd - |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: Cluster-Sanity-CI-Ubuntu-24 | ||
|
||
on: | ||
schedule: | ||
# Runs "At 11:00 UTC every day-of-week" | ||
- cron: '0 11 * * *' | ||
workflow_dispatch: | ||
inputs: | ||
userInput: | ||
description: 'Enter string to print at end' | ||
required: true | ||
default: 'Finished' | ||
tags: | ||
description: 'Cluster Sanity Ubuntu 24' | ||
workflow_run: | ||
workflows: ["Docker-Multi-Arch"] | ||
types: | ||
- completed | ||
|
||
jobs: | ||
build: | ||
name: cluster-sanity-ubuntu-24 | ||
runs-on: ubuntu-22.04 | ||
if: github.repository == 'loxilb-io/loxilb' | ||
&& github.event.inputs.tagName == '' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
- uses: actions/setup-python@v2 | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: '>=1.18.0' | ||
- run: sudo apt-get update | ||
- run: sudo apt-get -y install linux-tools-$(uname -r) bridge-utils unzip iperf iproute2 nodejs socat lksctp-tools | ||
- run: | | ||
cd cicd/cluster1/ | ||
./config.sh | ||
./validation.sh | ||
./rmconfig.sh | ||
cd - | ||
cd cicd/cluster2/ | ||
./config.sh | ||
./validation.sh | ||
./rmconfig.sh | ||
cd - | ||
cd cicd/cluster3/ | ||
./config.sh | ||
./validation.sh | ||
./rmconfig.sh | ||
cd - | ||
- run: echo ${{ github.event.inputs.userInput }} |
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.