From c2fb4e62d56840335d01e6bc38a1470b74cef6df Mon Sep 17 00:00:00 2001 From: Francois Lannoy Date: Tue, 5 Jan 2021 19:46:31 +0100 Subject: [PATCH] :construction_worker: changed cache keyname --- .circleci/config.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index aa5fd95..39140df 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,7 +7,7 @@ jobs: steps: - checkout - restore_cache: - key: deps-{{ checksum "requirements/dev.txt"}}-{{ .Environment.CACHE_VERSION }} + key: deps12-{{ checksum "requirements/dev.txt"}}-{{ .Environment.CACHE_VERSION }} - run: name: set env vars command: | @@ -21,14 +21,14 @@ jobs: . venv/bin/activate pip install -r requirements/dev.txt - save_cache: - key: deps-{{ checksum "requirements/dev.txt"}}-{{ .Environment.CACHE_VERSION }} + key: deps12-{{ checksum "requirements/dev.txt"}}-{{ .Environment.CACHE_VERSION }} paths: - "venv" test: docker: - image: python:3.8-buster environment: - DATABASE_URL: postgresql://myUsr:somePwd@localhost:5433/psdb + DATABASE_URL: postgresql://myUsr:somePwd@localhost:5432/psdb - image: circleci/postgres:9.6.2-alpine environment: POSTGRES_USER: $POSTGRES_USER @@ -37,10 +37,10 @@ jobs: steps: - checkout - restore_cache: - key: deps-{{ checksum "requirements/dev.txt"}}-{{ .Environment.CACHE_VERSION }} + key: deps12-{{ checksum "requirements/dev.txt"}}-{{ .Environment.CACHE_VERSION }} - run: name: postgres - command : dockerize -wait tcp://localhost:5433 -timeout 1m + command : dockerize -wait tcp://localhost:5432 -timeout 1m - run: name : testing command: |