add option in requirements.txt to differentiate environments to stage otcdocstheme releases
Some checks failed
gl/check check status: failure (b60b9a217f8032b222f6c3329a6b446539154da1)
Some checks failed
gl/check check status: failure (b60b9a217f8032b222f6c3329a6b446539154da1)
This commit is contained in:
@ -236,6 +236,8 @@ def process_repositories(args, service):
|
||||
if doc["type"] == "dev":
|
||||
doc["type"] = "dev-guide"
|
||||
context["docs"].append(doc)
|
||||
|
||||
context["target_environment"] = args.target_environment
|
||||
|
||||
tox_ini_content = tox_ini_template.render(**context)
|
||||
tox_ini_path = pathlib.Path(copy_to, "tox.ini")
|
||||
@ -313,6 +315,7 @@ def main():
|
||||
parser.add_argument(
|
||||
"--target-environment",
|
||||
required=True,
|
||||
choices=["internal", "public"],
|
||||
help="Environment to be used as a source",
|
||||
)
|
||||
parser.add_argument("--service-type", help="Service to update")
|
||||
|
Reference in New Issue
Block a user