-
Notifications
You must be signed in to change notification settings - Fork 124
72 lines (70 loc) · 1.85 KB
/
tcp-sanity-rh9.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
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 -
# This is commented out due to false alarms for now
#- 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 ip -all netns delete
dps=$(sudo docker ps -a -q)
if [[ x$dps != x ]]; then
sudo docker stop $(sudo docker ps -a -q)
sudo docker rm $(sudo docker ps -a -q)
fi
sudo docker image rm ghcr.io/loxilb-io/loxilb:latest