Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into v/5.0-staging
Browse files Browse the repository at this point in the history
  • Loading branch information
nimaai committed Nov 11, 2019
2 parents 0170b4b + 9d35271 commit f30d454
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
10 changes: 6 additions & 4 deletions cider-ci/task-components/deploy-defaults.yml
Expand Up @@ -3,8 +3,10 @@ priority: 2
context:
task_defaults:
environment_variables:
# TMP: we want 'yaml' but executors' ansible is too old
ANSIBLE_STDOUT_CALLBACK: debug
ANSIBLE_STDOUT_CALLBACK: yaml
LEIHS_DIR: '{{CIDER_CI_WORKING_DIR}}'
DEPLOY_DIR: '{{LEIHS_DIR}}/deploy'
INVENTORY_DIR: '{{CIDER_CI_WORKING_DIR}}/zhdk-inventory'

tasks:
deploy:
Expand All @@ -24,7 +26,7 @@ context:
unlock:
body: |
set -euxo
cd zhdk-inventory
cd ${INVENTORY_DIR}
git crypt unlock
deploy:
Expand All @@ -45,7 +47,7 @@ context:
export ANSIBLE_HOST_KEY_CHECKING=False
bin/ansible-playbook get-server-log_play.yml \
--ssh-common-args '-i ~/.ssh/zhdk_ci_executor_rsa' \
-i ../zhdk-inventory/${DEPLOY_TARGET_INVENTORY}
-i ${INVENTORY_DIR}/${DEPLOY_TARGET_INVENTORY}
echo ''; echo ''; echo '';
echo '~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'
Expand Down
2 changes: 1 addition & 1 deletion deploy
2 changes: 1 addition & 1 deletion my

0 comments on commit f30d454

Please sign in to comment.