Skip to content

Commit

Permalink
update git_ssh_command export
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com>
  • Loading branch information
adam-stokes committed Oct 7, 2020
1 parent b5ddf14 commit e73434d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion jobs/build-debs/debuilder-playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
- name: copy ssh creds
copy:
src: "{{ lookup('env', 'CDKBOTSSHCREDS') }}"
dest: /root/.ssh/id_rsa
dest: /root/.ssh/cdkbot_rsa
owner: root
group: root
mode: 0600
Expand Down
1 change: 1 addition & 0 deletions jobs/build-debs/run.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

set -x

export GIT_SSH_COMMAND='"ssh -i /root/.ssh/cdkbot_rsa -oStrictHostKeyChecking=no"'
export CDKBOT_GH_USR="{{ lookup('env', 'CDKBOT_GH_USER') }}"
export CDKBOT_GH_PSW="{{ lookup('env', 'CDKBOT_GH_PSW') }}"
K8S_VERSION="{{ lookup('env', 'K8S_VERSION') }}"
Expand Down

0 comments on commit e73434d

Please sign in to comment.