DCD-1253: Pipelines yaml seems to handle multiline differently when in a list.

This commit is contained in:
Steve Smith 2021-03-29 14:25:28 +11:00
parent b9a3bb2ad4
commit f96210081b
2 changed files with 938 additions and 938 deletions

File diff suppressed because it is too large Load Diff

View File

@ -38,21 +38,21 @@ pipelines:
- git submodule update --init --recursive - git submodule update --init --recursive
- echo ${DOCKER_PASSWORD} | docker login --username ${DOCKER_USERNAME} --password-stdin - echo ${DOCKER_PASSWORD} | docker login --username ${DOCKER_USERNAME} --password-stdin
- > - >
python /usr/src/app/make-releases.py python /usr/src/app/make-releases.py \
--update --update \
--start-version='{{ appdata.start_version }}' --start-version='{{ appdata.start_version }}' \
--end-version='{{ appdata.end_version }}' --end-version='{{ appdata.end_version }}' \
{% if appdata.default_release %} {% if appdata.default_release %}
--default-release --default-release \
{% endif %} {% endif %}
--dockerfile-buildargs='BASE_IMAGE={{ appdata.base_image }}' --dockerfile-buildargs='BASE_IMAGE={{ appdata.base_image }}' \
--dockerfile-version-arg='CONFLUENCE_VERSION' --dockerfile-version-arg='CONFLUENCE_VERSION' \
--mac-product-key='confluence' --mac-product-key='confluence' \
--tag-suffixes='{{ tag_suffixes|join(',') }}' --tag-suffixes='{{ tag_suffixes|join(',') }}' \
--concurrent-builds='1' --concurrent-builds='1' \
--job-offset='{{ offset }}' --job-offset='{{ offset }}' \
--jobs-total='{{ batches }}' --jobs-total='{{ batches }}' \
--docker-repos='{{ appdata.docker_repos|join(',') }}' --docker-repos='{{ appdata.docker_repos|join(',') }}' \
--push --push
{% endfor %} {% endfor %}
@ -89,21 +89,21 @@ pipelines:
- git submodule update --init --recursive - git submodule update --init --recursive
- echo ${DOCKER_PASSWORD} | docker login --username ${DOCKER_USERNAME} --password-stdin - echo ${DOCKER_PASSWORD} | docker login --username ${DOCKER_USERNAME} --password-stdin
- > - >
python /usr/src/app/make-releases.py python /usr/src/app/make-releases.py \
--create --create \
--start-version='{{ appdata.start_version }}' --start-version='{{ appdata.start_version }}' \
--end-version='{{ appdata.end_version }}' --end-version='{{ appdata.end_version }}' \
{% if appdata.default_release %} {% if appdata.default_release %}
--default-release --default-release \
{% endif %} {% endif %}
--dockerfile-buildargs='BASE_IMAGE={{ appdata.base_image }}' --dockerfile-buildargs='BASE_IMAGE={{ appdata.base_image }}' \
--dockerfile-version-arg='CONFLUENCE_VERSION' --dockerfile-version-arg='CONFLUENCE_VERSION' \
--mac-product-key='confluence' --mac-product-key='confluence' \
--tag-suffixes='{{ tag_suffixes|join(',') }}' --tag-suffixes='{{ tag_suffixes|join(',') }}' \
--concurrent-builds='1' --concurrent-builds='1' \
--job-offset='{{ offset }}' --job-offset='{{ offset }}' \
--jobs-total='{{ batches }}' --jobs-total='{{ batches }}' \
--docker-repos='{{ appdata.docker_repos|join(',') }}' --docker-repos='{{ appdata.docker_repos|join(',') }}' \
--push --push
{% endfor %} {% endfor %}