Skip to content

Release v1.5.1-12

Release v1.5.1-12 #279

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
paths:
- 'docker-compose/b2b/**'
- '!docker-compose/b2b/**.md'
- '!docker-compose/b2b/**.png'
- 'docker-compose/b2b-3pair/**'
- '!docker-compose/b2b-3pair/**.md'
- '!docker-compose/b2b-3pair/**.png'
- 'docker-compose/cpdp-b2b/**'
- '!docker-compose/cpdp-b2b/**.md'
- '!docker-compose/cpdp-b2b/**.png'
- 'docker-compose/cpdp-frr/**'
- '!docker-compose/cpdp-frr/**.md'
- '!docker-compose/cpdp-frr/**.png'
- 'clab/ixia-c-b2b/**'
- '!clab/ixia-c-b2b/**.md'
- '!clab/ixia-c-b2b/**.png'
- 'clab/ixia-c-b2b-lag/**'
- '!clab/ixia-c-b2b-lag/**.md'
- '!clab/ixia-c-b2b-lag/**.png'
- 'clab/ixia-c-te-frr/**'
- '!clab/ixia-c-te-frr/**.md'
- '!clab/ixia-c-te-frr/**.png'
- 'clab/rtbh/**'
- '!clab/rtbh/**.md'
- '!clab/rtbh/**.png'
- 'hybrid/fp-b2b/**'
- '!hybrid/fp-b2b/**.md'
- '!hybrid/fp-b2b/**.png'
pull_request:
branches: [ "main" ]
paths:
- 'docker-compose/b2b/**'
- '!docker-compose/b2b/**.md'
- '!docker-compose/b2b/**.png'
- 'docker-compose/b2b-3pair/**'
- '!docker-compose/b2b-3pair/**.md'
- '!docker-compose/b2b-3pair/**.png'
- 'docker-compose/cpdp-b2b/**'
- '!docker-compose/cpdp-b2b/**.md'
- '!docker-compose/cpdp-b2b/**.png'
- 'docker-compose/cpdp-frr/**'
- '!docker-compose/cpdp-frr/**.md'
- '!docker-compose/cpdp-frr/**.png'
- 'clab/ixia-c-b2b/**'
- '!clab/ixia-c-b2b/**.md'
- '!clab/ixia-c-b2b/**.png'
- 'clab/ixia-c-b2b-lag/**'
- '!clab/ixia-c-b2b-lag/**.md'
- '!clab/ixia-c-b2b-lag/**.png'
- 'clab/ixia-c-te-frr/**'
- '!clab/ixia-c-te-frr/**.md'
- '!clab/ixia-c-te-frr/**.png'
- 'clab/rtbh/**'
- '!clab/rtbh/**.md'
- '!clab/rtbh/**.png'
- 'hybrid/fp-b2b/**'
- '!hybrid/fp-b2b/**.md'
- '!hybrid/fp-b2b/**.png'
workflow_dispatch:
jobs:
paths-filter:
name: Filter changes to subfolders
runs-on: ubuntu-20.04
outputs:
docker-compose-b2b: ${{ steps.changes.outputs.docker-compose-b2b }}
docker-compose-b2b-3pair: ${{ steps.changes.outputs.docker-compose-b2b-3pair }}
docker-compose-cpdp-b2b: ${{ steps.changes.outputs.docker-compose-cpdp-b2b }}
docker-compose-cpdp-frr: ${{ steps.changes.outputs.docker-compose-cpdp-frr }}
clab-cpdp-frr: ${{ steps.changes.outputs.clab-cpdp-frr }}
clab-ixia-c-b2b: ${{ steps.changes.outputs.clab-ixia-c-b2b }}
clab-ixia-c-b2b-lag: ${{ steps.changes.outputs.clab-ixia-c-b2b-lag }}
clab-ixia-c-te-frr: ${{ steps.changes.outputs.clab-ixia-c-te-frr }}
clab-rtbh: ${{ steps.changes.outputs.clab-rtbh }}
hybrid-fp-b2b: ${{ steps.changes.outputs.hybrid-fp-b2b }}
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- uses: dorny/paths-filter@v2
id: changes
with:
filters: |
docker-compose-b2b:
- 'docker-compose/b2b/**'
docker-compose-b2b-3pair:
- 'docker-compose/b2b-3pair/**'
docker-compose-cpdp-b2b:
- 'docker-compose/cpdp-b2b/**'
docker-compose-cpdp-frr:
- 'docker-compose/cpdp-frr/**'
clab-cpdp-frr:
- 'docker-compose/cpdp-frr/**'
clab-ixia-c-b2b:
- 'clab/ixia-c-b2b/**'
clab-ixia-c-b2b-lag:
- 'clab/ixia-c-b2b-lag/**'
clab-ixia-c-te-frr:
- 'clab/ixia-c-te-frr/**'
clab-rtbh:
- 'clab/rtbh/**'
hybrid-fp-b2b:
- 'hybrid/fp-b2b/**'
- name: docker-compose b2b
if: steps.changes.outputs.docker-compose-b2b == 'true'
run: echo "Run docker-compose b2b CI"
- name: docker-compose b2b-3pair
if: steps.changes.outputs.docker-compose-b2b-3pair == 'true'
run: echo "Run docker-compose b2b-3pair CI"
- name: docker-compose cpdp-b2b
if: steps.changes.outputs.docker-compose-cpdp-b2b == 'true'
run: echo "Run docker-compose cpdp-b2b CI"
- name: docker-compose cpdp-frr
if: steps.changes.outputs.docker-compose-cpdp-frr == 'true'
run: echo "Run docker-compose cpdp-frr CI"
- name: clab cpdp-frr
if: steps.changes.outputs.clab-cpdp-frr == 'true'
run: echo "Run clab cpdp-frr CI"
- name: clab ixia-c-b2b
if: steps.changes.outputs.clab-ixia-c-b2b == 'true'
run: echo "Run Clab ixia-c-b2b CI"
- name: clab ixia-c-b2b-lag
if: steps.changes.outputs.clab-ixia-c-b2b-lag == 'true'
run: echo "Run Clab ixia-c-b2b-lag CI"
- name: clab ixia-c-te-frr
if: steps.changes.outputs.clab-ixia-c-te-frr == 'true'
run: echo "Run Clab ixia-c-te-frr CI"
- name: clab rtbh
if: steps.changes.outputs.clab-rtbh == 'true'
run: echo "Run Clab RTBH CI"
- name: hybrid fp-b2b
if: steps.changes.outputs.hybrid-fp-b2b == 'true'
run: echo "Run hybrid fp-b2b CI"
docker-compose-b2b:
name: Run docker-compose b2b CI
runs-on: ubuntu-20.04
needs: paths-filter
defaults:
run:
working-directory: ./docker-compose/b2b
if: needs.paths-filter.outputs.docker-compose-b2b == 'true'
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- name: Run all
run: make all
docker-compose-b2b-3pair:
name: Run docker-compose b2b-3pair CI
runs-on: ubuntu-20.04
needs: paths-filter
defaults:
run:
working-directory: ./docker-compose/b2b-3pair
if: needs.paths-filter.outputs.docker-compose-b2b-3pair == 'true'
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- name: Run all
run: make all
docker-compose-cpdp-b2b:
name: Run docker-compose cpdp-b2b CI
runs-on: ubuntu-20.04
needs: paths-filter
defaults:
run:
working-directory: ./docker-compose/cpdp-b2b
if: needs.paths-filter.outputs.docker-compose-cpdp-b2b == 'true'
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- name: Run all
run: make all
docker-compose-cpdp-frr:
name: Run docker-compose cpdp-frr CI
runs-on: ubuntu-20.04
needs: paths-filter
defaults:
run:
working-directory: ./docker-compose/cpdp-frr
if: needs.paths-filter.outputs.docker-compose-cpdp-frr == 'true'
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- name: Run all
run: make all
clab-cpdp-frr:
name: Run containerlab cpdp-frr CI
runs-on: ubuntu-20.04
needs: paths-filter
defaults:
run:
working-directory: ./clab/cpdp-frr
if: needs.paths-filter.outputs.clab-cpdp-frr == 'true'
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- name: Run all-clab
run: make all-clab
clab-ixia-c-b2b:
name: Run Clab ixia-c-b2b CI
runs-on: ubuntu-20.04
needs: paths-filter
defaults:
run:
working-directory: ./clab/ixia-c-b2b
if: needs.paths-filter.outputs.clab-ixia-c-b2b == 'true'
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- name: Run all
run: make all
clab-ixia-c-b2b-lag:
name: Run Clab ixia-c-b2b-lag CI
runs-on: ubuntu-20.04
needs: paths-filter
defaults:
run:
working-directory: ./clab/ixia-c-b2b-lag
if: needs.paths-filter.outputs.clab-ixia-c-b2b-lag == 'true'
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- name: Run all
run: make all
clab-ixia-c-te-frr:
name: Run Clab ixia-c-te-frr CI
runs-on: ubuntu-20.04
needs: paths-filter
defaults:
run:
working-directory: ./clab/ixia-c-te-frr
if: needs.paths-filter.outputs.clab-ixia-c-te-frr == 'true'
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- name: Run all
run: make all
clab-rtbh:
name: Run Clab RTBH CI
runs-on: ubuntu-20.04
needs: paths-filter
defaults:
run:
working-directory: ./clab/rtbh
if: needs.paths-filter.outputs.clab-rtbh == 'true'
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.19
cache-dependency-path: |
clab/rtbh/go.sum
- name: Run all
run: make all
hybrid-fp-b2b:
name: Run hybrid fp-b2b CI
runs-on: ubuntu-20.04
needs: paths-filter
defaults:
run:
working-directory: ./hybrid/fp-b2b
if: needs.paths-filter.outputs.hybrid-fp-b2b == 'true'
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- name: Create GO cache
run: make create-go-cache
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.19
cache-dependency-path: |
hybrid/fp-b2b/featureprofiles/go.sum
- name: Run all
run: make all