From 81b793b95c9740cbc1a8a09d1b3d423b31abe7c5 Mon Sep 17 00:00:00 2001 From: STAM Date: Tue, 13 Sep 2022 15:34:13 +0300 Subject: [PATCH] gha --- .../workflows/epicmorg.base.images.legacy.yml | 1 - .../epicmorg.base.images.perforce.yml | 114 ++++++++++++++++++ .../workflows/epicmorg.base.images.web.yml | 28 ++--- 3 files changed, 128 insertions(+), 15 deletions(-) create mode 100644 .github/workflows/epicmorg.base.images.perforce.yml diff --git a/.github/workflows/epicmorg.base.images.legacy.yml b/.github/workflows/epicmorg.base.images.legacy.yml index 2675737f8..085f071ff 100644 --- a/.github/workflows/epicmorg.base.images.legacy.yml +++ b/.github/workflows/epicmorg.base.images.legacy.yml @@ -52,7 +52,6 @@ jobs: - name: "Build and Deploy Debian 7 develop Image:" run: cd linux/ecosystem/epicmorg/debian/07-wheezy/develop && pwd && make build && make deploy - ################################################################################## diff --git a/.github/workflows/epicmorg.base.images.perforce.yml b/.github/workflows/epicmorg.base.images.perforce.yml new file mode 100644 index 000000000..563fcfef7 --- /dev/null +++ b/.github/workflows/epicmorg.base.images.perforce.yml @@ -0,0 +1,114 @@ +name: EpicMorg EcoSystem Perfocre Images + +on: +# push: +# branches: +# - 'master' + schedule: + - cron: '4 4 * * 1,3,5' + +jobs: + + build-p4-images: + name: Build EpicMorg Perfocre Images + runs-on: ubuntu-22.04 + + steps: + - uses: actions/checkout@v2 + - 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: "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: "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: "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: "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 + +################################################################################## + + build-p4p-images: + name: Build EpicMorg Perfocre Proxy Images + runs-on: ubuntu-22.04 + needs: build-p4-images + + steps: + - uses: actions/checkout@v2 + - 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: "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: "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: "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: "Build and Deploy Perfocre Proxy r22.1 Image:" + run: cd linux/ecosystem/perforce/p4p/r22.1 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean diff --git a/.github/workflows/epicmorg.base.images.web.yml b/.github/workflows/epicmorg.base.images.web.yml index dc50cfebb..faa0461be 100644 --- a/.github/workflows/epicmorg.base.images.web.yml +++ b/.github/workflows/epicmorg.base.images.web.yml @@ -22,19 +22,19 @@ jobs: run: make - name: "Build and Deploy PHP Latest Image:" - run: cd /linux/ecosystem/php/latest && pwd && make build && make deploy + run: cd linux/ecosystem/php/latest && pwd && make build && make deploy - name: "Build and Deploy PHP 7.2 Image:" - run: cd /linux/ecosystem/php/7.2 && pwd && make build && make deploy + run: cd linux/ecosystem/php/7.2 && pwd && make build && make deploy - name: "Build and Deploy PHP 7.3 Image:" - run: cd /linux/ecosystem/php/7.3 && pwd && make build && make deploy + run: cd linux/ecosystem/php/7.3 && pwd && make build && make deploy - name: "Build and Deploy PHP 7.4 Image:" - run: cd /linux/ecosystem/php/7.4 && pwd && make build && make deploy + run: cd linux/ecosystem/php/7.4 && pwd && make build && make deploy - name: "Build and Deploy PHP 8.0 Image:" - run: cd /linux/ecosystem/php/8.0 && pwd && make build && make deploy + run: cd linux/ecosystem/php/8.0 && pwd && make build && make deploy ################################################################################## @@ -52,19 +52,19 @@ jobs: run: make - name: "Build and Deploy Apache 2 Latest Image:" - run: cd /linux/ecosystem/apache2/latest && pwd && make build && make deploy + run: cd linux/ecosystem/apache2/latest && pwd && make build && make deploy - name: "Build and Deploy Apache 2 + PHP 7.2 Image:" - run: cd /linux/ecosystem/apache2/7.2 && pwd && make build && make deploy + run: cd linux/ecosystem/apache2/7.2 && pwd && make build && make deploy - name: "Build and Deploy Apache 2 + PHP 7.3 Image:" - run: cd /linux/ecosystem/apache2/7.3 && pwd && make build && make deploy + run: cd linux/ecosystem/apache2/7.3 && pwd && make build && make deploy - name: "Build and Deploy Apache 2 + PHP 7.4 Image:" - run: cd /linux/ecosystem/apache2/7.4 && pwd && make build && make deploy + run: cd linux/ecosystem/apache2/7.4 && pwd && make build && make deploy - name: "Build and Deploy Apache 2 + PHP 8.0 Image:" - run: cd /linux/ecosystem/apache2/8.0 && pwd && make build && make deploy + run: cd linux/ecosystem/apache2/8.0 && pwd && make build && make deploy ################################################################################## @@ -106,16 +106,16 @@ jobs: run: make - name: "Build and Deploy Cassandra 3.11 Image:" - run: cd /linux/ecosystem/cassandra/3.11 && pwd && make build && make deploy + run: cd linux/ecosystem/cassandra/3.11 && pwd && make build && make deploy - name: "Build and Deploy Testrail Image:" - run: cd /linux/ecosystem/testrail/latest && pwd && make build && make deploy + run: cd linux/ecosystem/testrail/latest && pwd && make build && make deploy - name: "Build and Deploy Testrail + AD Image:" - run: cd /linux/ecosystem/testrail/ad && pwd && make build && make deploy + run: cd linux/ecosystem/testrail/ad && pwd && make build && make deploy - name: "Build and Deploy Testrail + LDAP Image:" - run: cd /linux/ecosystem/testrail/ldap && pwd && make build && make deploy + run: cd linux/ecosystem/testrail/ldap && pwd && make build && make deploy ##################################################################################