mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 18:09:57 -03:30
Support official image builds with awx logos
This commit is contained in:
parent
067beb90c9
commit
f1af6b9bf2
@ -11,6 +11,21 @@
|
||||
awx_version: "{{ awx_version_command.stdout }}"
|
||||
when: awx_version is not defined
|
||||
|
||||
- name: Verify awx-logos directory exists for official install
|
||||
stat:
|
||||
path: "../../awx-logos"
|
||||
delegate_to: localhost
|
||||
register: logosdir
|
||||
failed_when: logosdir.stat.isdir is not defined or not logosdir.stat.isdir
|
||||
when: awx_official
|
||||
|
||||
- name: Copy logos for inclusion in sdist
|
||||
synchronize:
|
||||
src: "../../awx-logos/awx/ui/client/assets"
|
||||
dest: "../awx/ui/client/"
|
||||
delegate_to: localhost
|
||||
when: awx_official
|
||||
|
||||
- name: Set sdist file name
|
||||
set_fact:
|
||||
awx_sdist_file: "awx-{{ awx_version }}.tar.gz"
|
||||
@ -19,6 +34,12 @@
|
||||
debug:
|
||||
msg: "{{ awx_sdist_file }}"
|
||||
|
||||
- name: Clean distribution
|
||||
shell: make clean
|
||||
args:
|
||||
chdir: ..
|
||||
delegate_to: localhost
|
||||
|
||||
- name: Build AWX distribution
|
||||
shell: make sdist
|
||||
args:
|
||||
|
||||
@ -2,6 +2,9 @@ localhost ansible_connection=local
|
||||
|
||||
[all:vars]
|
||||
|
||||
# Build AWX with official logos
|
||||
# Agree to acceptance of trademark guidelines
|
||||
# Requires awx-logos be checked out in the directory containing the awx repository
|
||||
awx_official=false
|
||||
|
||||
# Local Openshift
|
||||
@ -10,14 +13,18 @@ awx_official=false
|
||||
# openshift_host=127.0.0.1:8443
|
||||
# awx_openshift_project=awx
|
||||
# openshift_user=developer
|
||||
# docker_registry=172.30.1.1:5000
|
||||
# docker_registry_repository=awx
|
||||
# docker_registry_username=developer
|
||||
# awx_node_port=30083
|
||||
|
||||
# Standalone Docker Install
|
||||
# postgres_data_dir=/tmp/pgdocker
|
||||
# host_port=80
|
||||
postgres_data_dir=/tmp/pgdocker
|
||||
host_port=80
|
||||
|
||||
# Required for Openshift, Optional for Standalone Docker install
|
||||
# Define if you want the image pushed to a registry. The container definition
|
||||
# will also use these images
|
||||
# docker_registry=172.30.1.1:5000
|
||||
# docker_registry_repository=awx
|
||||
# docker_registry_username=developer
|
||||
|
||||
# Set this if you have an external postgres you are pointing at
|
||||
# otherwise a new ephemeral awx postgres service will be created
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user