Skip to content

Commit

Permalink
Merge pull request #2508 from fluidity-money/develop-upgrade-frontend…
Browse files Browse the repository at this point in the history
…-ci-node-version

Upgrade version of node during all ci stages to 20
  • Loading branch information
af-afk authored Jan 23, 2024
2 parents d1e1023 + 7a0f328 commit a56348e
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/mainnet-db-migration-auto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
with:
lfs: true
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1-node16
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: ap-southeast-2
role-to-assume: ${{ secrets.FLU_AWS_GITHUB_OIDC_ROLE }}
Expand All @@ -39,6 +39,6 @@ jobs:
if: always()
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
with:
with:
command: |
flu send-discord --webhook-url ${{ secrets.FLU_CI_DISCORD_WEBHOOK_URL }} --status ${{ job.status }}
2 changes: 1 addition & 1 deletion .github/workflows/mainnet-db-migration-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
with:
lfs: true
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1-node16
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: ap-southeast-2
role-to-assume: ${{ secrets.FLU_AWS_GITHUB_OIDC_ROLE }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mainnet-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
fetch-depth: 2
lfs: true
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1-node16
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: ap-southeast-2
role-to-assume: ${{ secrets.FLU_AWS_GITHUB_OIDC_ROLE }}
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
fetch-depth: 2
lfs: true
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1-node16
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: ap-southeast-2
role-to-assume: ${{ secrets.FLU_AWS_GITHUB_OIDC_ROLE }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mainnet-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
with:
lfs: true
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1-node16
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: ap-southeast-2
role-to-assume: ${{ secrets.FLU_AWS_GITHUB_OIDC_ROLE }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mainnet-microservices.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
fetch-depth: 2
lfs: true
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1-node16
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: ap-southeast-2
role-to-assume: ${{ secrets.FLU_AWS_GITHUB_OIDC_ROLE }}
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
fetch-depth: 2
lfs: true
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1-node16
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: ap-southeast-2
role-to-assume: ${{ secrets.FLU_AWS_GITHUB_OIDC_ROLE }}
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/rollback-prev-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
network:
type: choice
description: 'Network'
options:
options:
- 'fluidity'

permissions:
Expand All @@ -28,7 +28,7 @@ jobs:
fetch-depth: 0
lfs: true
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1-node16
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: ap-southeast-2
role-to-assume: ${{ secrets.FLU_AWS_GITHUB_OIDC_ROLE }}
Expand All @@ -49,7 +49,7 @@ jobs:
uses: ./scripts/actions
with:
command: |
echo ${{ env.PREVIOUS_COMMIT }}
flu build-docker \
--network ${{ github.event.inputs.network }} \
Expand All @@ -59,27 +59,27 @@ jobs:
--build-root-container true \
--build-build-container true \
--tag ${{ env.PREVIOUS_COMMIT }}
- name: Deploy
id: deploy
uses: ./scripts/actions
with:
command: |
flu deploy-service \
--network ${{ github.event.inputs.network }} \
--group all \
--service all \
--environment ${{ github.event.inputs.environment }} \
--debug false \
--tag ${{ env.PREVIOUS_COMMIT }}
- name: Discord
uses: ./scripts/actions
if: always()
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
with:
with:
command: |
flu send-discord --webhook-url ${{ secrets.FLU_CI_DISCORD_WEBHOOK_URL }} --status ${{ job.status }}
4 changes: 2 additions & 2 deletions .github/workflows/rollback.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
lfs: true
ref: ${{ github.event.inputs.rollbackTo }}
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1-node16
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: ap-southeast-2
role-to-assume: ${{ secrets.FLU_AWS_GITHUB_OIDC_ROLE }}
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1-node16
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: ap-southeast-2
role-to-assume: ${{ secrets.FLU_AWS_GITHUB_OIDC_ROLE }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
- name: Install nodejs
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
- name: Install rust
uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Install python
Expand Down

0 comments on commit a56348e

Please sign in to comment.