提交 53fc9456 编写于 作者: S Shoaib Lari

gen_pipeline: Remove gpdb_ prefix from ?X_STABLE pipeline names

The gen_pipeline utiltiy generates pipelines with the gpdb_ prefix
including for the master pipeline. However, for 6X_STABLE, 5X_STABLE
etc., we want the pipelines to be named with the production branch
name only. This commit addresses this issue.
Authored-by: NShoaib Lari <slari@pivotal.io>
(cherry picked from commit f2dd588a)
上级 6fe75453
......@@ -249,9 +249,10 @@ def print_fly_commands(args):
print header(args)
if args.pipeline_target == 'prod':
print 'NOTE: You can set the production pipelines with the following:\n'
print gen_pipeline(args, "gpdb_%s" % BASE_BRANCH, ["gpdb_%s-ci-secrets.prod.yml" % BASE_BRANCH],
pipeline_name = "gpdb_%s" % BASE_BRANCH if BASE_BRANCH == "master" else BASE_BRANCH
print gen_pipeline(args, pipeline_name, ["gpdb_%s-ci-secrets.prod.yml" % BASE_BRANCH],
"https://github.com/greenplum-db/gpdb.git", BASE_BRANCH)
print gen_pipeline(args, "gpdb_%s_without_asserts" % BASE_BRANCH, ["gpdb_%s_without_asserts-ci-secrets.prod.yml" % BASE_BRANCH],
print gen_pipeline(args, "%s_without_asserts" % pipeline_name, ["gpdb_%s_without_asserts-ci-secrets.prod.yml" % BASE_BRANCH],
"https://github.com/greenplum-db/gpdb.git", BASE_BRANCH)
return
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册