Skip to content

Commit

Permalink
Adjusts CircleCI config for correct YAML syntax (#43)
Browse files Browse the repository at this point in the history
* Changes the spacing in the docker section, possible yaml is choking on that

* Possibly futile adjustments in spacing and order of filters

* Filters might belong under schedule instead given the unhelpful errors in schema format
  • Loading branch information
katelovescode authored and phallstrom committed Oct 2, 2018
1 parent 8e4d804 commit 4c90351
Showing 1 changed file with 20 additions and 18 deletions.
38 changes: 20 additions & 18 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
---
version: 2
defaults: &defaults
docker:
- image: circleci/ruby:2.4.4-node
environment:
BUNDLE_JOBS: 3
BUNDLE_RETRY: 3
BUNDLE_PATH: vendor/bundle
PGHOST: 127.0.0.1
PGUSER: railslink
RAILS_ENV: test
- image: circleci/postgres:9.6.8-alpine
environment:
POSTGRES_USER: railslink
POSTGRES_DB: ruby_on_rails_link_test
POSTGRES_PASSWORD: ""
- image: circleci/ruby:2.4.4-node
environment:
BUNDLE_JOBS: 3
BUNDLE_RETRY: 3
BUNDLE_PATH: vendor/bundle
PGHOST: 127.0.0.1
PGUSER: railslink
RAILS_ENV: test
- image: circleci/postgres:9.6.8-alpine
environment:
POSTGRES_USER: railslink
POSTGRES_DB: ruby_on_rails_link_test
POSTGRES_PASSWORD: ""
jobs:
build:
parallelism: 3
Expand Down Expand Up @@ -117,8 +118,9 @@ workflows:
- security
triggers:
- schedule:
cron: "0 0 * * *"
filters:
branches:
only:
- master
cron: "0 0 * * *"
filters:
branches:
only:
- master

0 comments on commit 4c90351

Please sign in to comment.