-
Notifications
You must be signed in to change notification settings - Fork 193
67 lines (57 loc) · 1.95 KB
/
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
---
name: End to End
on:
pull_request:
types: [labeled, opened, synchronize, reopened]
permissions: {}
jobs:
images:
name: Images
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
- name: Build the images if necessary
uses: submariner-io/shipyard/gh-actions/[email protected]
# Both E2E jobs have the same name; the default job is un-suffixed, the full jobs are suffixed with their matrix combination
e2e-default:
name: E2E
needs: images
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
- name: Run E2E deployment and tests
uses: submariner-io/shipyard/gh-actions/[email protected]
- name: Post mortem
if: failure()
uses: submariner-io/shipyard/gh-actions/[email protected]
e2e-full:
name: E2E
needs: images
if: contains(github.event.pull_request.labels.*.name, 'ready-to-test')
timeout-minutes: 45
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
cable-driver: ['libreswan', 'wireguard', 'vxlan']
extra-toggles: ['', 'globalnet', 'ovn']
exclude:
- cable-driver: wireguard
extra-toggles: ovn
include:
- extra-toggles: globalnet, ovn
- extra-toggles: external-net
- extra-toggles: external-net, globalnet
steps:
- name: Check out the repository
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
- name: Run E2E deployment and tests
uses: submariner-io/shipyard/gh-actions/[email protected]
with:
using: ${{ matrix.cable-driver }} ${{ matrix.extra-toggles }}
- name: Post mortem
if: failure()
uses: submariner-io/shipyard/gh-actions/[email protected]