Merged in CLIP-1885-confluence-multi-platform-tags (pull request #166)

CLIP-1885: Update Confluence pipelines to produce multi platform tags

* Update Confluence pipelines to produce multi platform tags


Approved-by: Adam Brokes
This commit is contained in:
Eugene Ivantsov 2024-06-12 04:59:51 +00:00
parent 72373826d6
commit 8d215905e9
2 changed files with 492 additions and 123 deletions

File diff suppressed because it is too large Load Diff

View File

@ -37,6 +37,8 @@ pipelines:
script: script:
- git submodule update --init --recursive - git submodule update --init --recursive
- echo ${DOCKER_BOT_PASSWORD} | docker login ${DOCKER_REGISTRY} --username ${DOCKER_BOT_USERNAME} --password-stdin - echo ${DOCKER_BOT_PASSWORD} | docker login ${DOCKER_REGISTRY} --username ${DOCKER_BOT_USERNAME} --password-stdin
- docker buildx create --name container --driver docker-container --use
- docker buildx ls
- > - >
python /usr/src/app/make-releases.py \ python /usr/src/app/make-releases.py \
--update \ --update \
@ -59,7 +61,8 @@ pipelines:
--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 \
--platforms=linux/amd64,linux/arm64
{% endfor %} {% endfor %}
{% endfor %} {% endfor %}
@ -151,6 +154,8 @@ pipelines:
script: script:
- git submodule update --init --recursive - git submodule update --init --recursive
- echo ${DOCKER_BOT_PASSWORD} | docker login ${DOCKER_REGISTRY} --username ${DOCKER_BOT_USERNAME} --password-stdin - echo ${DOCKER_BOT_PASSWORD} | docker login ${DOCKER_REGISTRY} --username ${DOCKER_BOT_USERNAME} --password-stdin
- docker buildx create --name container --driver docker-container --use
- docker buildx ls
- > - >
python /usr/src/app/make-releases.py \ python /usr/src/app/make-releases.py \
--create \ --create \
@ -173,7 +178,8 @@ pipelines:
--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 \
--platforms=linux/amd64,linux/arm64
{% endfor %} {% endfor %}
{% endfor %} {% endfor %}
@ -190,6 +196,8 @@ pipelines:
script: script:
- git submodule update --init --recursive - git submodule update --init --recursive
- echo ${DOCKER_BOT_PASSWORD} | docker login ${DOCKER_REGISTRY} --username ${DOCKER_BOT_USERNAME} --password-stdin - echo ${DOCKER_BOT_PASSWORD} | docker login ${DOCKER_REGISTRY} --username ${DOCKER_BOT_USERNAME} --password-stdin
- docker buildx create --name container --driver docker-container --use
- docker buildx ls
- > - >
python /usr/src/app/make-releases.py \ python /usr/src/app/make-releases.py \
--create-eap \ --create-eap \
@ -212,7 +220,8 @@ pipelines:
--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 \
--platforms=linux/amd64,linux/arm64
{% endfor %} {% endfor %}
{% endfor %} {% endfor %}