Browse Source

simplify circle deployment

remove_ngrams_from_search
Grant Heffernan 9 years ago
parent
commit
fdcdea3258
  1. 7
      circle.yml

7
circle.yml

@ -9,12 +9,6 @@ dependencies:
- echo "{\"mapzen\":{\"api_key\":{\"search.mapzen.com\":\"$SEARCH_API_KEY\",\"pelias.mapzen.com\":\"$PELIAS_API_KEY\"}}}" >~/pelias.json - echo "{\"mapzen\":{\"api_key\":{\"search.mapzen.com\":\"$SEARCH_API_KEY\",\"pelias.mapzen.com\":\"$PELIAS_API_KEY\"}}}" >~/pelias.json
deployment: deployment:
prod_build:
branch: production
commands:
- git clone git@github.com:pelias/acceptance-tests && cd acceptance-tests && npm install
- git clone git@github.com:mapzen/pelias-deploy.git && cd pelias-deploy && bundle install
- cd pelias-deploy && bundle exec rake deploy:api[prod_build]
prod: prod:
branch: production branch: production
commands: commands:
@ -22,6 +16,7 @@ deployment:
- git clone git@github.com:mapzen/pelias-deploy.git && cd pelias-deploy && bundle install - git clone git@github.com:mapzen/pelias-deploy.git && cd pelias-deploy && bundle install
- cd pelias-deploy && bundle exec rake deploy:api[prod] - cd pelias-deploy && bundle exec rake deploy:api[prod]
- cd acceptance-tests && npm test -- -e prod - cd acceptance-tests && npm test -- -e prod
- cd pelias-deploy && bundle exec rake deploy:api[prod_build]
dev: dev:
branch: master branch: master
commands: commands:

Loading…
Cancel
Save