Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 0 additions & 72 deletions .github/workflows/aws-deploy-scanner-legacy.yml

This file was deleted.

1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ jobs:
path: '**/node_modules'
key: ${{ runner.OS }}-node-modules-${{ hashFiles('**/package-lock.json') }}
fail-on-cache-miss: true
- run: npm ci --prefix serverless/virus-scanner
- run: npm ci --prefix serverless/virus-scanner-guardduty
- run: npm ci --prefix serverless/pdf-gen-sparticuz
- name: Configure Datadog Test Visibility
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/deploy-ecs-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ jobs:
aws-region: 'ap-southeast-1'
ecr-repository: 'formsg'
# ECS configuration
ecs-cpu: 2048
ecs-cpu: 1024
formsg-app-reserved-cpu: 896
ecs-memory: 4096
ecs-cluster-name: 'formsg-prod-ecs'
ecs-service-name: 'formsg-prod-ecs-service'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy-ecs-stg-alt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
ecr-repository: 'formsg'
# ECS configuration
ecs-cpu: 1024
formsg-app-reserved-cpu: 896
ecs-memory: 2048
ecs-cluster-name: 'formsg-stg-alt-ecs'
ecs-service-name: 'formsg-stg-alt-ecs-service'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy-ecs-stg-alt2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
ecr-repository: 'formsg'
# ECS configuration
ecs-cpu: 1024
formsg-app-reserved-cpu: 896
ecs-memory: 2048
ecs-cluster-name: 'formsg-stg-alt2-ecs'
ecs-service-name: 'formsg-stg-alt2-ecs-service'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy-ecs-stg-alt3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
ecr-repository: 'formsg'
# ECS configuration
ecs-cpu: 1024
formsg-app-reserved-cpu: 896
ecs-memory: 2048
ecs-cluster-name: 'formsg-stg-alt3-ecs'
ecs-service-name: 'formsg-stg-alt3-ecs-service'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy-ecs-stg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
ecr-repository: 'formsg'
# ECS configuration
ecs-cpu: 1024
formsg-app-reserved-cpu: 896
ecs-memory: 2048
ecs-cluster-name: 'formsg-stg-ecs'
ecs-service-name: 'formsg-stg-ecs-service'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy-ecs-uat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
ecr-repository: 'formsg'
# ECS configuration
ecs-cpu: 1024
formsg-app-reserved-cpu: 896
ecs-memory: 2048
ecs-cluster-name: 'formsg-uat-ecs'
ecs-service-name: 'formsg-uat-ecs-service'
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/deploy-ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ on:
description: 'FormSG SDK mode'
required: true
type: string
formsg-app-reserved-cpu:
description: 'FormSG app reserved CPU units'
required: true
type: number
dd-env:
description: 'Datadog environment'
required: true
Expand Down Expand Up @@ -184,6 +188,7 @@ jobs:
run: |
sed -i "s/<AWS_ACCOUNT_ID>/${{ secrets.aws-account-id }}/g" ${{ inputs.ecs-task-definition-path }}
sed -i 's/<DD_ENV>/${{ inputs.dd-env }}/g' ${{ inputs.ecs-task-definition-path }}
sed -i 's/<FORMSG_APP_RESERVED_CPU>/${{ inputs.formsg-app-reserved-cpu }}/g' ${{ inputs.ecs-task-definition-path }}
sed -i 's/<CPU>/${{ inputs.ecs-cpu }}/g' ${{ inputs.ecs-task-definition-path }}
sed -i 's/<MEMORY>/${{ inputs.ecs-memory }}/g' ${{ inputs.ecs-task-definition-path }}
sed -i 's/<ENVIRONMENT_SITE_NAME>/${{ inputs.environment-site-name }}/g' ${{ inputs.ecs-task-definition-path }}
Expand Down
29 changes: 0 additions & 29 deletions .github/workflows/deploy-virus-scanner-legacy-prod.yml

This file was deleted.

29 changes: 0 additions & 29 deletions .github/workflows/deploy-virus-scanner-legacy-stg-alt.yml

This file was deleted.

29 changes: 0 additions & 29 deletions .github/workflows/deploy-virus-scanner-legacy-stg-alt2.yml

This file was deleted.

29 changes: 0 additions & 29 deletions .github/workflows/deploy-virus-scanner-legacy-stg-alt3.yml

This file was deleted.

29 changes: 0 additions & 29 deletions .github/workflows/deploy-virus-scanner-legacy-stg.yml

This file was deleted.

29 changes: 0 additions & 29 deletions .github/workflows/deploy-virus-scanner-legacy-uat.yml

This file was deleted.

10 changes: 1 addition & 9 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,9 @@ jobs:
node-version: 22
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Configure Datadog Test Visibility
uses: datadog/[email protected]
with:
languages: js
service-name: ${{ secrets.DD_SERVICE }}
api-key: ${{ secrets.DD_API_KEY }}
- name: Build
env:
NODE_OPTIONS: --max-old-space-size=4096 -r ${{ env.DD_TRACE_PACKAGE }}
NODE_OPTIONS: --max-old-space-size=4096
VITE_APP_FORMSG_SDK_MODE: 'test'
run: npm run build
- name: Cache build artifacts
Expand Down
Loading
Loading