.circleci/config.yml in migration-lock-timeout-1.3.0 vs .circleci/config.yml in migration-lock-timeout-1.4.0
- old
+ new
@@ -1,18 +1,19 @@
-version: 2
+version: 2.1
jobs:
build:
# working_directory: ~/appName
docker:
- - image: ruby:2.5.5
+ - image: cimg/ruby:2.7.7
environment:
PG_HOST: localhost
PG_USER: ubuntu
- - image: circleci/postgres:9.5-ram
+ - image: cimg/postgres:15.1
environment:
POSTGRES_USER: ubuntu
POSTGRES_DB: circle_test
+ POSTGRES_PASSWORD: $POSTGRES_DB_PASSWORD
steps:
- checkout
- run:
name: Install Ruby Dependencies
command: bundle install
@@ -20,9 +21,9 @@
name: Install Appraisals Dependencies
command: bundle exec appraisal install
- run:
name: Run Appraisals Tests
environment:
- POSTGRES_DB_DATABASE: circle_test
POSTGRES_DB_USERNAME: ubuntu
- POSTGRES_DB_PASSWORD:
+ POSTGRES_DB_DATABASE: circle_test
+ POSTGRES_DB_PASSWORD: $POSTGRES_DB_PASSWORD
command: bundle exec appraisal rspec