diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-27 21:07:34 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-27 21:07:34 +0300 |
commit | 7dd130e2cae40514f02b02922251b62302f2fdd5 (patch) | |
tree | fd2f91802a2dd2659b72d3767ea9a00786d7900b /scripts | |
parent | 9979d2afd66e12d938ea55372dcf2d8105b5eaca (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/generate-e2e-pipeline | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/generate-e2e-pipeline b/scripts/generate-e2e-pipeline index 2b882094dc2..31a3122050a 100755 --- a/scripts/generate-e2e-pipeline +++ b/scripts/generate-e2e-pipeline @@ -56,7 +56,11 @@ echo "***Saving generated qa pipeline files***" for key in "${!qa_pipelines[@]}"; do echo "Generating $key" - cp ".gitlab/ci/${qa_pipelines[$key]}" "$key" + if [ "${CI_PROJECT_NAMESPACE}" = "gitlab-cn" ]; then + cp "jh/.gitlab/ci/${qa_pipelines[$key]}" "$key" + else + cp ".gitlab/ci/${qa_pipelines[$key]}" "$key" + fi echo >>"$key" # add empty line so it's easier to read if debugging echo "$variables" >>"$key" |