Accept github newhostkey in promote job.
also use `git am` instead of `git apply` to immediately apply the page and not only to stage changes. Change-Id: I9602441bf561bc94b7d325a87a555250fcb2f232
This commit is contained in:
parent
5c27e5a7ac
commit
5a2fcc56db
@ -33,6 +33,7 @@
|
||||
|
||||
- name: "Checkout target repository"
|
||||
ansible.builtin.git:
|
||||
accept_newhostkey: true
|
||||
repo: "{{ rust_sdk_git_repo }}"
|
||||
dest: "{{ rust_project_dir }}"
|
||||
|
||||
@ -42,7 +43,7 @@
|
||||
chdir: "{{ ansible_user_dir }}/openstack"
|
||||
|
||||
- name: "Try to apply git patch"
|
||||
ansible.builtin.command: "git apply --reject --ignore-space-change {{ git_patch_stat.stat.path }}"
|
||||
ansible.builtin.command: "git am {{ git_patch_stat.stat.path }}"
|
||||
args:
|
||||
chdir: "{{ ansible_user_dir }}/openstack"
|
||||
register: "patch_applied"
|
||||
|
Loading…
x
Reference in New Issue
Block a user