circleci cli says my .circle/config.yml as valid
$ circleci config validate -c .circle/config.yml
.circle/config.yml is valid
$ circleci --version
0.0.5894-01cdb92
Contents of my .circle/config.yml are:
---
version: 2
jobs:
build:
working_directory: ~/myunicornproject
docker:
- image: circleci/2.5.1-node-browsers
environment:
PGHOST: localhost
PGUSER: santaclause
RAILS_ENV: test
- image: postgres:9.5
environment:
POSTGRES_USER: santaclause
POSTGRES_DB: rudolf
POSTGRES_PASSWORD: ""
steps:
- checkout
# Restore Cached Dependencies
- type: cache-restore
name: Restore bundle cache
key: myunicornproject-{{ checksum "Gemfile.lock" }}
# Bundle install dependencies
- run: bundle install --path vendor/bundle
# Cache Dependencies
- type: cache-save
name: Store bundle cache
key: myunicornproject-{{ checksum "Gemfile.lock" }}
paths:
- vendor/bundle
# Wait for DB
- run: dockerize -wait tcp://localhost:5432 -timeout 1m
# Setup the environment
# - run: cp .sample.env .env
- run: cp config/application.yml.example config/application.yml
# Setup the database
- run: bundle exec rake db:setup
# Run the tests
- run: bundle exec rake
However on my circleci app UI, this message is displayed:
This project is currently running on CircleCI 1.0 which will no longer be supported after August 31, 2018. Please start migrating this project to CircleCI 2.0.
Can anyone help? I’m not sure what is wrong here.