-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtask-run-app.yaml
69 lines (69 loc) · 1.97 KB
/
task-run-app.yaml
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
apiVersion: tekton.dev/v1beta1
kind: Task
metadata:
name: krkn-perf-task
spec:
params:
- name: bundleImage
type: string
- name: SNAPSHOT
description: Expected output of the application endpoint
type: string
- name: chaostest
description: Namespace to deploy app to for testing
type: string
- name: eaasSpaceSecretRef
type: string
- name: clusterName
type: string
results:
- name: APP_URL
description: APP URL
- name: test_name
description: Test name
- name: reg_var
description: Regression variable
- name: TEST_OUTPUT
description: Test output
- name: chaos_test_namespace
description: Chaos test namespace
volumes:
- name: credentials
emptyDir: {}
steps:
- name: get-kubeconfig
ref:
resolver: git
params:
- name: url
value: https://github.com/konflux-ci/build-definitions.git
- name: revision
value: main
- name: pathInRepo
value: stepactions/eaas-get-ephemeral-cluster-credentials/0.1/eaas-get-ephemeral-cluster-credentials.yaml
params:
- name: eaasSpaceSecretRef
value: $(params.eaasSpaceSecretRef)
- name: clusterName
value: "$(params.clusterName)"
- name: credentials
value: credentials
- name: operator-sdk-run-bundle
ref:
resolver: git
params:
- name: url
value: https://github.com/krkn-chaos/konflux-chaos.git
- name: revision
value: main
- name: pathInRepo
value: stepactions/step-deploy-app.yaml
params:
- name: SNAPSHOT
value: $(params.SNAPSHOT)
- name: ocmSecretRef
value: ocm
- name: credentials
value: credentials
- name: chaostest
value: $(params.chaostest)