docker-scripts/.github/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.09.yml
2025-04-30 22:48:15 +03:00

99 lines
2.5 KiB
YAML

name: EpicMorg Atlassian Bitbucket 09 Images
on:
workflow_dispatch:
jobs:
build-images:
name: Atlassian Bitbucket ${{ matrix.version }} Image
runs-on: [ ubuntu-24.04 ]
strategy:
matrix:
version: [
'9.0.0',
'9.0.1',
'9.1.0',
'9.1.1',
'9.2.0',
'9.2.1',
'9.3.0',
'9.3.1',
'9.3.2',
'9.4.0',
'9.4.1',
'9.4.2',
'9.4.3',
'9.4.4',
'9.5.0',
'9.5.1',
'9.5.2',
'9.6.0',
'9.6.1',
]
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/9/${{ 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