Merge "Allow dlrn_hash_tag* vars to be overridden"
This commit is contained in:
commit
715794adce
@ -16,6 +16,8 @@
|
||||
- 'standalone_container_cli'
|
||||
- 'test_white_regex'
|
||||
- 'tempest_workers'
|
||||
- 'dlrn_hash_tag'
|
||||
- 'dlrn_hash_tag_newest'
|
||||
fail:
|
||||
msg: "ERROR: {{ item }} is not overridable."
|
||||
when: item not in "{{ allowed_overrides }}"
|
||||
@ -71,6 +73,14 @@
|
||||
dest: "{{ tripleo_root }}/tripleo-ci/scripts/oooq_common_functions.sh"
|
||||
force: yes
|
||||
|
||||
- name: render ready releases.sh file
|
||||
copy:
|
||||
content: "{{ ready_releases_file }}"
|
||||
dest: "{{ workspace }}/logs/releases.sh"
|
||||
mode: 0644
|
||||
force: yes
|
||||
when: ready_releases_file is defined
|
||||
|
||||
- shell:
|
||||
cmd: |
|
||||
set -e
|
||||
|
@ -125,12 +125,16 @@ EMIT_RELEASES_EXTRA_ARGS="$EMIT_RELEASES_EXTRA_ARGS --is-periodic"
|
||||
|
||||
if [[ -f "$RELEASES_SCRIPT" ]] && [[ {{ featureset }} =~ 010|011|037|047|050|056 ]]; then
|
||||
|
||||
python $RELEASES_SCRIPT \
|
||||
--stable-release ${STABLE_RELEASE:-"master"} \
|
||||
--featureset-file $TRIPLEO_ROOT/tripleo-quickstart/config/general_config/$(basename {{ job_featureset_file }}) \
|
||||
--output-file $RELEASES_FILE_OUTPUT \
|
||||
--log-file $RELEASES_SCRIPT_LOGFILE \
|
||||
$EMIT_RELEASES_EXTRA_ARGS
|
||||
if [[ -f "$RELEASES_FILE_OUTPUT" ]]; then
|
||||
echo "Importing ready releases.sh file - skipping releases.sh file generation."
|
||||
else
|
||||
python $RELEASES_SCRIPT \
|
||||
--stable-release ${STABLE_RELEASE:-"master"} \
|
||||
--featureset-file $TRIPLEO_ROOT/tripleo-quickstart/config/general_config/$(basename {{ job_featureset_file }}) \
|
||||
--output-file $RELEASES_FILE_OUTPUT \
|
||||
--log-file $RELEASES_SCRIPT_LOGFILE \
|
||||
$EMIT_RELEASES_EXTRA_ARGS
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user