-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into chore/fix-snyk-vulnerabilities
- Loading branch information
Showing
23 changed files
with
20,447 additions
and
17,327 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,4 +19,5 @@ jobs: | |
with: | ||
environment: 'production' | ||
provisionedConcurrency: 5 | ||
checkoutBranch: 'release-al2' | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,4 +23,5 @@ jobs: | |
with: | ||
environment: 'staging' | ||
provisionedConcurrency: 1 | ||
checkoutBranch: 'staging' | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,4 +19,5 @@ jobs: | |
with: | ||
environment: 'uat' | ||
provisionedConcurrency: 1 | ||
checkoutBranch: 'uat' | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM node:hydrogen-alpine3.18 | ||
FROM node:hydrogen-alpine3.16 | ||
LABEL maintainer=FormSG<[email protected]> | ||
|
||
WORKDIR /opt/formsg | ||
|
@@ -28,7 +28,7 @@ RUN apk update && apk upgrade && \ | |
# that is guaranteed to work. Upgrades must be done in lockstep. | ||
# https://github.com/puppeteer/puppeteer/blob/master/docs/troubleshooting.md#running-on-alpine | ||
# https://www.npmjs.com/package/puppeteer-core?activeTab=versions for corresponding versions | ||
chromium=115.0.5790.170-r0 \ | ||
chromium=102.0.5005.182-r0 \ | ||
nss \ | ||
freetype \ | ||
freetype-dev \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# syntax=docker/dockerfile:1 | ||
|
||
FROM node:hydrogen-alpine3.18 as build | ||
FROM node:hydrogen-alpine3.16 as build | ||
|
||
# node-modules-builder stage installs/compiles the node_modules folder | ||
# Python version must be specified starting in alpine3.12 | ||
|
@@ -60,7 +60,7 @@ RUN --mount=type=secret,id=dd_api_key \ | |
RUN npm prune --production --legacy-peer-deps | ||
|
||
# This stage builds the final container | ||
FROM node:hydrogen-alpine3.18 | ||
FROM node:hydrogen-alpine3.16 | ||
LABEL maintainer=FormSG<[email protected]> | ||
WORKDIR /opt/formsg | ||
|
||
|
@@ -81,7 +81,7 @@ RUN mv /opt/formsg/dist/backend/shared /opt/formsg/ | |
# https://www.npmjs.com/package/puppeteer-core?activeTab=versions for corresponding versions | ||
|
||
RUN apk add --no-cache \ | ||
chromium=115.0.5790.170-r0 \ | ||
chromium=102.0.5005.182-r0 \ | ||
nss \ | ||
freetype \ | ||
freetype-dev \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.