Skip to content

Commit

Permalink
GitLab option will be a part of downstream project
Browse files Browse the repository at this point in the history
Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
  • Loading branch information
phracek committed Jun 26, 2023
1 parent 2620fd2 commit 36527b3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
5 changes: 0 additions & 5 deletions container_workflow_tool/cli_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
)
Expand Down Expand Up @@ -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

Expand Down
2 changes: 0 additions & 2 deletions container_workflow_tool/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 36527b3

Please sign in to comment.