Skip to content

Commit f124671

Browse files
committed
fix component name
1 parent b0266fc commit f124671

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

test/crc-qe-fedora.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ spec:
1010
params:
1111
- name: SNAPSHOT
1212
type: string
13-
- name: secret-az-credentials
14-
default: az-crcqe-bot
15-
type: string
1613
tasks:
1714
- name: init
1815
taskSpec:
@@ -31,18 +28,21 @@ spec:
3128
script: |
3229
#!/bin/sh
3330
echo $SNAPSHOT
34-
COMPONENT_CONTAINER_IMAGE=$(jq -r --arg component_name "crc" '.components[] | select(.name == $component_name) | .containerImage' <<< "${SNAPSHOT}")
31+
COMPONENT_CONTAINER_IMAGE=$(jq -r --arg component_name "crc-binary" '.components[] | select(.name == $component_name) | .containerImage' <<< "${SNAPSHOT}")
3532
echo ${COMPONENT_CONTAINER_IMAGE}
3633
echo -n "${COMPONENT_CONTAINER_IMAGE}" | tee $(results.output-image.path)
3734
echo -n $RANDOM$RANDOM | tee $(results.correlation.path)
35+
params:
36+
- name: SNAPSHOT
37+
value: $(params.SNAPSHOT)
3838
- name: provision-fedora
3939
taskRef:
4040
resolver: git
4141
params:
4242
- name: url
4343
value: https://github.com/redhat-developer/mapt
4444
- name: revision
45-
value: v0.9.0
45+
value: v0.9.5
4646
- name: pathInRepo
4747
value: tkn/infra-aws-fedora.yaml
4848
params:
@@ -64,6 +64,8 @@ spec:
6464
value: "41"
6565
- name: tags
6666
value: "pipelinerunName=$(context.pipelineRun.name)"
67+
runAfter:
68+
- init
6769
- name: install-crc
6870
taskRef:
6971
resolver: git
@@ -74,6 +76,8 @@ spec:
7476
value: main
7577
- name: pathInRepo
7678
value: crc-support/tkn/task.yaml
79+
runAfter:
80+
- provision-fedora
7781
params:
7882
- name: os
7983
value: "linux"
@@ -99,7 +103,7 @@ spec:
99103
- name: url
100104
value: https://github.com/redhat-developer/mapt
101105
- name: revision
102-
value: v0.9.0
106+
value: v0.9.5
103107
- name: pathInRepo
104108
value: tkn/infra-aws-fedora.yaml
105109
params:

0 commit comments

Comments
 (0)