From d19c8e91e31614ec72d164e5574c698ee27bb376 Mon Sep 17 00:00:00 2001 From: STAM Date: Tue, 13 Sep 2022 15:55:25 +0300 Subject: [PATCH] gha todo: - tc agents - atlassian latest - atlassian old --- .../workflows/epicmorg.base.images.nodejs.yml | 63 +++++++++++++++ .../epicmorg.base.images.postgresql.yml | 78 +++++++++++++++++++ Makefile | 59 ++++++++++++-- 3 files changed, 194 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/epicmorg.base.images.nodejs.yml create mode 100644 .github/workflows/epicmorg.base.images.postgresql.yml diff --git a/.github/workflows/epicmorg.base.images.nodejs.yml b/.github/workflows/epicmorg.base.images.nodejs.yml new file mode 100644 index 000000000..f1c61ae57 --- /dev/null +++ b/.github/workflows/epicmorg.base.images.nodejs.yml @@ -0,0 +1,63 @@ +name: EpicMorg EcoSystem NodeJS Images + +on: +# push: +# branches: +# - 'master' + schedule: + - cron: '5 5 * * 1,3,5' + +jobs: + + build-node-images: + name: Build EpicMorg NodeJS 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 NodeJS LTS Image:" + run: cd linux/ecosystem/nodejs/lts && pwd && make build && make deploy + + - name: "Build and Deploy NodeJS Current Image:" + run: cd linux/ecosystem/nodejs/current && pwd && make build && make deploy + + - name: "Build and Deploy NodeJS 10 Image:" + run: cd linux/ecosystem/nodejs/node10 && pwd && make build && make deploy + + - name: "Build and Deploy NodeJS 11 Image:" + run: cd linux/ecosystem/nodejs/node11 && pwd && make build && make deploy + + - name: "Build and Deploy NodeJS 12 Image:" + run: cd linux/ecosystem/nodejs/node12 && pwd && make build && make deploy + + - name: "Build and Deploy NodeJS 13 Image:" + run: cd linux/ecosystem/nodejs/node13 && pwd && make build && make deploy + + - name: "Build and Deploy NodeJS 14 Image:" + run: cd linux/ecosystem/nodejs/node14 && pwd && make build && make deploy + + - name: "Build and Deploy NodeJS 15 Image:" + run: cd linux/ecosystem/nodejs/node15 && pwd && make build && make deploy + + - name: "Build and Deploy NodeJS 16 Image:" + run: cd linux/ecosystem/nodejs/node16 && pwd && make build && make deploy + + - name: "Build and Deploy NodeJS 17 Image:" + run: cd linux/ecosystem/nodejs/node17 && pwd && make build && make deploy + + - name: "Build and Deploy NodeJS 18 Image:" + run: cd linux/ecosystem/nodejs/node18 && pwd && make build && make deploy + + - name: "Build and Deploy NodeJS 18 Image:" + run: cd linux/ecosystem/nodejs/node18 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean diff --git a/.github/workflows/epicmorg.base.images.postgresql.yml b/.github/workflows/epicmorg.base.images.postgresql.yml new file mode 100644 index 000000000..a8cf1fc45 --- /dev/null +++ b/.github/workflows/epicmorg.base.images.postgresql.yml @@ -0,0 +1,78 @@ +name: EpicMorg EcoSystem PostgreSQL Images + +on: +# push: +# branches: +# - 'master' + schedule: + - cron: '5 5 * * 1,3,5' + +jobs: + + build-pgsql-images: + name: Build EpicMorg PostgreSQL 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 PostgreSQL 8.2 Image:" + run: cd linux/ecosystem/postgres/8.2 && pwd && make build && make deploy + + - name: "Build and Deploy PostgreSQL 8.3 Image:" + run: cd linux/ecosystem/postgres/8.3 && pwd && make build && make deploy + + - name: "Build and Deploy PostgreSQL 8.4 Image:" + run: cd linux/ecosystem/postgres/8.4 && pwd && make build && make deploy + + - name: "Build and Deploy PostgreSQL 9.0 Image:" + run: cd linux/ecosystem/postgres/9.0 && pwd && make build && make deploy + + - name: "Build and Deploy PostgreSQL 9.1 Image:" + run: cd linux/ecosystem/postgres/9.1 && pwd && make build && make deploy + + - name: "Build and Deploy PostgreSQL 9.2 Image:" + run: cd linux/ecosystem/postgres/9.2 && pwd && make build && make deploy + + - name: "Build and Deploy PostgreSQL 9.3 Image:" + run: cd linux/ecosystem/postgres/9.3 && pwd && make build && make deploy + + - name: "Build and Deploy PostgreSQL 9.4 Image:" + run: cd linux/ecosystem/postgres/9.4 && pwd && make build && make deploy + + - name: "Build and Deploy PostgreSQL 9.5 Image:" + run: cd linux/ecosystem/postgres/9.5 && pwd && make build && make deploy + + - name: "Build and Deploy PostgreSQL 9.6 Image:" + run: cd linux/ecosystem/postgres/9.6 && pwd && make build && make deploy + + - name: "Build and Deploy PostgreSQL 10 Image:" + run: cd linux/ecosystem/postgres/10 && pwd && make build && make deploy + + - name: "Build and Deploy PostgreSQL 11 Image:" + run: cd linux/ecosystem/postgres/11 && pwd && make build && make deploy + + - name: "Build and Deploy PostgreSQL 12 Image:" + run: cd linux/ecosystem/postgres/12 && pwd && make build && make deploy + + - name: "Build and Deploy PostgreSQL 13 Image:" + run: cd linux/ecosystem/postgres/13 && pwd && make build && make deploy + + - name: "Build and Deploy PostgreSQL 14 Image:" + run: cd linux/ecosystem/postgres/14 && pwd && make build && make deploy + + - name: "Build and Deploy PostgreSQL 15 Image:" + run: cd linux/ecosystem/postgres/15 && pwd && make build && make deploy + + - name: "Build and Deploy PostgreSQL 16 Image:" + run: cd linux/ecosystem/postgres/16 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean diff --git a/Makefile b/Makefile index d0f275e9f..58a4dd397 100644 --- a/Makefile +++ b/Makefile @@ -261,6 +261,7 @@ ecosystem-apache2-images: cd `pwd`/linux/ecosystem/apache2/php8.0 && pwd && make build && make deploy ecosystem-testrail-images: + cd `pwd`/linux/ecosystem/cassandra/3.11 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/testrail/latest && pwd && make build && make deploy cd `pwd`/linux/ecosystem/testrail/ad && pwd && make build && make deploy cd `pwd`/linux/ecosystem/testrail/ldap && pwd && make build && make deploy @@ -290,6 +291,19 @@ ecosystem-vk2discord-images: ecosystem-qbittorrent-images: cd `pwd`/linux/ecosystem/qbittorrent && pwd && make build && make deploy +ecosystem-retracker-images: + cd `pwd`/linux/ecosystem/retracker && pwd && make build && make deploy + +ecosystem-opentracker-images: + cd `pwd`/linux/ecosystem/opentracker && pwd && make build && make deploy + +ecosystem-torrust-tracker-images: + cd `pwd`/linux/ecosystem/torrust-tracker && pwd && make build && make deploy + +ecosystem-monero-images: + cd `pwd`/linux/ecosystem/monero/monerod && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/monero/p2pool && pwd && make build && make deploy + ecosystem-postgres-images: cd `pwd`/linux/ecosystem/postgres/latest && pwd && make build && make deploy cd `pwd`/linux/ecosystem/postgres/8.2 && pwd && make build && make deploy @@ -307,6 +321,8 @@ ecosystem-postgres-images: cd `pwd`/linux/ecosystem/postgres/12 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/postgres/13 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/postgres/14 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/postgres/15 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/postgres/16 && pwd && make build && make deploy ecosystem-teamcity-agent-images: cd `pwd`/linux/ecosystem/teamcity/agent/latest && pwd && make build && make deploy @@ -342,6 +358,34 @@ ecosystem-vscode-server-images: cd `pwd`/linux/advanced/vscode-server/dotnet && pwd && make build && make deploy cd `pwd`/linux/advanced/vscode-server/mono && pwd && make build && make deploy +ecosystem-perforce-base-images: + cd `pwd`/linuxecosystem/perforce/base/r16.2 && pwd && make build && make deploy + cd `pwd`/linuxecosystem/perforce/base/r17.1 && pwd && make build && make deploy + cd `pwd`/linuxecosystem/perforce/base/r17.2 && pwd && make build && make deploy + cd `pwd`/linuxecosystem/perforce/base/r18.1 && pwd && make build && make deploy + cd `pwd`/linuxecosystem/perforce/base/r18.2 && pwd && make build && make deploy + cd `pwd`/linuxecosystem/perforce/base/r19.1 && pwd && make build && make deploy + cd `pwd`/linuxecosystem/perforce/base/r19.2 && pwd && make build && make deploy + cd `pwd`/linuxecosystem/perforce/base/r20.1 && pwd && make build && make deploy + cd `pwd`/linuxecosystem/perforce/base/r20.2 && pwd && make build && make deploy + cd `pwd`/linuxecosystem/perforce/base/r21.1 && pwd && make build && make deploy + cd `pwd`/linuxecosystem/perforce/base/r21.2 && pwd && make build && make deploy + cd `pwd`/linuxecosystem/perforce/base/r22.1 && pwd && make build && make deploy + +ecosystem-perforce-proxy-images: + cd `pwd`/linuxecosystem/perforce/p4p/r16.2 && pwd && make build && make deploy + cd `pwd`/linuxecosystem/perforce/p4p/r17.1 && pwd && make build && make deploy + cd `pwd`/linuxecosystem/perforce/p4p/r17.2 && pwd && make build && make deploy + cd `pwd`/linuxecosystem/perforce/p4p/r18.1 && pwd && make build && make deploy + cd `pwd`/linuxecosystem/perforce/p4p/r18.2 && pwd && make build && make deploy + cd `pwd`/linuxecosystem/perforce/p4p/r19.1 && pwd && make build && make deploy + cd `pwd`/linuxecosystem/perforce/p4p/r19.2 && pwd && make build && make deploy + cd `pwd`/linuxecosystem/perforce/p4p/r20.1 && pwd && make build && make deploy + cd `pwd`/linuxecosystem/perforce/p4p/r20.2 && pwd && make build && make deploy + cd `pwd`/linuxecosystem/perforce/p4p/r21.1 && pwd && make build && make deploy + cd `pwd`/linuxecosystem/perforce/p4p/r21.2 && pwd && make build && make deploy + cd `pwd`/linuxecosystem/perforce/p4p/r22.1 && pwd && make build && make deploy + bundle-base-images: @echo "=======================================" @echo "===== Building EpicMorg images =====" @@ -362,13 +406,10 @@ bundle-atlassian: @echo "=======================================" cd `pwd`/linux/ecosystem/atlassian/bitbucket/latest && pwd && make build && make deploy cd `pwd`/linux/ecosystem/atlassian/confluence/latest && pwd && make build && make deploy -# cd `pwd`/linux/ecosystem/atlassian/crucible/latest && pwd && make build && make deploy -# cd `pwd`/linux/ecosystem/atlassian/fisheye/latest && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/crucible/latest && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/fisheye/latest && pwd && make build && make deploy cd `pwd`/linux/ecosystem/atlassian/fisheye-crucible/latest && pwd && make build && make deploy cd `pwd`/linux/ecosystem/atlassian/jira/latest && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/atlassian/jira/8/8.22.0 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/atlassian/jira/8/8.22.1 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/atlassian/jira/8/8.22.2 && pwd && make build && make deploy bundle-web: @echo "=======================================" @@ -377,4 +418,10 @@ bundle-web: make ecosystem-php-images make ecosystem-apache2-images make ecosystem-nginx-images - \ No newline at end of file + +bundle-p4: + @echo "=======================================" + @echo "===== Building p4 images =====" + @echo "=======================================" + make ecosystem-perforce-base-images + make ecosystem-perforce-proxy-images \ No newline at end of file