Skip to content

Commit

Permalink
Merge pull request #25 from tulibraries/bl-1205-remove-airflow-stage
Browse files Browse the repository at this point in the history
BL-1205: Remove deploy to stage.
  • Loading branch information
Chad Nelson committed Jun 16, 2020
2 parents 7f61375 + 65295f3 commit 6d54a50
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,28 +38,6 @@ jobs:
cp .circleci/.vault ~/.vault;
chmod +x ~/.vault
pipenv run ansible-playbook -i inventory/qa/hosts playbook.yml --vault-password-file=~/.vault -e 'ansible_ssh_port=9229'
stage_deploy:
docker:
- image: circleci/python:3.6
environment:
PIPENV_VENV_IN_PROJECT: true
steps:
- checkout
- add_ssh_keys:
fingerprints:
- "2f:37:66:17:11:ae:f9:0f:9e:52:98:41:fe:d0:0c:78"
- run:
name: 'Run Ansible Airflow Playbook for Stage'
command: |
cd ..
git clone --single-branch --branch master https://github.com/tulibraries/ansible-playbook-airflow.git
cd ansible-playbook-airflow
sudo pip install pipenv
pipenv install
pipenv run ansible-galaxy install -r requirements.yml
cp .circleci/.vault ~/.vault;
chmod +x ~/.vault
pipenv run ansible-playbook -i inventory/stage/hosts playbook.yml --vault-password-file=~/.vault -e 'ansible_ssh_port=9229'
prod_deploy:
docker:
- image: circleci/python:3.6
Expand Down Expand Up @@ -95,13 +73,6 @@ workflows:
branches:
only:
- qa
- stage_deploy:
requires:
- lint_and_test
filters:
branches:
only:
- master
- request-prod-deploy:
type: approval
requires:
Expand Down

0 comments on commit 6d54a50

Please sign in to comment.