Skip to content
This repository was archived by the owner on Jul 23, 2026. It is now read-only.

Commit e5b894e

Browse files
Merge pull request #1603 from dperaza4dustbit/change_dh_catalog_url_var
Change DEVELOPER_HUB_CATALOG_URL if repo is tssc-dev-multi-ci
2 parents 03badfc + 7ea8346 commit e5b894e

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

hack/private.env.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ACS__CENTRAL_ENDPOINT=foo.bar.com:443
77
#
88
# DH
99
#
10-
# CATALOG_URL="https://github.com/redhat-appstudio/tssc-sample-templates/blob/main/all.yaml"
10+
# CATALOG_URL="https://github.com/redhat-appstudio/tssc-dev-multi-ci/blob/main/samples/all.yaml"
1111

1212
#
1313
# SCM

integration-tests/scripts/.ci-env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#### Templates
2-
# For testing your changes, replace with your fork and branch of tssc-sample-templates
2+
# For testing your changes, replace with your fork and branch of tssc-dev-multi-ci
33
export DEVELOPER_HUB_CATALOG_URL=
44

55
#### Customize App Deployment Namespaces

integration-tests/scripts/.env.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export scm_config="github,gitlab,bitbucket" # github, gitlab, bitbucket
55
export pipeline_config="tekton,jenkins,actions,gitlabci" # tekton, jenkins, actions, gitlabci, azure
66

77
#### Templates
8-
# For testing your changes, replace with your fork and branch of tssc-sample-templates
8+
# For testing your changes, replace with your fork and branch of tssc-dev-multi-ci
99
export DEVELOPER_HUB_CATALOG_URL=
1010

1111
#### Customize App Deployment Namespaces

integration-tests/tasks/tssc-install.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,11 @@ spec:
102102
echo "export pipeline_config=\"$PIPELINE_CONFIG\"" >> ${env_file}
103103
echo "export auth_config=\"$AUTH_CONFIG\"" >> ${env_file}
104104
105-
# Check if GIT_REPO is tssc-sample-templates and update Developer Hub catalog url based on PR changes
106-
if [[ "${GIT_REPO}" = "tssc-sample-templates" ]]; then
105+
# Check if GIT_REPO is tssc-dev-multi-ci and update Developer Hub catalog url based on PR changes
106+
if [[ "${GIT_REPO}" = "tssc-dev-multi-ci" ]]; then
107107
GIT_REVISION="${GIT_REVISION:-$(echo "$JOB_SPEC" | jq -r '.git.commit_sha')}"
108108
GIT_URL="${GIT_URL:-$(echo "$JOB_SPEC" | jq -r '.git.source_repo_url')}"
109-
TEST_DH_CATALOG_URL="$GIT_URL/blob/$GIT_REVISION/all.yaml"
109+
TEST_DH_CATALOG_URL="$GIT_URL/blob/$GIT_REVISION/samples/all.yaml"
110110
# Update DEVELOPER_HUB_CATALOG_URL value in .ci-env
111111
sed -i "s|^export DEVELOPER_HUB_CATALOG_URL.*|export DEVELOPER_HUB_CATALOG_URL=${TEST_DH_CATALOG_URL}|" "${env_file}"
112112
fi

0 commit comments

Comments
 (0)