-
Notifications
You must be signed in to change notification settings - Fork 126
51 lines (44 loc) · 1.3 KB
/
e2e-test.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
name: E2E-Test
on:
workflow_call:
inputs:
runtime_tag:
description: "Tag for the runner image"
type: "string"
required: true
# Declare default permissions as read only.
permissions: read-all
env:
GO_VERSION: "~1.23"
defaults:
run:
shell: bash
jobs:
run-e2e-test:
name: Run E2E Tests
runs-on: ubuntu-24.04
strategy:
matrix:
config:
- name: "lifecycle-operator"
folder: "lifecycle-operator/"
steps:
- name: Check out code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup cluster
uses: ./.github/actions/deploy-keptn-on-cluster
with:
runtime_tag: ${{ inputs.runtime_tag }}
- name: Run E2E Tests ${{ matrix.config.name }}
working-directory: ${{ matrix.config.folder }}
run: make e2e-test
- name: Create reports ${{ matrix.config.name }}
if: always()
working-directory: ./.github/scripts
run: ./create-reports-toolkit.sh
- name: Upload ${{ matrix.config.name }} cluster logs
if: always()
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: logs-e2e-tests-${{ matrix.config.name }}
path: .github/scripts/logs