add fedora:latest to required docker images, don't hardlink repofile but copy it

Signed-off-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
Adam Miller 2016-12-07 15:10:57 +00:00
parent 349400c6cc
commit a7fcdb9aee
2 changed files with 5 additions and 4 deletions

View file

@ -203,6 +203,7 @@ openshift_required_images:
fedora_required_images:
- "fedora:24"
- "fedora:25"
- "fedora:latest"
#
# say if we want the apache role dependency for mod_wsgi or not

View file

@ -545,17 +545,17 @@
path: "/etc/osbs/buildroot/infrastructure.repo"
register: etcosbs_infra_repo_stat
- name: remove old hardlink to /etc/osbs/buildroot/ infra repofile
- name: remove old /etc/osbs/buildroot/ infra repofile
file:
path: "/etc/osbs/buildroot/infrastructure.repo"
state: absent
when: etcosbs_infra_repo_stat.stat.exists and infra_repo_stat.stat.checksum != etcosbs_infra_repo_stat.stat.checksum
- name: Hardlink repofile for buildroot container (because Docker)
file:
- name: Copy repofile for buildroot container (because Docker)
copy:
src: "/etc/yum.repos.d/infrastructure.repo"
dest: "/etc/osbs/buildroot/infrastructure.repo"
state: hard
remote_src: true
notify:
- buildroot container
when: etcosbs_infra_repo_stat.stat.exists == false