Skip to content

Commit

Permalink
Merge pull request #818 from makerdao/develop
Browse files Browse the repository at this point in the history
Update GHA
  • Loading branch information
eskp authored Aug 9, 2024
2 parents 8da238d + 4535f2f commit 8092540
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 9 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/angular-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
- ".github/workflows/angular-dev.yml"
- "helm/staging/frontend*"

permissions:
id-token: write
contents: read

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -25,8 +29,8 @@ jobs:
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.STAGING_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.STAGING_AWS_SECRET_ACCESS_KEY }}
role-to-assume: ${{ secrets.GA_OIDC_EKS_STAGING }}
role-session-name: AngularDevMips
aws-region: ${{ env.REGION }}

- name: Login to AWS ECR
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/angular-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
- ".github/workflows/angular-prod.yml"
- "helm/prod/frontend*"

permissions:
id-token: write
contents: read

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -25,8 +29,8 @@ jobs:
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.PROD_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.PROD_AWS_SECRET_ACCESS_KEY }}
role-to-assume: ${{ secrets.GA_OIDC_EKS_PROD }}
role-session-name: AngularProdMips
aws-region: ${{ env.REGION }}

- name: Login to AWS ECR
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/node.js-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
- ".github/workflows/node.js-dev.yml"
- "helm/staging/backend*"

permissions:
id-token: write
contents: read

jobs:
build-deploy:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -39,8 +43,8 @@ jobs:
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.STAGING_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.STAGING_AWS_SECRET_ACCESS_KEY }}
role-to-assume: ${{ secrets.GA_OIDC_EKS_STAGING }}
role-session-name: NodeDevMips
aws-region: ${{ env.REGION }}

- name: Login to AWS ECR
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/node.js-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
- ".github/workflows/node.js-prod.yml"
- "helm/prod/backend*"

permissions:
id-token: write
contents: read

jobs:
build-deploy:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -39,8 +43,8 @@ jobs:
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.PROD_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.PROD_AWS_SECRET_ACCESS_KEY }}
role-to-assume: ${{ secrets.GA_OIDC_EKS_PROD }}
role-session-name: NodeProdMips
aws-region: ${{ env.REGION }}

- name: Login to AWS ECR
Expand Down
2 changes: 1 addition & 1 deletion backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RUN npm install
COPY . .
RUN npm run build

FROM mongo:4.4.8-focal
FROM mongo:5-focal

ARG DEBIAN_FRONTEND=noninteractive
ARG REQUEST_GITHUB_URL_API_ENDPOINT
Expand Down
1 change: 1 addition & 0 deletions backend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

## Description


## Installation

```bash
Expand Down

0 comments on commit 8092540

Please sign in to comment.