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:
parent
349400c6cc
commit
a7fcdb9aee
2 changed files with 5 additions and 4 deletions
|
@ -203,6 +203,7 @@ openshift_required_images:
|
||||||
fedora_required_images:
|
fedora_required_images:
|
||||||
- "fedora:24"
|
- "fedora:24"
|
||||||
- "fedora:25"
|
- "fedora:25"
|
||||||
|
- "fedora:latest"
|
||||||
|
|
||||||
#
|
#
|
||||||
# say if we want the apache role dependency for mod_wsgi or not
|
# say if we want the apache role dependency for mod_wsgi or not
|
||||||
|
|
|
@ -545,17 +545,17 @@
|
||||||
path: "/etc/osbs/buildroot/infrastructure.repo"
|
path: "/etc/osbs/buildroot/infrastructure.repo"
|
||||||
register: etcosbs_infra_repo_stat
|
register: etcosbs_infra_repo_stat
|
||||||
|
|
||||||
- name: remove old hardlink to /etc/osbs/buildroot/ infra repofile
|
- name: remove old /etc/osbs/buildroot/ infra repofile
|
||||||
file:
|
file:
|
||||||
path: "/etc/osbs/buildroot/infrastructure.repo"
|
path: "/etc/osbs/buildroot/infrastructure.repo"
|
||||||
state: absent
|
state: absent
|
||||||
when: etcosbs_infra_repo_stat.stat.exists and infra_repo_stat.stat.checksum != etcosbs_infra_repo_stat.stat.checksum
|
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)
|
- name: Copy repofile for buildroot container (because Docker)
|
||||||
file:
|
copy:
|
||||||
src: "/etc/yum.repos.d/infrastructure.repo"
|
src: "/etc/yum.repos.d/infrastructure.repo"
|
||||||
dest: "/etc/osbs/buildroot/infrastructure.repo"
|
dest: "/etc/osbs/buildroot/infrastructure.repo"
|
||||||
state: hard
|
remote_src: true
|
||||||
notify:
|
notify:
|
||||||
- buildroot container
|
- buildroot container
|
||||||
when: etcosbs_infra_repo_stat.stat.exists == false
|
when: etcosbs_infra_repo_stat.stat.exists == false
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue