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

174 lines
3.9 KiB
YAML

name: EpicMorg Atlassian Jira 09 Images
on:
workflow_dispatch:
jobs:
build-images:
name: Atlassian Jira ${{ matrix.version }} Image
runs-on: [ ubuntu-24.04 ]
strategy:
matrix:
version: [
'9.0.0',
'9.1.0',
'9.10.0',
'9.10.1',
'9.10.2',
'9.1.1',
'9.11.0',
'9.11.1',
'9.11.2',
'9.11.3',
'9.12.0',
'9.12.1',
'9.12.10',
'9.12.11',
'9.12.12',
'9.12.13',
'9.12.14',
'9.12.15',
'9.12.16',
'9.12.17',
'9.12.18',
'9.12.19',
'9.12.2',
'9.12.20',
'9.12.21',
'9.12.22',
'9.12.3',
'9.12.4',
'9.12.5',
'9.12.6',
'9.12.7',
'9.12.8',
'9.12.9',
'9.13.0',
'9.13.1',
'9.14.0',
'9.14.1',
'9.15.2',
'9.16.0',
'9.16.1',
'9.17.0',
'9.17.1',
'9.17.2',
'9.17.3',
'9.17.4',
'9.17.5',
'9.2.0',
'9.2.1',
'9.3.0',
'9.3.1',
'9.3.2',
'9.3.3',
'9.4.0',
'9.4.1',
'9.4.10',
'9.4.11',
'9.4.12',
'9.4.14',
'9.4.15',
'9.4.16',
'9.4.17',
'9.4.18',
'9.4.19',
'9.4.2',
'9.4.20',
'9.4.21',
'9.4.22',
'9.4.23',
'9.4.24',
'9.4.25',
'9.4.26',
'9.4.27',
'9.4.28',
'9.4.29',
'9.4.3',
'9.4.30',
'9.4.4',
'9.4.5',
'9.4.6',
'9.4.7',
'9.4.8',
'9.4.9',
'9.5.0',
'9.5.1',
'9.6.0',
'9.7.0',
'9.7.1',
'9.7.2',
'9.8.0',
'9.8.1',
'9.8.2',
'9.9.0',
'9.9.1',
'9.9.2',
]
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/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