-
Notifications
You must be signed in to change notification settings - Fork 66
77 lines (72 loc) · 2.48 KB
/
weekly_e2e.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
73
74
75
76
77
name: Weekly_E2E
on:
schedule:
- cron: "37 4 * * 0"
pull_request:
paths:
- '**weekly_e2e.yml'
push:
branches:
- main
paths:
- '**weekly_e2e.yml'
permissions:
contents: read
jobs:
vpp_latest:
name: E2E_vpp_latest
runs-on: hugepage-runner
steps:
- name: Harden Runner
uses: step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350 # v2.10.3
with:
egress-policy: audit
- name: Set up Go
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version: 1.22.3
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: vpp_ligato_latest_container
run: source ./ci/ci.sh && vpp_ligato_latest_container
- name: install_go_kubectl_kind
run: source ./ci/ci.sh && install_go_kubectl_kind
- name: create_kind_cluster
run: source ./ci/ci.sh && create_kind_cluster
- name: deploy_multus
run: source ./ci/ci.sh && deploy_multus
- name: deploy_userspacecni
run: source ./ci/ci.sh && deploy_userspace
- name: vpp_e2e_test
run: source ./ci/ci.sh && vpp_e2e_test
kind_multiversion:
name: E2E_kind_multiversion-${{ matrix.kubernetes_version }}
runs-on: hugepage-runner
strategy:
matrix:
kubernetes_version: [v1.28.0,v1.27.0,v1.26.0]
steps:
- name: Harden Runner
uses: step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350 # v2.10.3
with:
egress-policy: audit
- name: Set up Go
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version: 1.22.3
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: install_go_kubectl_kind
run: source ./ci/ci.sh && install_go_kubectl_kind
- name: create_kind_cluster
run: source ./ci/ci.sh && create_kind_cluster -v ${{ matrix.kubernetes_version }}
- name: deploy_multus
run: source ./ci/ci.sh && deploy_multus
- name: deploy_userspacecni
run: source ./ci/ci.sh && deploy_userspace
- name: vpp_e2e_test
run: source ./ci/ci.sh && vpp_e2e_test
- name: build_ovs_container
run: source ./ci/ci.sh && build_ovs_container
- name: build_test-pmd_container
run: source ./ci/ci.sh && build_testpmd_container
- name: ovs_e2e_test
run: source ./ci/ci.sh && ovs_e2e_test