From 98b84194cf809e3cc90af18bbc6183de126b8f6a Mon Sep 17 00:00:00 2001 From: STAM Date: Tue, 13 Sep 2022 16:10:54 +0300 Subject: [PATCH] gha todo: - old atlassian images --- ...epicmorg.base.images.current.atlassian.yml | 45 ++++++++++ .../epicmorg.base.images.teamcity.agents.yml | 90 +++++++++++++++++++ 2 files changed, 135 insertions(+) create mode 100644 .github/workflows/epicmorg.base.images.current.atlassian.yml create mode 100644 .github/workflows/epicmorg.base.images.teamcity.agents.yml diff --git a/.github/workflows/epicmorg.base.images.current.atlassian.yml b/.github/workflows/epicmorg.base.images.current.atlassian.yml new file mode 100644 index 000000000..dd8ca11ac --- /dev/null +++ b/.github/workflows/epicmorg.base.images.current.atlassian.yml @@ -0,0 +1,45 @@ +name: EpicMorg EcoSystem Atlassian Main Images + +on: +# push: +# branches: +# - 'master' + schedule: + - cron: '5 5 * * 1,3,5' + +jobs: + + build-10-images: + name: Build EpicMorg Atlassian Main 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 Atlassian Bitbucket Image:" + run: cd linux/ecosystem/atlassian/bitbucket/latest && pwd && make build && make deploy + + - name: "Build and Deploy Atlassian Confluence Image:" + run: cd linux/ecosystem/atlassian/confluence/latest && pwd && make build && make deploy + + - name: "Build and Deploy Atlassian Crucible Image:" + run: cd linux/ecosystem/atlassian/crucible/latest && pwd && make build && make deploy + + - name: "Build and Deploy Atlassian Fisheye Image:" + run: cd linux/ecosystem/atlassian/fisheye/latest && pwd && make build && make deploy + + - name: "Build and Deploy Atlassian Fisheye + Crucible Image:" + run: cd linux/ecosystem/atlassian/fisheye-crucible/latest && pwd && make build && make deploy + + - name: "Build and Deploy Atlassian Jira Image:" + run: cd linux/ecosystem/atlassian/jira/latest && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean diff --git a/.github/workflows/epicmorg.base.images.teamcity.agents.yml b/.github/workflows/epicmorg.base.images.teamcity.agents.yml new file mode 100644 index 000000000..7d05666e9 --- /dev/null +++ b/.github/workflows/epicmorg.base.images.teamcity.agents.yml @@ -0,0 +1,90 @@ +name: EpicMorg EcoSystem TeamCity Agents Images + +on: +# push: +# branches: +# - 'master' + schedule: + - cron: '4 4 * * 2,4,6' + +jobs: + + build-tca-main-images: + name: Build EpicMorg TeamCity Agent Main 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 TeamCity Agent Main Image:" + run: cd linux/ecosystem/teamcity/agent/latest && pwd && make build && make deploy + +################################################################################## + + build-tca-other-images: + name: Build EpicMorg TeamCity Agent Oter Images + runs-on: ubuntu-22.04 + needs: build-tca-main-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 TeamCity Agent amxX SDK Image:" + run: cd linux/ecosystem/teamcity/agent/amxx-sdk && pwd && make build && make deploy + + - name: "Build and Deploy TeamCity Agent Android SDK Image:" + run: cd linux/ecosystem/teamcity/agent/android-sdk && pwd && make build && make deploy + + - name: "Build and Deploy TeamCity Agent Atlassian SDK Image:" + run: cd linux/ecosystem/teamcity/agent/atlassian-sdk && pwd && make build && make deploy + + - name: "Build and Deploy TeamCity Agent dotNet SDK Image:" + run: cd linux/ecosystem/teamcity/agent/dotnet-sdk && pwd && make build && make deploy + + - name: "Build and Deploy TeamCity Agent node12 Image:" + run: cd linux/ecosystem/teamcity/agent/node12 && pwd && make build && make deploy + + - name: "Build and Deploy TeamCity Agent node14 Image:" + run: cd linux/ecosystem/teamcity/agent/node14 && pwd && make build && make deploy + + - name: "Build and Deploy TeamCity Agent node15 Image:" + run: cd linux/ecosystem/teamcity/agent/node15 && pwd && make build && make deploy + + - name: "Build and Deploy TeamCity Agent node16 Image:" + run: cd linux/ecosystem/teamcity/agent/node16 && pwd && make build && make deploy + + - name: "Build and Deploy TeamCity Agent node17 Image:" + run: cd linux/ecosystem/teamcity/agent/node17 && pwd && make build && make deploy + + - name: "Build and Deploy TeamCity Agent node18 Image:" + run: cd linux/ecosystem/teamcity/agent/node18 && pwd && make build && make deploy + + - name: "Build and Deploy TeamCity Agent php7.2 Image:" + run: cd linux/ecosystem/teamcity/agent/php7.2 && pwd && make build && make deploy + + - name: "Build and Deploy TeamCity Agent php7.3 Image:" + run: cd linux/ecosystem/teamcity/agent/php7.3 && pwd && make build && make deploy + + - name: "Build and Deploy TeamCity Agent php7.4 Image:" + run: cd linux/ecosystem/teamcity/agent/php7.4 && pwd && make build && make deploy + + - name: "Build and Deploy TeamCity Agent php8.0 Image:" + run: cd linux/ecosystem/teamcity/agent/php8.0 && pwd && make build && make deploy + + - name: "Build and Deploy TeamCity Agent Steam SDK Image:" + run: cd linux/ecosystem/teamcity/agent/steam-sdk && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean