docker-scripts/.github/workflows/epicmorg.ecosystem.images.atlassian.crowd.05.yml
2025-04-27 19:16:45 +03:00

122 lines
2.9 KiB
YAML

name: EpicMorg Atlassian Crowd 05 Images
on:
workflow_dispatch:
jobs:
build-images:
name: Atlassian Crowd ${{ matrix.version }} Image
runs-on: [ ubuntu-24.04 ]
strategy:
matrix:
version: [
'5.0.0',
'5.0.1',
'5.0.10',
'5.0.11',
'5.0.2',
'5.0.3',
'5.0.4',
'5.0.5',
'5.0.6',
'5.0.7',
'5.0.8',
'5.0.9',
'5.1.0',
'5.1.1',
'5.1.11',
'5.1.12',
'5.1.13',
'5.1.2',
'5.1.3',
'5.1.4',
'5.1.5',
'5.1.6',
'5.1.7',
'5.1.8',
'5.1.9',
'5.2.0',
'5.2.1',
'5.2.10',
'5.2.2',
'5.2.3',
'5.2.4',
'5.2.6',
'5.2.7',
'5.2.8',
'5.2.9',
'5.3.0',
'5.3.1',
'5.3.2',
'5.3.3',
'5.3.4',
'5.3.5',
'5.3.6',
]
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 crowd ${{ matrix.version }} Image:"
uses: nick-fields/retry@v3
with:
retry_wait_seconds: 45
timeout_minutes: 600
max_attempts: 15
command: cd linux/ecosystem/atlassian/crowd/5/${{ 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