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

219 lines
4.7 KiB
YAML

name: EpicMorg Atlassian Jira 08 Images
on:
workflow_dispatch:
jobs:
build-images:
name: Atlassian Jira ${{ matrix.version }} Image
runs-on: [ ubuntu-24.04 ]
strategy:
matrix:
version: [
'8.0.0',
'8.0.2',
'8.0.3',
'8.1.0',
'8.10.0',
'8.10.1',
'8.1.1',
'8.11.0',
'8.11.1',
'8.1.2',
'8.12.0',
'8.12.1',
'8.12.2',
'8.12.3',
'8.1.3',
'8.13.0',
'8.13.1',
'8.13.10',
'8.13.11',
'8.13.12',
'8.13.13',
'8.13.14',
'8.13.15',
'8.13.16',
'8.13.17',
'8.13.18',
'8.13.19',
'8.13.2',
'8.13.20',
'8.13.21',
'8.13.22',
'8.13.24',
'8.13.25',
'8.13.26',
'8.13.27',
'8.13.3',
'8.13.4',
'8.13.5',
'8.13.6',
'8.13.7',
'8.13.8',
'8.13.9',
'8.14.0',
'8.14.1',
'8.15.0',
'8.15.1',
'8.16.0',
'8.16.1',
'8.16.2',
'8.17.0',
'8.17.1',
'8.18.1',
'8.18.2',
'8.19.0',
'8.19.1',
'8.2.0',
'8.20.0',
'8.20.1',
'8.20.10',
'8.20.11',
'8.20.12',
'8.20.13',
'8.20.14',
'8.20.15',
'8.20.16',
'8.20.17',
'8.20.19',
'8.20.2',
'8.20.20',
'8.20.21',
'8.20.22',
'8.20.23',
'8.20.24',
'8.20.25',
'8.20.26',
'8.20.27',
'8.20.28',
'8.20.29',
'8.20.3',
'8.20.30',
'8.20.4',
'8.20.5',
'8.20.6',
'8.20.7',
'8.20.8',
'8.20.9',
'8.2.1',
'8.21.0',
'8.21.1',
'8.2.2',
'8.22.0',
'8.22.1',
'8.22.2',
'8.22.3',
'8.22.4',
'8.22.5',
'8.22.6',
'8.2.3',
'8.2.4',
'8.2.5',
'8.2.6',
'8.3.0',
'8.3.1',
'8.3.2',
'8.3.3',
'8.3.4',
'8.3.5',
'8.4.0',
'8.4.1',
'8.4.2',
'8.4.3',
'8.5.0',
'8.5.1',
'8.5.10',
'8.5.11',
'8.5.12',
'8.5.13',
'8.5.14',
'8.5.15',
'8.5.16',
'8.5.17',
'8.5.18',
'8.5.19',
'8.5.2',
'8.5.3',
'8.5.4',
'8.5.5',
'8.5.6',
'8.5.7',
'8.5.8',
'8.5.9',
'8.6.0',
'8.6.1',
'8.7.0',
'8.7.1',
'8.8.0',
'8.8.1',
'8.9.0',
'8.9.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 jira ${{ matrix.version }} Image:"
uses: nick-fields/retry@v3
with:
retry_wait_seconds: 45
timeout_minutes: 600
max_attempts: 15
command: cd linux/ecosystem/atlassian/jira/8/${{ 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