Merge pull request #9616 from shanemcd/awx-logos

Fix paths used for detecting and copying awx-logos

Reviewed-by: Elijah DeLee <kdelee@redhat.com>
Reviewed-by: Ryan Petrello <None>
This commit is contained in:
softwarefactory-project-zuul[bot]
2021-03-18 22:23:11 +00:00
committed by GitHub

View File

@@ -6,15 +6,15 @@
- name: Verify awx-logos directory exists for official install - name: Verify awx-logos directory exists for official install
stat: stat:
path: "../../awx-logos" path: "../../../awx-logos"
register: logosdir register: logosdir
failed_when: logosdir.stat.isdir is not defined or not logosdir.stat.isdir failed_when: logosdir.stat.isdir is not defined or not logosdir.stat.isdir
when: awx_official|default(false)|bool when: awx_official|default(false)|bool
- name: Copy logos for inclusion in sdist - name: Copy logos for inclusion in sdist
copy: copy:
src: "../../awx-logos/awx/ui/client/assets/" src: "../../../awx-logos/awx/ui/client/assets/"
dest: "../awx/ui_next/public/static/media/" dest: "../../awx/ui_next/public/static/media/"
when: awx_official|default(false)|bool when: awx_official|default(false)|bool
# Calling Docker directly because docker-py doesnt support BuildKit # Calling Docker directly because docker-py doesnt support BuildKit