From 265a20f9aa996dda85528459970d25b61e64fc32 Mon Sep 17 00:00:00 2001 From: STAM Date: Mon, 21 Apr 2025 18:31:06 +0300 Subject: [PATCH] gha update --- ...s.yml => epicmorg.advanced.mattermost.yml} | 5 +- .../epicmorg.advanced.vscode.images.yml | 2 - .../epicmorg.base.images.teamcity.agents.yml | 2 - .../epicmorg.base.images.teamcity.servers.yml | 77 +++++++++++++++++++ .../epicmorg.experimental.images.yml | 4 +- 5 files changed, 80 insertions(+), 10 deletions(-) rename .github/workflows/{epicmorg.advanced.images.yml => epicmorg.advanced.mattermost.yml} (87%) create mode 100644 .github/workflows/epicmorg.base.images.teamcity.servers.yml diff --git a/.github/workflows/epicmorg.advanced.images.yml b/.github/workflows/epicmorg.advanced.mattermost.yml similarity index 87% rename from .github/workflows/epicmorg.advanced.images.yml rename to .github/workflows/epicmorg.advanced.mattermost.yml index 15ee75899..7da95878d 100644 --- a/.github/workflows/epicmorg.advanced.images.yml +++ b/.github/workflows/epicmorg.advanced.mattermost.yml @@ -1,4 +1,4 @@ -name: EpicMorg Advanced Images +name: EpicMorg Mattermost Image on: workflow_dispatch: @@ -36,9 +36,6 @@ jobs: - name: "Build and Deploy Advanced Mattermost Images:" run: cd linux/advanced/mattermost && pwd && make build && make deploy - - name: "Build and Deploy Advanced Teamcity Server Image:" - run: cd linux/advanced/teamcity/server/latest && pwd && make build && make deploy - ################################################################################## - name: Cleanup diff --git a/.github/workflows/epicmorg.advanced.vscode.images.yml b/.github/workflows/epicmorg.advanced.vscode.images.yml index 4fbc3fa53..d550da363 100644 --- a/.github/workflows/epicmorg.advanced.vscode.images.yml +++ b/.github/workflows/epicmorg.advanced.vscode.images.yml @@ -26,8 +26,6 @@ jobs: - name: Check buildah run: | buildah --version - echo 'unqualified-search-registries = ["docker.io"]' >> /etc/containers/registries.conf - buildah info - name: Test Make run: make diff --git a/.github/workflows/epicmorg.base.images.teamcity.agents.yml b/.github/workflows/epicmorg.base.images.teamcity.agents.yml index 81726725e..eb6412e28 100644 --- a/.github/workflows/epicmorg.base.images.teamcity.agents.yml +++ b/.github/workflows/epicmorg.base.images.teamcity.agents.yml @@ -30,8 +30,6 @@ jobs: - name: Test Make run: make - - - name: "Build and Deploy TeamCity Agent Minimal Image (jdk21):" run: cd linux/ecosystem/teamcity/agent/minimal && pwd && make build && make deploy diff --git a/.github/workflows/epicmorg.base.images.teamcity.servers.yml b/.github/workflows/epicmorg.base.images.teamcity.servers.yml new file mode 100644 index 000000000..46f717fef --- /dev/null +++ b/.github/workflows/epicmorg.base.images.teamcity.servers.yml @@ -0,0 +1,77 @@ +name: EpicMorg EcoSystem TeamCity Servers Images + +on: + workflow_dispatch: + schedule: + - cron: '0 08 * * 2,4,6' + +jobs: + + build-tcs-main-images: + name: Build EpicMorg TeamCity Agent Main Images + runs-on: [ubuntu-24.04] + + steps: + - uses: actions/checkout@v4 + + - name: Log into docker registry + run: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin + + - name: Log into Quay.IO registry + run: echo "${{ secrets.QUAY_SERVER_KEY }}" | docker login -u "${{ secrets.QUAY_SERVER_LOGIN }}" --password-stdin "${{ secrets.QUAY_SERVER_URL }}" + +# - name: Log into harbor registry +# run: echo "${{ secrets.HARBOR_SERVER_KEY }}" | docker login -u "${{ secrets.HARBOR_SERVER_LOGIN }}" --password-stdin "${{ secrets.HARBOR_SERVER_URL }}" + + - name: Check buildah + run: | + buildah --version + + - name: Test Make + run: make + + - name: "Build and Deploy Advanced Teamcity Server Image:" + run: cd linux/advanced/teamcity/server/latest && pwd && make build && make deploy + + - name: "Build and Deploy Advanced Teamcity Server 2025.03 Image:" + run: cd linux/advanced/teamcity/server/2025.03 && pwd && make build && make deploy + + + - name: "Build and Deploy Advanced Teamcity Server 2024.12 Image:" + run: cd linux/advanced/teamcity/server/2024.12 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make clean + +################################################################################## + + - name: "Build and Deploy Advanced Teamcity Server 2024.07.3 Image:" + run: cd linux/advanced/teamcity/server/2024.07.3 && pwd && make build && make deploy + + - name: "Build and Deploy Advanced Teamcity Server 2024.03.3 Image:" + run: cd linux/advanced/teamcity/server/2024.03.3 && pwd && make build && make deploy + + - name: "Build and Deploy Advanced Teamcity Server 2023.05.6 Image:" + run: cd linux/advanced/teamcity/server/2023.05.6 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make clean + +################################################################################## + + - name: "Build and Deploy Advanced Teamcity Server 2022.10.6 Image:" + run: cd linux/advanced/teamcity/server/2022.10.6 && pwd && make build && make deploy + + - name: "Build and Deploy Advanced Teamcity Server 2022.04.7 Image:" + run: cd linux/advanced/teamcity/server/2022.04.7&& pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make clean + +################################################################################## diff --git a/.github/workflows/epicmorg.experimental.images.yml b/.github/workflows/epicmorg.experimental.images.yml index e382c9ad9..89b708e0a 100644 --- a/.github/workflows/epicmorg.experimental.images.yml +++ b/.github/workflows/epicmorg.experimental.images.yml @@ -2,8 +2,8 @@ name: EpicMorg experimental Images on: workflow_dispatch: - schedule: - - cron: '0 01 * * 2,4,6' +# schedule: +# - cron: '0 01 * * 2,4,6' jobs: