diff --git a/.github/workflows/e2e-full.yml b/.github/workflows/e2e-full.yml new file mode 100644 index 0000000..e9f74e9 --- /dev/null +++ b/.github/workflows/e2e-full.yml @@ -0,0 +1,37 @@ +--- +name: End to End Full + +on: + pull_request: + types: [labeled, opened, synchronize, reopened] + +jobs: + e2e: + name: E2E + 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'] + globalnet: ['', 'globalnet'] + k8s_version: ['1.17'] + lighthouse: ['', 'lighthouse'] + include: + - k8s_version: '1.18' + - k8s_version: '1.19' + - k8s_version: '1.20' + steps: + - name: Check out the repository + uses: actions/checkout@v2 + + - name: Run E2E deployment and tests + uses: submariner-io/shipyard/gh-actions/e2e@devel + with: + k8s_version: ${{ matrix.k8s_version }} + using: ${{ matrix.cable_driver }} ${{ matrix.globalnet }} ${{ matrix.lighthouse }} + + - name: Post mortem + if: failure() + uses: submariner-io/shipyard/gh-actions/post-mortem@devel diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 6107c87..0d6be3a 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -1,5 +1,5 @@ --- -name: End to End Tests +name: End to End Default on: pull_request: @@ -9,26 +9,12 @@ jobs: name: E2E timeout-minutes: 30 runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - cable_driver: ['libreswan', 'wireguard', 'vxlan'] - globalnet: ['', 'globalnet'] - k8s_version: ['1.17'] - lighthouse: ['', 'lighthouse'] - include: - - k8s_version: '1.18' - - k8s_version: '1.19' - - k8s_version: '1.20' steps: - name: Check out the repository uses: actions/checkout@v2 - name: Run E2E deployment and tests uses: submariner-io/shipyard/gh-actions/e2e@devel - with: - k8s_version: ${{ matrix.k8s_version }} - using: ${{ matrix.cable_driver }} ${{ matrix.globalnet }} ${{ matrix.lighthouse }} - name: Post mortem if: failure()