mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2025-07-23 05:31:39 +03:00
187 lines
4.1 KiB
YAML
187 lines
4.1 KiB
YAML
name: EpicMorg Atlassian Jira 07 Images
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
|
|
build-images:
|
|
name: Atlassian Jira ${{ matrix.version }} Image
|
|
runs-on: [ ubuntu-24.04 ]
|
|
strategy:
|
|
matrix:
|
|
version: [
|
|
'7.0.0',
|
|
'7.0.10',
|
|
'7.0.11',
|
|
'7.0.2',
|
|
'7.0.4',
|
|
'7.0.5',
|
|
'7.0.9',
|
|
'7.1.0',
|
|
'7.10.0',
|
|
'7.10.1',
|
|
'7.10.2',
|
|
'7.1.0-m01',
|
|
'7.1.1',
|
|
'7.1.10',
|
|
'7.11.0',
|
|
'7.11.1',
|
|
'7.11.2',
|
|
'7.1.2',
|
|
'7.12.0',
|
|
'7.12.1',
|
|
'7.12.3',
|
|
'7.13.0',
|
|
'7.13.1',
|
|
'7.13.11',
|
|
'7.13.12',
|
|
'7.13.13',
|
|
'7.13.14',
|
|
'7.13.15',
|
|
'7.13.16',
|
|
'7.13.17',
|
|
'7.13.18',
|
|
'7.13.2',
|
|
'7.13.3',
|
|
'7.13.4',
|
|
'7.13.5',
|
|
'7.13.6',
|
|
'7.13.8',
|
|
'7.13.9',
|
|
'7.1.4',
|
|
'7.1.6',
|
|
'7.1.7',
|
|
'7.1.8',
|
|
'7.1.9',
|
|
'7.2.0',
|
|
'7.2.1',
|
|
'7.2.10',
|
|
'7.2.11',
|
|
'7.2.12',
|
|
'7.2.13',
|
|
'7.2.14',
|
|
'7.2.15',
|
|
'7.2.2',
|
|
'7.2.3',
|
|
'7.2.4',
|
|
'7.2.6',
|
|
'7.2.7',
|
|
'7.2.8',
|
|
'7.2.9',
|
|
'7.3.0',
|
|
'7.3.1',
|
|
'7.3.2',
|
|
'7.3.3',
|
|
'7.3.4',
|
|
'7.3.5',
|
|
'7.3.6',
|
|
'7.3.7',
|
|
'7.3.8',
|
|
'7.3.9',
|
|
'7.4.0',
|
|
'7.4.1',
|
|
'7.4.2',
|
|
'7.4.3',
|
|
'7.4.4',
|
|
'7.4.5',
|
|
'7.4.6',
|
|
'7.5.0',
|
|
'7.5.1',
|
|
'7.5.2',
|
|
'7.5.3',
|
|
'7.5.4',
|
|
'7.6.0',
|
|
'7.6.1',
|
|
'7.6.10',
|
|
'7.6.11',
|
|
'7.6.12',
|
|
'7.6.13',
|
|
'7.6.14',
|
|
'7.6.15',
|
|
'7.6.16',
|
|
'7.6.17',
|
|
'7.6.2',
|
|
'7.6.3',
|
|
'7.6.4',
|
|
'7.6.6',
|
|
'7.6.7',
|
|
'7.6.8',
|
|
'7.6.9',
|
|
'7.7.0',
|
|
'7.7.1',
|
|
'7.7.2',
|
|
'7.7.4',
|
|
'7.8.0',
|
|
'7.8.1',
|
|
'7.8.2',
|
|
'7.8.4',
|
|
'7.9.0',
|
|
'7.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/7/${{ 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
|