Skip to content

Commit 5796e8f

Browse files
raukadahopenshift-merge-bot[bot]
authored andcommitted
[dlrn_promote]Fixed dlrnapi hash params
The correct params for dlrnapi is as follows/l ``` ❯ dlrnapi report-result --help usage: dlrnapi report-result [-h] --job-id JOB_ID [--commit-hash COMMIT_HASH] [--distro-hash DISTRO_HASH] [--extended-hash EXTENDED_HASH] [--agg-hash AGG_HASH] --info-url INFO_URL --timestamp TIMESTAMP --success SUCCESS [--notes NOTES] options: -h, --help show this help message and exit --job-id JOB_ID Name of the CI sending the vote --commit-hash COMMIT_HASH commit_hash of tested repo --distro-hash DISTRO_HASH distro_hash of tested repo --extended-hash EXTENDED_HASH extended_hash of tested repo --agg-hash AGG_HASH hash of the tested aggregated repo. Note that either --commit-hash and --distro-hash or --agg-hash must be specified. --info-url INFO_URL URL where to find additional information from the CI execution --timestamp TIMESTAMP Timestamp (in seconds since the epoch) --success SUCCESS Was the CI execution successful? Set to true or false. --notes NOTES Additional notes ``` It should be dash instead of underscrore. Signed-off-by: Chandan Kumar <[email protected]>
1 parent 8958f87 commit 5796e8f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

roles/dlrn_promote/tasks/check_for_previous_promotions.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
--agg-hash {{ cifmw_repo_setup_full_hash }}
1313
{% endif -%}
1414
{% if (cifmw_repo_setup_extended_hash is defined) and (cifmw_repo_setup_extended_hash | length > 0) -%}
15-
--extended_hash {{ cifmw_repo_setup_extended_hash }}
15+
--extended-hash {{ cifmw_repo_setup_extended_hash }}
1616
{% endif -%}
1717
{% if (cifmw_repo_setup_commit_hash is defined) and (cifmw_repo_setup_commit_hash | length > 0) -%}
18-
--commit_hash {{ cifmw_repo_setup_commit_hash }}
18+
--commit-hash {{ cifmw_repo_setup_commit_hash }}
1919
{% endif -%}
2020
{% if (cifmw_repo_setup_distro_hash is defined) and (cifmw_repo_setup_distro_hash | length > 0) -%}
21-
--distro_hash {{ cifmw_repo_setup_distro_hash }}
21+
--distro-hash {{ cifmw_repo_setup_distro_hash }}
2222
{% endif -%}
2323
--promote-name {{ cifmw_dlrn_promote_promotion_target }}
2424
| tee -a {{ cifmw_dlrn_promote_workspace }}/cifmw_dlrn_promote_hash_promote_target_output.txt

0 commit comments

Comments
 (0)