Skip to content

Commit 1494fae

Browse files
Merge pull request #1557 from xinredhat/update_its_pipeline_reference
Update ITS pipelines/tasks reference
2 parents 11bd6ce + 93c3723 commit 1494fae

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

integration-tests/pipelines/e2e-main-pipeline.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ spec:
5050
- name: url
5151
value: https://github.com/redhat-appstudio/tssc-cli.git
5252
- name: revision
53-
value: main
53+
value: release-1.8
5454
- name: pathInRepo
5555
value: integration-tests/tasks/get-rhads-config.yaml
5656
params:
@@ -66,7 +66,7 @@ spec:
6666
- name: url
6767
value: https://github.com/redhat-appstudio/tssc-cli.git
6868
- name: revision
69-
value: main
69+
value: release-1.8
7070
- name: pathInRepo
7171
value: integration-tests/tasks/start-pipelines.yaml
7272
params:

integration-tests/pipelines/tssc-cli-e2e.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ spec:
9393
- name: url
9494
value: https://github.com/redhat-appstudio/tssc-cli.git
9595
- name: revision
96-
value: main
96+
value: release-1.8
9797
- name: pathInRepo
9898
value: integration-tests/tasks/tssc-install.yaml
9999
params:

integration-tests/tasks/tssc-install.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,9 @@ spec:
6565
git clone "${GIT_URL}" .
6666
git checkout "${GIT_REVISION}"
6767
else
68-
echo -e "INFO: Cloning repository 'redhat-appstudio/tssc-cli' with revision 'main'"
69-
git clone https://github.com/redhat-appstudio/tssc-cli.git .
68+
target_repo_branch="$(echo "$JOB_SPEC" | jq -r '.git.target_repo_branch')"
69+
echo -e "INFO: Cloning repository 'redhat-appstudio/tssc-cli' with revision '$target_repo_branch'"
70+
git clone -b "$target_repo_branch" https://github.com/redhat-appstudio/tssc-cli.git .
7071
fi
7172
7273
# Generate the .env file for tssc installation based on the configuration given in the rhads-config

0 commit comments

Comments
 (0)