Skip to content

Commit

Permalink
fix: Improve two details
Browse files Browse the repository at this point in the history
* Add `date -u -R` in propagate job
* Fix `./keeper.py generate-config --help`
  • Loading branch information
erikmd committed Jul 15, 2024
1 parent baf2f5f commit 3c2782c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.10.13
0.10.14
1 change: 1 addition & 0 deletions gitlab_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ dk_curl() {
local gitlab_project="$4"
local cron_mode="$5"
local item="$6"
date -u -R
if [ -n "$gitlab_token" ]; then
echo >&2 "For child repo $slug:"
if [ -z "$item" ]; then
Expand Down
16 changes: 10 additions & 6 deletions keeper.py
Original file line number Diff line number Diff line change
Expand Up @@ -1407,13 +1407,17 @@ def main(argv):
# generate-config
help_generate_config = """
Print a GitLab CI YAML config to standard output.
This requires files: {generated/build_data_chosen.json,
generated/remote_tags_to_rm.json}"""
This requires files:
- generated/build_data_chosen.json
- generated/remote_tags_to_rm.json
- generated/propagate.json"""
parser_generate_config = \
subparsers.add_parser('generate-config',
# no parents parser
help=help_generate_config,
description=help_generate_config)
subparsers.add_parser(
'generate-config',
# no parents parser
help=help_generate_config,
description=help_generate_config,
formatter_class=argparse.RawDescriptionHelpFormatter)
parser_generate_config.set_defaults(func=main_generate_config)

# write-artifacts
Expand Down

0 comments on commit 3c2782c

Please sign in to comment.