From 1ac898933dd28d43673a890d9cf7b9e96bc49dc1 Mon Sep 17 00:00:00 2001 From: KryukovaPolina <32718724+KryukovaPolina@users.noreply.github.com> Date: Thu, 12 Feb 2026 14:55:59 +0300 Subject: [PATCH 01/11] feat: run test pipeline --- .github/workflows/run_tests.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run_tests.yaml b/.github/workflows/run_tests.yaml index d56741cd..d86c40da 100644 --- a/.github/workflows/run_tests.yaml +++ b/.github/workflows/run_tests.yaml @@ -6,9 +6,10 @@ permissions: actions: read on: - pull_request: - types: [opened, synchronize, reopened] - branches: [main] + push +# pull_request: +# types: [opened, synchronize, reopened] +# branches: [main] jobs: # Wait-for-images: From b715954bf3c77e32a7442ad012526e3b0bec3f3f Mon Sep 17 00:00:00 2001 From: KryukovaPolina <32718724+KryukovaPolina@users.noreply.github.com> Date: Wed, 18 Mar 2026 01:17:30 +0300 Subject: [PATCH 02/11] feat: run tests v1.6.0 --- .github/workflows/run_tests.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/run_tests.yaml b/.github/workflows/run_tests.yaml index e572056f..574ca63b 100644 --- a/.github/workflows/run_tests.yaml +++ b/.github/workflows/run_tests.yaml @@ -49,4 +49,3 @@ jobs: exit 1 fi echo "All tests completed successfully or not required" - From ef398dc644dbf8d77fd288da5e09f640a685dbfd Mon Sep 17 00:00:00 2001 From: KryukovaPolina <32718724+KryukovaPolina@users.noreply.github.com> Date: Wed, 18 Mar 2026 01:25:09 +0300 Subject: [PATCH 03/11] feat: run tests v1.6.0 --- .github/workflows/build.yaml | 59 ++++++++++++++++++------------------ 1 file changed, 30 insertions(+), 29 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index c114de14..a1a28bb2 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -1,35 +1,36 @@ name: Build Pgskipper Components run-name: "Dev image for ${{ github.event.repository.name }}: ${{ github.run_number }} - ${{ github.actor }}" on: - release: - types: [created] - push: - branches: - - "main" - paths-ignore: - - "docs/**" - - "CODE-OF-CONDUCT.md" - - "CONTRIBUTING.md" - - "LICENSE" - - "README.md" - - "SECURITY.md" - pull_request: - branches: - - "**" - paths-ignore: - - "docs/**" - - "CODE-OF-CONDUCT.md" - - "CONTRIBUTING.md" - - "LICENSE" - - "README.md" - - "SECURITY.md" - workflow_dispatch: - inputs: - publish_docker: - description: "Publish images to ghcr.io/netcracker" - type: boolean - default: false - required: false + push +# release: +# types: [created] +# push: +# branches: +# - "main" +# paths-ignore: +# - "docs/**" +# - "CODE-OF-CONDUCT.md" +# - "CONTRIBUTING.md" +# - "LICENSE" +# - "README.md" +# - "SECURITY.md" +# pull_request: +# branches: +# - "**" +# paths-ignore: +# - "docs/**" +# - "CODE-OF-CONDUCT.md" +# - "CONTRIBUTING.md" +# - "LICENSE" +# - "README.md" +# - "SECURITY.md" +# workflow_dispatch: +# inputs: +# publish_docker: +# description: "Publish images to ghcr.io/netcracker" +# type: boolean +# default: false +# required: false permissions: contents: read From d206690b84573ef477dea6b9c9913b0afb484260 Mon Sep 17 00:00:00 2001 From: KryukovaPolina <32718724+KryukovaPolina@users.noreply.github.com> Date: Wed, 18 Mar 2026 11:55:57 +0300 Subject: [PATCH 04/11] feat: run test pipeline --- .github/workflows/build.yaml | 59 ++++++++++++++++++------------------ 1 file changed, 29 insertions(+), 30 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index a1a28bb2..c114de14 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -1,36 +1,35 @@ name: Build Pgskipper Components run-name: "Dev image for ${{ github.event.repository.name }}: ${{ github.run_number }} - ${{ github.actor }}" on: - push -# release: -# types: [created] -# push: -# branches: -# - "main" -# paths-ignore: -# - "docs/**" -# - "CODE-OF-CONDUCT.md" -# - "CONTRIBUTING.md" -# - "LICENSE" -# - "README.md" -# - "SECURITY.md" -# pull_request: -# branches: -# - "**" -# paths-ignore: -# - "docs/**" -# - "CODE-OF-CONDUCT.md" -# - "CONTRIBUTING.md" -# - "LICENSE" -# - "README.md" -# - "SECURITY.md" -# workflow_dispatch: -# inputs: -# publish_docker: -# description: "Publish images to ghcr.io/netcracker" -# type: boolean -# default: false -# required: false + release: + types: [created] + push: + branches: + - "main" + paths-ignore: + - "docs/**" + - "CODE-OF-CONDUCT.md" + - "CONTRIBUTING.md" + - "LICENSE" + - "README.md" + - "SECURITY.md" + pull_request: + branches: + - "**" + paths-ignore: + - "docs/**" + - "CODE-OF-CONDUCT.md" + - "CONTRIBUTING.md" + - "LICENSE" + - "README.md" + - "SECURITY.md" + workflow_dispatch: + inputs: + publish_docker: + description: "Publish images to ghcr.io/netcracker" + type: boolean + default: false + required: false permissions: contents: read From 0c0c8d447b9ebf3b9cbc3e8cf42157476d02cd72 Mon Sep 17 00:00:00 2001 From: KryukovaPolina <32718724+KryukovaPolina@users.noreply.github.com> Date: Wed, 18 Mar 2026 12:36:27 +0300 Subject: [PATCH 05/11] feat: run test pipeline --- .github/workflows/run_tests.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run_tests.yaml b/.github/workflows/run_tests.yaml index 574ca63b..649dd46d 100644 --- a/.github/workflows/run_tests.yaml +++ b/.github/workflows/run_tests.yaml @@ -6,10 +6,9 @@ permissions: actions: read on: - push -# pull_request: -# types: [opened, synchronize, reopened] -# branches: [main] + pull_request: + types: [opened, synchronize, reopened] + branches: [main] jobs: Wait-for-images: From dd00d9804836077ac37d7ec4087dfe113e014697 Mon Sep 17 00:00:00 2001 From: Tvion Date: Thu, 19 Mar 2026 17:12:41 +0500 Subject: [PATCH 06/11] fix: add common status --- .github/workflows/build.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index c114de14..68f9e43f 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -147,3 +147,25 @@ jobs: package-type: 'container' package-version-ids: ${{ steps.get-ids-for-delete.outputs.ids-for-delete }} if: ${{ steps.get-ids-for-delete.outputs.ids-for-delete != '' }} + services-build-status: + name: "Services Build Status" + runs-on: ubuntu-latest + needs: [prepare, build] + if: always() + steps: + - name: Check build status + run: | + if [[ "${{ needs.prepare.result }}" == "failure" || "${{ needs.prepare.result }}" == "cancelled" ]]; then + echo "Prepare job failed or was cancelled" + exit 1 + fi + if [[ "${{ needs.build.result }}" == "failure" || "${{ needs.build.result }}" == "cancelled" ]]; then + echo "Build job failed or was cancelled" + exit 1 + fi + if [[ "${{ needs.build.result }}" == "skipped" ]]; then + echo "Build job was skipped - this is OK" + exit 0 + fi + echo "All builds completed successfully!" + exit 0 From a625e1fc1c43c0c2669b9c3b2387e35b624ee59e Mon Sep 17 00:00:00 2001 From: Tvion Date: Thu, 19 Mar 2026 17:19:42 +0500 Subject: [PATCH 07/11] fix: add common status --- .github/workflows/build.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 68f9e43f..2d55ef84 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -93,6 +93,7 @@ jobs: build: name: ${{ matrix.component.name }} Image Build needs: [prepare] + if: needs.prepare.outputs.components != '' && needs.prepare.outputs.components != 'null' && needs.prepare.outputs.components != '[]' runs-on: ubuntu-latest permissions: contents: read From 9724fafa1205d8ad869d8486ccb5fb919040f55d Mon Sep 17 00:00:00 2001 From: Tvion Date: Thu, 19 Mar 2026 17:21:51 +0500 Subject: [PATCH 08/11] fix: fail test --- services/patroni/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/patroni/Dockerfile b/services/patroni/Dockerfile index a89fb781..8c8382f8 100644 --- a/services/patroni/Dockerfile +++ b/services/patroni/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:22.04 +FROM ubuntu:22.dddd04 USER root From 5a1420765af1689c110c2fedadd7515d03ca0bd5 Mon Sep 17 00:00:00 2001 From: Tvion Date: Thu, 19 Mar 2026 17:30:21 +0500 Subject: [PATCH 09/11] fix: fail test --- .github/workflows/build.yaml | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 2d55ef84..c114de14 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -93,7 +93,6 @@ jobs: build: name: ${{ matrix.component.name }} Image Build needs: [prepare] - if: needs.prepare.outputs.components != '' && needs.prepare.outputs.components != 'null' && needs.prepare.outputs.components != '[]' runs-on: ubuntu-latest permissions: contents: read @@ -148,25 +147,3 @@ jobs: package-type: 'container' package-version-ids: ${{ steps.get-ids-for-delete.outputs.ids-for-delete }} if: ${{ steps.get-ids-for-delete.outputs.ids-for-delete != '' }} - services-build-status: - name: "Services Build Status" - runs-on: ubuntu-latest - needs: [prepare, build] - if: always() - steps: - - name: Check build status - run: | - if [[ "${{ needs.prepare.result }}" == "failure" || "${{ needs.prepare.result }}" == "cancelled" ]]; then - echo "Prepare job failed or was cancelled" - exit 1 - fi - if [[ "${{ needs.build.result }}" == "failure" || "${{ needs.build.result }}" == "cancelled" ]]; then - echo "Build job failed or was cancelled" - exit 1 - fi - if [[ "${{ needs.build.result }}" == "skipped" ]]; then - echo "Build job was skipped - this is OK" - exit 0 - fi - echo "All builds completed successfully!" - exit 0 From 86e05b04ac797d244687ab1f9b77d054de0b300a Mon Sep 17 00:00:00 2001 From: Tvion Date: Thu, 19 Mar 2026 17:33:33 +0500 Subject: [PATCH 10/11] fix: fail test --- .github/workflows/build.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index c114de14..2d55ef84 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -93,6 +93,7 @@ jobs: build: name: ${{ matrix.component.name }} Image Build needs: [prepare] + if: needs.prepare.outputs.components != '' && needs.prepare.outputs.components != 'null' && needs.prepare.outputs.components != '[]' runs-on: ubuntu-latest permissions: contents: read @@ -147,3 +148,25 @@ jobs: package-type: 'container' package-version-ids: ${{ steps.get-ids-for-delete.outputs.ids-for-delete }} if: ${{ steps.get-ids-for-delete.outputs.ids-for-delete != '' }} + services-build-status: + name: "Services Build Status" + runs-on: ubuntu-latest + needs: [prepare, build] + if: always() + steps: + - name: Check build status + run: | + if [[ "${{ needs.prepare.result }}" == "failure" || "${{ needs.prepare.result }}" == "cancelled" ]]; then + echo "Prepare job failed or was cancelled" + exit 1 + fi + if [[ "${{ needs.build.result }}" == "failure" || "${{ needs.build.result }}" == "cancelled" ]]; then + echo "Build job failed or was cancelled" + exit 1 + fi + if [[ "${{ needs.build.result }}" == "skipped" ]]; then + echo "Build job was skipped - this is OK" + exit 0 + fi + echo "All builds completed successfully!" + exit 0 From 8ee3e0ccc5cdeb3a5af2417b7f25ae77de45a91a Mon Sep 17 00:00:00 2001 From: Tvion Date: Thu, 19 Mar 2026 18:03:18 +0500 Subject: [PATCH 11/11] fix: pass test --- services/patroni/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/patroni/Dockerfile b/services/patroni/Dockerfile index 8c8382f8..a89fb781 100644 --- a/services/patroni/Dockerfile +++ b/services/patroni/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:22.dddd04 +FROM ubuntu:22.04 USER root