docker-scripts/.github/workflows/epicmorg.base.images.perforce.yml
2024-11-27 13:54:14 +03:00

183 lines
6.7 KiB
YAML

name: EpicMorg EcoSystem Perfocre Images
on:
# push:
# branches:
# - 'master'
workflow_dispatch:
schedule:
- cron: '4 4 * * 1,3,5'
jobs:
build-p4-images:
name: Build EpicMorg Perfocre Images
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Log into registry
run: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin
- name: Test Make
run: make
- name: Install requirements.txt
run: make pip
- name: "Build and Deploy Perfocre r16.2 Image:"
run: cd linux/ecosystem/perforce/base/r16.2 && pwd && make build && make deploy
- name: "Build and Deploy Perfocre r17.1 Image:"
run: cd linux/ecosystem/perforce/base/r17.1 && pwd && make build && make deploy
- name: "Build and Deploy Perfocre r17.2 Image:"
run: cd linux/ecosystem/perforce/base/r17.2 && pwd && make build && make deploy
##################################################################################
- name: Cleanup
run: make docker-clean
##################################################################################
- name: "Build and Deploy Perfocre r18.1 Image:"
run: cd linux/ecosystem/perforce/base/r18.1 && pwd && make build && make deploy
- name: "Build and Deploy Perfocre r18.2 Image:"
run: cd linux/ecosystem/perforce/base/r18.2 && pwd && make build && make deploy
- name: "Build and Deploy Perfocre r19.1 Image:"
run: cd linux/ecosystem/perforce/base/r19.1 && pwd && make build && make deploy
##################################################################################
- name: Cleanup
run: make docker-clean
##################################################################################
- name: "Build and Deploy Perfocre r19.2 Image:"
run: cd linux/ecosystem/perforce/base/r19.2 && pwd && make build && make deploy
- name: "Build and Deploy Perfocre r20.1 Image:"
run: cd linux/ecosystem/perforce/base/r20.1 && pwd && make build && make deploy
- name: "Build and Deploy Perfocre r20.2 Image:"
run: cd linux/ecosystem/perforce/base/r20.2 && pwd && make build && make deploy
##################################################################################
- name: Cleanup
run: make docker-clean
##################################################################################
- name: "Build and Deploy Perfocre r21.1 Image:"
run: cd linux/ecosystem/perforce/base/r21.1 && pwd && make build && make deploy
- name: "Build and Deploy Perfocre r21.2 Image:"
run: cd linux/ecosystem/perforce/base/r21.2 && pwd && make build && make deploy
- name: "Build and Deploy Perfocre r22.1 Image:"
run: cd linux/ecosystem/perforce/base/r22.1 && pwd && make build && make deploy
##################################################################################
- name: Cleanup
run: make docker-clean
##################################################################################
- name: "Build and Deploy Perfocre r23.1 Image:"
run: cd linux/ecosystem/perforce/base/r23.1 && pwd && make build && make deploy
- name: "Build and Deploy Perfocre r23.2 Image:"
run: cd linux/ecosystem/perforce/base/r23.2 && pwd && make build && make deploy
##################################################################################
build-p4p-images:
name: Build EpicMorg Perfocre Proxy Images
runs-on: ubuntu-24.04
needs: build-p4-images
steps:
- uses: actions/checkout@v4
- name: Log into registry
run: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin
- name: Test Make
run: make
- name: Install requirements.txt
run: make pip
- name: "Build and Deploy Perfocre Proxy r16.2 Image:"
run: cd linux/ecosystem/perforce/p4p/r16.2 && pwd && make build && make deploy
- name: "Build and Deploy Perfocre Proxy r17.1 Image:"
run: cd linux/ecosystem/perforce/p4p/r17.1 && pwd && make build && make deploy
- name: "Build and Deploy Perfocre Proxy r17.2 Image:"
run: cd linux/ecosystem/perforce/p4p/r17.2 && pwd && make build && make deploy
##################################################################################
- name: Cleanup
run: make docker-clean
##################################################################################
- name: "Build and Deploy Perfocre Proxy r18.1 Image:"
run: cd linux/ecosystem/perforce/p4p/r18.1 && pwd && make build && make deploy
- name: "Build and Deploy Perfocre Proxy r18.2 Image:"
run: cd linux/ecosystem/perforce/p4p/r18.2 && pwd && make build && make deploy
- name: "Build and Deploy Perfocre Proxy r19.1 Image:"
run: cd linux/ecosystem/perforce/p4p/r19.1 && pwd && make build && make deploy
- name: "Build and Deploy Perfocre Proxy r19.2 Image:"
run: cd linux/ecosystem/perforce/p4p/r19.2 && pwd && make build && make deploy
##################################################################################
- name: Cleanup
run: make docker-clean
##################################################################################
- name: "Build and Deploy Perfocre Proxy r20.1 Image:"
run: cd linux/ecosystem/perforce/p4p/r20.1 && pwd && make build && make deploy
- name: "Build and Deploy Perfocre Proxy r20.2 Image:"
run: cd linux/ecosystem/perforce/p4p/r20.2 && pwd && make build && make deploy
- name: "Build and Deploy Perfocre Proxy r21.1 Image:"
run: cd linux/ecosystem/perforce/p4p/r21.1 && pwd && make build && make deploy
- name: "Build and Deploy Perfocre Proxy r21.2 Image:"
run: cd linux/ecosystem/perforce/p4p/r21.2 && pwd && make build && make deploy
##################################################################################
- name: Cleanup
run: make docker-clean
##################################################################################
- name: "Build and Deploy Perfocre Proxy r22.1 Image:"
run: cd linux/ecosystem/perforce/p4p/r22.1 && pwd && make build && make deploy
- name: "Build and Deploy Perfocre Proxy r23.1 Image:"
run: cd linux/ecosystem/perforce/p4p/r23.1 && pwd && make build && make deploy
- name: "Build and Deploy Perfocre Proxy r23.2 Image:"
run: cd linux/ecosystem/perforce/p4p/r23.2 && pwd && make build && make deploy
##################################################################################
- name: Cleanup
run: make docker-clean