Skip to content
Snippets Groups Projects
Commit b80123cdf014 authored by Georges Racinet's avatar Georges Racinet :squid:
Browse files

release-full: passing down `--config` to called scripts

It is in particular useful because the registries I am pushing to
depends on the tagged versions.
parent 283cc42b0084
No related branches found
No related tags found
No related merge requests found
Pipeline #90056 passed
......@@ -51,7 +51,7 @@
help="Heptapod version to pull and release, e.g "
"17.1.2 or 17.2.0-2. The build number is optional"
)
parser.add_argument('--config',
parser.add_argument('-c', '--config',
help="Path to configuration file (TOML)",
default='config.toml')
parser.add_argument('-l', '--logging-level', default='info')
......@@ -76,7 +76,8 @@
dash_series,
latest)
config = cl_args.config
subprocess.check_call((BASE_DIR / 'registry-pull-heptapod-push-docker',
'--push',
'--tag', image_testing_tag,
'--verify-hg-tag', omnibus_tag,
......@@ -79,6 +80,7 @@
subprocess.check_call((BASE_DIR / 'registry-pull-heptapod-push-docker',
'--push',
'--tag', image_testing_tag,
'--verify-hg-tag', omnibus_tag,
'--config', config,
'--expected-image-id', image_id))
......@@ -83,6 +85,6 @@
'--expected-image-id', image_id))
push_release = [BASE_DIR / 'push-release', dash_series]
push_release = [BASE_DIR / 'push-release', '--config', config, dash_series]
if latest:
push_release.append('--latest')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment