Skip to content

Commit

Permalink
Update circleci cimgs (#1257)
Browse files Browse the repository at this point in the history
* Update circleci cimgs and node versions

* Don't update node versions in dockerfiles due to held back librdkafka dependency
  • Loading branch information
Redande committed Apr 23, 2024
1 parent 2b7024f commit da04de4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .circleci/config.yml
Expand Up @@ -7,7 +7,7 @@ orbs:
executors:
node_postgres:
docker:
- image: cimg/node:18.17.0
- image: cimg/node:18.20.2
- image: cimg/postgres:15.3
environment:
POSTGRES_USER: root
Expand All @@ -17,7 +17,7 @@ executors:
jobs:
code_style:
docker:
- image: cimg/node:18.17.0
- image: cimg/node:18.20.2
steps:
- checkout
- node/install-packages
Expand All @@ -35,7 +35,7 @@ jobs:

build_frontend:
docker:
- image: cimg/gcp:2023.07
- image: cimg/gcp:2024.03
working_directory: /mnt/ramdisk
steps:
- checkout
Expand Down Expand Up @@ -201,10 +201,10 @@ jobs:
# echo "Not implemented yet"
# could also be only for master/staging since now we're doing npm install earlier, and if it passes there, it will pass here too
# - only that the node version is different in backend image?

build_backend:
docker:
- image: cimg/gcp:2023.07
- image: cimg/gcp:2024.03
working_directory: /mnt/ramdisk
steps:
- checkout
Expand Down Expand Up @@ -319,7 +319,7 @@ jobs:
# command: "bin/push-docker-auth-image.sh"
deploy_to_production:
docker:
- image: cimg/gcp:2023.07
- image: cimg/gcp:2024.03
working_directory: /mnt/ramdisk
steps:
- checkout
Expand Down Expand Up @@ -371,4 +371,4 @@ workflows:
branches:
only:
- master
- staging
- staging
2 changes: 1 addition & 1 deletion backend/Dockerfile
Expand Up @@ -41,7 +41,7 @@ RUN cp .env.example .env \
&& npm run generate \
&& env NODE_ENV=production GOOGLE_CLOUD_STORAGE_BUCKET=x npm run build
RUN npm run build-sourcemap
RUN npm run copy-env
RUN npm run copy-env

ENV NODE_ENV=production

Expand Down

0 comments on commit da04de4

Please sign in to comment.