docker-scripts/.github/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.05.yml
2025-04-28 01:01:05 +03:00

193 lines
4.2 KiB
YAML

name: EpicMorg Atlassian Bitbucket 05 Images
on:
workflow_dispatch:
jobs:
build-images:
name: Atlassian Bitbucket ${{ matrix.version }} Image
runs-on: [ ubuntu-24.04 ]
strategy:
matrix:
version: [
'5.0.2',
'5.0.4',
'5.0.5',
'5.0.6',
'5.0.7',
'5.0.8',
'5.0.9',
'5.0.10',
'5.1.1',
'5.1.2',
'5.1.3',
'5.1.4',
'5.1.5',
'5.1.6',
'5.1.7',
'5.1.8',
'5.1.9',
'5.2.0',
'5.2.1',
'5.2.2',
'5.2.3',
'5.2.4',
'5.2.5',
'5.2.6',
'5.2.7',
'5.2.8',
'5.3.0',
'5.3.1',
'5.3.2',
'5.3.3',
'5.3.4',
'5.3.5',
'5.3.6',
'5.3.7',
'5.4.0',
'5.4.1',
'5.4.2',
'5.4.3',
'5.4.4',
'5.4.6',
'5.4.7',
'5.4.8',
'5.4.9',
'5.5.0',
'5.5.1',
'5.5.2',
'5.5.3',
'5.5.4',
'5.5.5',
'5.5.6',
'5.5.7',
'5.5.8',
'5.5.9',
'5.6.1',
'5.6.2',
'5.6.3',
'5.6.4',
'5.6.5',
'5.6.6',
'5.7.0',
'5.7.1',
'5.7.2',
'5.7.3',
'5.7.4',
'5.8.0',
'5.8.1',
'5.8.2',
'5.8.3',
'5.8.4',
'5.9.0',
'5.9.1',
'5.9.2',
'5.10.0',
'5.10.1',
'5.10.2',
'5.10.3',
'5.10.4',
'5.11.1',
'5.11.2',
'5.11.3',
'5.11.4',
'5.12.0',
'5.12.1',
'5.12.2',
'5.12.3',
'5.12.4',
'5.13.0',
'5.13.1',
'5.13.3',
'5.13.4',
'5.13.5',
'5.13.6',
'5.14.0',
'5.14.1',
'5.14.2',
'5.14.3',
'5.14.4',
'5.15.0',
'5.15.1',
'5.15.2',
'5.15.3',
'5.16.0',
'5.16.1',
'5.16.2',
'5.16.3',
'5.16.4',
'5.16.5',
'5.16.6',
'5.16.7',
'5.16.8',
'5.16.9',
'5.16.10',
'5.16.11',
]
steps:
- uses: actions/checkout@v4
with:
clean: true
show-progress: true
submodules: true
- name: Log into docker registry
uses: nick-fields/retry@v3
with:
retry_wait_seconds: 45
timeout_minutes: 600
max_attempts: 15
command: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin
- name: Log into Quay.IO registry
uses: nick-fields/retry@v3
with:
retry_wait_seconds: 45
timeout_minutes: 600
max_attempts: 15
command: echo "${{ secrets.QUAY_SERVER_KEY }}" | docker login -u "${{ secrets.QUAY_SERVER_LOGIN }}" --password-stdin "${{ secrets.QUAY_SERVER_URL }}"
- name: Check buildah
uses: nick-fields/retry@v3
with:
retry_wait_seconds: 45
timeout_minutes: 600
max_attempts: 15
command: buildah --version
- name: Test Make
uses: nick-fields/retry@v3
with:
retry_wait_seconds: 45
timeout_minutes: 600
max_attempts: 15
command: make
- name: Install requirements.txt
uses: nick-fields/retry@v3
with:
retry_wait_seconds: 45
timeout_minutes: 600
max_attempts: 15
command: make pip
- name: "Build and Deploy Atlassian Bitbucket ${{ matrix.version }} Image:"
uses: nick-fields/retry@v3
with:
retry_wait_seconds: 45
timeout_minutes: 600
max_attempts: 15
command: cd linux/ecosystem/atlassian/bitbucket/5/${{ matrix.version }} && pwd && make build && make deploy
##################################################################################
- name: Cleanup
uses: nick-fields/retry@v3
with:
retry_wait_seconds: 45
timeout_minutes: 600
max_attempts: 15
command: make clean