Created
June 9, 2015 14:50
-
-
Save tal-moshayov/4e4402ffafcb982d0dc5 to your computer and use it in GitHub Desktop.
Error parsing your wercker.yml: yaml: line 44: mapping values are not allowed in this context
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
box: | |
id: siloco/rails-box | |
username: $DOCKERHUB_USR | |
password: $DOCKERHUB_PWD | |
tag: latest | |
build: | |
# services: | |
# - id: postgres | |
# env: | |
# POSTGRES_PASSWORD: postgres | |
# POSTGRES_USER: postgres | |
steps: | |
- script: | |
name: set db ENV variables | |
code: | | |
export RDS_HOSTNAME=$POSTGRES_PORT_5432_TCP_ADDR | |
export RDS_DB_NAME='asdf' | |
export RDS_USERNAME='asdf' | |
export RDS_PASSWORD='adsf' | |
# - bundle-install | |
# - script: | |
# name: Prepare Database (rake db:migrate) | |
# code: RAILS_ENV=test rake db:migrate DONT_LOAD_ACTIVE_ADMIN=1 | |
# - script: | |
# name: Unit Testing (rspec) | |
# code: RAILS_ENV=test bundle exec rspec --fail-fast | |
- script: | |
code: touch /dummy | |
# archive successful build results | |
- internal/docker-push: | |
username: $DOCKERHUB_USR | |
password: $DOCKERHUB_PWD | |
repository: siloco/silo-box | |
tag: $WERCKER_GIT_COMMIT | |
deploy: | |
steps: | |
- script: | |
name: setup phase ENV variables (TODO: move to wercker config) | |
code: | | |
export SILO=/usr/dev/silo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment