docker-scripts/.github/workflows/epicmorg.ecosystem.images.atlassian.latest.yml
2025-04-27 18:47:14 +03:00

126 lines
3.9 KiB
YAML

name: EpicMorg EcoSystem Atlassian Main Images
on:
workflow_dispatch:
schedule:
- cron: '5 5 * * 1,3,5'
jobs:
build-10-images:
name: Build EpicMorg Atlassian Main Images
runs-on: [ ubuntu-24.04 ]
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 Bitbucket Image:"
uses: nick-fields/retry@v3
with:
retry_wait_seconds: 45
timeout_minutes: 600
max_attempts: 15
command: cd linux/ecosystem/atlassian/bitbucket/latest && pwd && make build && make deploy
- name: "Build and Deploy Atlassian Confluence Image:"
uses: nick-fields/retry@v3
with:
retry_wait_seconds: 45
timeout_minutes: 600
max_attempts: 15
command: cd linux/ecosystem/atlassian/confluence/latest && pwd && make build && make deploy
- name: "Build and Deploy Atlassian Crowd Image:"
uses: nick-fields/retry@v3
with:
retry_wait_seconds: 45
timeout_minutes: 600
max_attempts: 15
command: cd linux/ecosystem/atlassian/crowd/latest && pwd && make build && make deploy
# - name: "Build and Deploy Atlassian Crucible Image:"
# uses: nick-fields/retry@v3
# with:
# retry_wait_seconds: 45
# timeout_minutes: 600
# max_attempts: 5
# command: cd linux/ecosystem/atlassian/crucible/latest && pwd && make build && make deploy
# - name: "Build and Deploy Atlassian Fisheye Image:"
# uses: nick-fields/retry@v3
# with:
# retry_wait_seconds: 45
# timeout_minutes: 600
# max_attempts: 5
# command: cd linux/ecosystem/atlassian/fisheye/latest && pwd && make build && make deploy
# - name: "Build and Deploy Atlassian Fisheye + Crucible Image:"
# uses: nick-fields/retry@v3
# with:
# retry_wait_seconds: 45
# timeout_minutes: 600
# max_attempts: 5
# command: cd linux/ecosystem/atlassian/fisheye-crucible/latest && pwd && make build && make deploy
- name: "Build and Deploy Atlassian Jira Image:"
uses: nick-fields/retry@v3
with:
retry_wait_seconds: 45
timeout_minutes: 600
max_attempts: 15
command: cd linux/ecosystem/atlassian/jira/latest && 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