Run the job from the correct path

Change-Id: Ie1c174ca2047713ab1c149dc3502a31f9be66e6e
This commit is contained in:
Logan V 2018-09-12 17:03:58 -06:00
parent 58524ac58c
commit df3372e653
2 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,7 @@
vars:
vault_key_path: "{{ ansible_user_dir }}/.vault"
ssh_agent_sock: "{{ ansible_user_dir }}/.ssh-agent.sock"
lsn_ci_src_path: "{{ ansible_user_dir }}/{{ (zuul.projects | dictsort | selectattr('1.short_name', 'equalto', 'limestone-ci-cloud') | list | first).1.src_dir }}"
secrets:
- name: ssh_key_secret
secret: limestone_ci_ssh_key

View File

@ -9,3 +9,5 @@
tasks:
- name: Run the deploy job
command: scripts/run_deploy.sh
args:
chdir: "{{ lsn_ci_src_path }}"