diff --git a/ogscm/cli.py b/ogscm/cli.py index 96ff23a5af70f365a5be9c9d54765e2ad4f6b5cb..acc25010ad5b8f02752ca763d178db47041bd5d2 100644 --- a/ogscm/cli.py +++ b/ogscm/cli.py @@ -255,7 +255,7 @@ def main(): # pragma: no cover src='/usr/local/bin/mpi_*', dest='/usr/local/bin/') - if ogs_version != 'off' or args.jenkins: + if ogs_version != 'off' or args.jenkins or args.gitlab: Stage0 += ogs_base() if args.gui: Stage0 += packages(ospackages=[ diff --git a/ogscm/cli_args.py b/ogscm/cli_args.py index 54e99fb4f07c5b34ba54b0e4ee4de72fc0e02160..129debcd5376dea135e8183ada725862fe8736b7 100644 --- a/ogscm/cli_args.py +++ b/ogscm/cli_args.py @@ -149,6 +149,10 @@ class Cli_Args(argparse.ArgumentParser): dest='jenkins', action='store_true', help='Setup Jenkins slave') + switches_g.add_argument('--gitlab', + dest='gitlab', + action='store_true', + help='Setup for GitLab-CI') switches_g.add_argument('--cvode', dest='cvode', action='store_true',