Skip to content

Commit

Permalink
CI deps update (#2370)
Browse files Browse the repository at this point in the history
* Disabled test results publishing for bots (Attempt to fight «resource not accessible by integration» error
* CI deps version bump
  • Loading branch information
f213 authored Jul 27, 2024
1 parent 0ff570f commit 71e2918
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -96,27 +96,27 @@ 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
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: build web image
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
context: .
target: web
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -186,39 +186,39 @@ 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
key: ${{ secrets.DEPLOY_KEY }}
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
key: ${{ secrets.DEPLOY_KEY }}
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
key: ${{ secrets.DEPLOY_KEY }}
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
key: ${{ secrets.DEPLOY_KEY }}
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
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/crossplatform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,27 +67,27 @@ 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
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: build dev image
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
context: .
target: web
Expand Down

0 comments on commit 71e2918

Please sign in to comment.