From 71e2918103eb350b158c89c529e004cd5f2503ed Mon Sep 17 00:00:00 2001 From: Fedor Borshev <1592663+f213@users.noreply.github.com> Date: Sat, 27 Jul 2024 11:12:50 +0300 Subject: [PATCH] CI deps update (#2370) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Disabled test results publishing for bots (Attempt to fight «resource not accessible by integration» error * CI deps version bump --- .github/workflows/ci.yml | 28 ++++++++++++++-------------- .github/workflows/crossplatform.yml | 10 +++++----- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eccf9ce40d7..e715e34a017 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -71,14 +71,14 @@ jobs: - name: publish test results uses: phoenix-actions/test-reporting@v13 - if: always() + if: ${{ !contains(github.triggering_actor, '[bot]') }} with: name: Test results path: "junit-*.xml" reporter: java-junit - name: upload code coverage to codeclimate - uses: paambaati/codeclimate-action@v3.2.0 + uses: paambaati/codeclimate-action@v8.0.0 env: CC_TEST_REPORTER_ID: dd4cac59d43b52ee4c29cfed9d5162098a49ff65d9e72003abc1fa65cd608f1d with: @@ -96,19 +96,19 @@ jobs: uses: ./.github/actions/build - name: set up qemu - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: set up buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: generate image identifier id: image - uses: ASzc/change-string-case-action@v5 + uses: ASzc/change-string-case-action@v6 with: string: ${{ github.repository_owner }} - name: login to ghcr - uses: docker/login-action@v2 + uses: docker/login-action@v3 if: ${{ github.ref == 'refs/heads/master' }} with: registry: ghcr.io @@ -116,7 +116,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: build web image - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v6 with: context: . target: web @@ -132,7 +132,7 @@ jobs: cache-to: type=gha,mode=max - name: build worker image - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v6 with: context: . target: worker @@ -147,7 +147,7 @@ jobs: cache-to: type=gha,mode=max - name: build scheduler image - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v6 with: context: . target: scheduler @@ -186,7 +186,7 @@ jobs: string: ${{ github.repository_owner }} - name: update backend image - uses: appleboy/ssh-action@v0.1.7 + uses: appleboy/ssh-action@v1.0.3 with: host: ${{ secrets.DEPLOY_HOST }} username: circle @@ -194,7 +194,7 @@ jobs: script: docker service update app_backend --image ghcr.io/${{ steps.image.outputs.lowercase }}/monolith-web:${{ github.sha }} --with-registry-auth - name: update celery worker image - uses: appleboy/ssh-action@v0.1.7 + uses: appleboy/ssh-action@v1.0.3 with: host: ${{ secrets.DEPLOY_HOST }} username: circle @@ -202,7 +202,7 @@ jobs: script: docker service update app_worker --image ghcr.io/${{ steps.image.outputs.lowercase }}/monolith-worker:${{ github.sha }} --with-registry-auth - name: update amocrm worker image - uses: appleboy/ssh-action@v0.1.7 + uses: appleboy/ssh-action@v1.0.3 with: host: ${{ secrets.DEPLOY_HOST }} username: circle @@ -210,7 +210,7 @@ jobs: script: docker service update app_amocrm-worker --image ghcr.io/${{ steps.image.outputs.lowercase }}/monolith-worker:${{ github.sha }} --with-registry-auth - name: update notion worker image - uses: appleboy/ssh-action@v0.1.7 + uses: appleboy/ssh-action@v1.0.3 with: host: ${{ secrets.DEPLOY_HOST }} username: circle @@ -218,7 +218,7 @@ jobs: script: docker service update app_notion-worker --image ghcr.io/${{ steps.image.outputs.lowercase }}/monolith-worker:${{ github.sha }} --with-registry-auth - name: update celery scheduler image - uses: appleboy/ssh-action@v0.1.7 + uses: appleboy/ssh-action@v1.0.3 with: host: ${{ secrets.DEPLOY_HOST }} username: circle diff --git a/.github/workflows/crossplatform.yml b/.github/workflows/crossplatform.yml index 668126633c3..ef2cd959618 100644 --- a/.github/workflows/crossplatform.yml +++ b/.github/workflows/crossplatform.yml @@ -67,19 +67,19 @@ jobs: uses: ./.github/actions/build - name: set up qemu - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: set up buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: generate image identifier id: image - uses: ASzc/change-string-case-action@v5 + uses: ASzc/change-string-case-action@v6 with: string: ${{ github.repository_owner }} - name: login to ghcr - uses: docker/login-action@v2 + uses: docker/login-action@v3 if: ${{ github.ref == 'refs/heads/master' }} with: registry: ghcr.io @@ -87,7 +87,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: build dev image - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v6 with: context: . target: web