-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpush_pr_test_extended_labels.yml
More file actions
49 lines (42 loc) · 1.97 KB
/
push_pr_test_extended_labels.yml
File metadata and controls
49 lines (42 loc) · 1.97 KB
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
name: test-extended-label
on:
pull_request:
types: [ opened, synchronize, labeled ] # Also trigger when adding labels
merge_group:
permissions:
contents: read
# See https://docs.github.com/en/actions/using-jobs/using-concurrency
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
k8s-e2e-tests-extended:
if: contains(github.event.pull_request.labels.*.name, 'k8s-extended-e2e')
uses: ./.github/workflows/component_k8s_e2e.yml
with:
# TODO
# Enable ebpf test back once we manage to run the e2e.
# Context:
# We were using version 0.2.6, which downloaded the linux headers from an s3 bucket in staging.
# This is no longer true and newer versions don't work out of the box.
scenarios: '["apm", "collector", "dynamic", "custom-repo", "fleet-control", "proxy"]'
# Network policies needs calico installed, the others do not
minikube_start_args: '--cni=calico'
caller_workflow: push_pr_test_extended_labels
secrets:
NR_SYSTEM_IDENTITY_CLIENT_ID: ${{ secrets.AC_PROD_E2E_NR_SYSTEM_IDENTITY_CLIENT_ID }}
NR_SYSTEM_IDENTITY_PRIVATE_KEY: ${{ secrets.AC_PROD_E2E_NR_SYSTEM_IDENTITY_PRIVATE_KEY }}
E2E_ACCOUNT_ID: ${{ secrets.AC_PROD_E2E_ACCOUNT_ID }}
E2E_API_KEY: ${{ secrets.AC_PROD_E2E_API_KEY }}
E2E_LICENSE_KEY: ${{ secrets.AC_PROD_E2E_LICENSE_KEY }}
onhost-e2e:
if: contains(github.event.pull_request.labels.*.name, 'onhost-extended-e2e')
uses: ./.github/workflows/component_onhost_e2e.yaml
with:
caller_workflow: push_pr_test_extended_labels
secrets:
NR_SYSTEM_IDENTITY_CLIENT_ID: ${{ secrets.AC_PROD_E2E_NR_SYSTEM_IDENTITY_CLIENT_ID }}
NR_SYSTEM_IDENTITY_PRIVATE_KEY: ${{ secrets.AC_PROD_E2E_NR_SYSTEM_IDENTITY_PRIVATE_KEY }}
E2E_ACCOUNT_ID: ${{ secrets.AC_PROD_E2E_ACCOUNT_ID }}
E2E_API_KEY: ${{ secrets.AC_PROD_E2E_API_KEY }}
E2E_LICENSE_KEY: ${{ secrets.AC_PROD_E2E_LICENSE_KEY }}