Skip to content

TCPKALI-Longrun-CI

TCPKALI-Longrun-CI #38

name: TCPKALI-Longrun-CI
on:
schedule:
# Runs "At 13:00 UTC every day-of-week"
- cron: '0 13 * * *'
workflow_dispatch:
inputs:
testName:
description: 'Test Run-Name'
required: true
default: 'tcpkali-longrun'
jobs:
test-runner:
name: tcpkali-longrun
runs-on: [self-hosted, sb]
if: github.repository == 'loxilb-io/loxilb'
&& github.event.inputs.tagName == ''
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: recursive
- name: Run the test
run: |
cd cicd/tcpkali
./config.sh
./validation.sh
cd -
- name: Clean test-bed
if: success() || failure()
run: |
cd cicd/tcpkali || true
./rmconfig.sh
docker images -a | grep "loxilb-io/loxilb" | awk '{print $3}' | xargs docker rmi
cd -