Remove ssh reference from downstream dist-git url
When DLRN tries to clone the spec file using downstream dist-git server, it uses git+ssh in clone url which requires host key verification which is not possible in downstream CI jobs, so replacing git+ssh with git will fix the issue. Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com> Change-Id: Ia2853a3c58a65efc4ea244e44707405550f81710
This commit is contained in:
parent
8754de0abb
commit
a633da7a89
|
@ -131,6 +131,13 @@
|
|||
retries: 3
|
||||
delay: 5
|
||||
|
||||
- name: Remove ssh reference from dist-git url
|
||||
shell: >
|
||||
sed -i -e "s|osp-distgit: git+ssh|osp-distgit: git|g" packages.yml
|
||||
args:
|
||||
chdir: "{{ build_repo_dir }}/DLRN/{{ rdoinfo_repo_name }}"
|
||||
when: ansible_distribution in ['RedHat']
|
||||
|
||||
- name: Use local {{ ansible_distribution }} mirror if available ( centos 7 and RHEL )
|
||||
shell: >
|
||||
set -o pipefail ;
|
||||
|
|
Loading…
Reference in New Issue