From 9224970f8393639e97df4a21c197d758ca4a9908 Mon Sep 17 00:00:00 2001 From: Jonathan Reveille Date: Mon, 21 Oct 2024 16:59:09 +0200 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F(=20backend)=20upgrade=20vers?= =?UTF-8?q?ion=20to=2013=20of=20postgres?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We have updated the version of postgres image to version 13. --- .circleci/config.yml | 16 ++++++++-------- docker-compose.yml | 4 +--- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3d0ecd2c..8eed6555 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -45,7 +45,7 @@ jobs: # Check that the CHANGELOG has been updated in the current branch check-changelog: docker: - - image: circleci/buildpack-deps:stretch-scm + - image: cimg/base:current working_directory: ~/fun steps: - checkout @@ -88,7 +88,7 @@ jobs: # Build the Docker image ready for production build-docker: docker: - - image: circleci/buildpack-deps:stretch + - image: cimg/base:current working_directory: ~/fun steps: # Checkout repository sources @@ -97,7 +97,7 @@ jobs: - <<: *generate-version-file # Activate docker-in-docker - setup_remote_docker: - version: 19.03.13 + version: default # Each image is tagged with the current git commit sha1 to avoid collisions in parallel builds. - run: name: Build production image @@ -172,7 +172,7 @@ jobs: ELASTICSEARCH_PORT: 9200 DJANGO_AWS_S3_REGION_NAME: eu-west-1 # services - - image: circleci/postgres:12-ram + - image: cimg/postgres:13.16 environment: POSTGRES_DB: test_ashley POSTGRES_USER: fun @@ -328,7 +328,7 @@ jobs: # ---- Front-end jobs ---- build-front: docker: - - image: circleci/node:14 + - image: cimg/node:16.15 working_directory: ~/fun/src/frontend steps: - checkout: @@ -397,7 +397,7 @@ jobs: - src/ashley/static/ashley/font/* lint-front: docker: - - image: circleci/node:14 + - image: cimg/node:18.18 working_directory: ~/fun/src/frontend steps: - checkout: @@ -414,7 +414,7 @@ jobs: test-front: docker: - - image: circleci/node:14 + - image: cimg/node:18.18 working_directory: ~/fun/src/frontend steps: - checkout: @@ -430,7 +430,7 @@ jobs: test-front-package: docker: - - image: circleci/node:14 + - image: cimg/node:18.18 working_directory: ~/wrk steps: - checkout: diff --git a/docker-compose.yml b/docker-compose.yml index 18cb7cdf..fedcd5fe 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,8 +1,6 @@ -version: '3.4' - services: postgresql: - image: postgres:12 + image: postgres:13.16 env_file: - env.d/development/postgresql ports: