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

171 lines
3.9 KiB
YAML

name: EpicMorg Atlassian Fisheye + Crucible 02 Images
on:
workflow_dispatch:
jobs:
build-images:
name: Atlassian Fisheye + Crucible ${{ matrix.version }} Image
runs-on: [ ubuntu-24.04 ]
strategy:
matrix:
version: [
'2.0.0',
'2.0.0.B3',
'2.0.0.RC1',
'2.0.0.RC2',
'2.0.0.RC3',
'2.0.1',
'2.0.2',
'2.0.3',
'2.0.4',
'2.0.5',
'2.0.6',
'2.1.0',
'2.1.0.M2cc',
'2.1.0.RC1',
'2.1.1',
'2.1.2',
'2.1.3',
'2.1.4',
'2.2.0',
'2.2.1',
'2.2.3',
'2.3.0',
'2.3.1',
'2.3.2',
'2.3.3',
'2.3.4',
'2.3.5',
'2.3.6',
'2.3.7',
'2.3.8',
'2.4.0',
'2.4.1',
'2.4.2',
'2.4.3',
'2.4.4',
'2.4.5',
'2.4.6',
'2.5.0',
'2.5.1',
'2.5.2',
'2.5.3',
'2.5.4',
'2.5.5',
'2.5.6',
'2.5.7',
'2.5.8',
'2.5.9',
'2.6.0',
'2.6.1',
'2.6.2',
'2.6.3',
'2.6.4',
'2.6.5',
'2.6.6',
'2.6.7',
'2.6.8',
'2.6.9',
'2.7.0',
'2.7.0-EAP-1',
'2.7.0-EAP-2',
'2.7.1',
'2.7.2',
'2.7.3',
'2.7.4',
'2.7.5',
'2.7.6',
'2.7.7',
'2.7.8',
'2.7.9',
'2.7.10',
'2.7.11',
'2.7.12',
'2.7.13',
'2.7.14',
'2.7.15',
'2.8.0',
'2.8.0-m1',
'2.8.1',
'2.8.2',
'2.9.0',
'2.9.1',
'2.9.2',
'2.10.0',
'2.10.1',
'2.10.2',
'2.10.3',
'2.10.4',
'2.10.5',
'2.10.6',
'2.10.7',
'2.10.8',
]
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 Fisheye + Crucible ${{ matrix.version }} Image:"
uses: nick-fields/retry@v3
with:
retry_wait_seconds: 45
timeout_minutes: 600
max_attempts: 15
command: cd linux/ecosystem/atlassian/fisheye-crucible/2/${{ 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