diff --git a/container_workflow_tool/cli_common.py b/container_workflow_tool/cli_common.py index 1652e6a..b5f21fa 100644 --- a/container_workflow_tool/cli_common.py +++ b/container_workflow_tool/cli_common.py @@ -59,10 +59,6 @@ def get_parser(self): parsers['git'].add_argument('--rebuild-reason', help='Use a custom reason for rebuilding') parsers['git'].add_argument('--commit-msg', help='Use a custom message instead of the default one') parsers['git'].add_argument('--check-script', help='Script/command to be run when checking repositories') - parsers['git'].add_argument( - '--gitlab', action='store_true', default=False, - help='File a merge request to corresponding repository instead of directly to dist-git' - ) parsers['build'].add_argument( '--repo-url', help='Set the url of a .repo file to be used when building the image' ) @@ -110,7 +106,6 @@ def git_usage(self): --commit-msg - Use a custom message instead of the default one --rebuild-reason - Use a custom reason for rebuilding --check-script - Script/command to be run when checking repositories - --gitlab - Use GitLab for filling merge requests instead of direct pushing to dist-git """ return action_help diff --git a/container_workflow_tool/main.py b/container_workflow_tool/main.py index 987e7e7..d691929 100755 --- a/container_workflow_tool/main.py +++ b/container_workflow_tool/main.py @@ -117,8 +117,6 @@ def _setup_args(self, args): self.set_commit_msg(args.commit_msg) if getattr(args, 'rebuild_reason', None) is not None and args.rebuild_reason: self.rebuild_reason = args.rebuild_reason - if args.command == "git": - self.gitlab_usage = args.gitlab if getattr(args, 'check_script', None) is not None and args.check_script: self.check_script = args.check_script self.disable_klist = args.disable_klist