mirror of
https://github.com/ansible/awx.git
synced 2026-03-02 09:18:48 -03:30
Support official image builds with awx logos
This commit is contained in:
@@ -11,6 +11,21 @@
|
|||||||
awx_version: "{{ awx_version_command.stdout }}"
|
awx_version: "{{ awx_version_command.stdout }}"
|
||||||
when: awx_version is not defined
|
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
|
- name: Set sdist file name
|
||||||
set_fact:
|
set_fact:
|
||||||
awx_sdist_file: "awx-{{ awx_version }}.tar.gz"
|
awx_sdist_file: "awx-{{ awx_version }}.tar.gz"
|
||||||
@@ -19,6 +34,12 @@
|
|||||||
debug:
|
debug:
|
||||||
msg: "{{ awx_sdist_file }}"
|
msg: "{{ awx_sdist_file }}"
|
||||||
|
|
||||||
|
- name: Clean distribution
|
||||||
|
shell: make clean
|
||||||
|
args:
|
||||||
|
chdir: ..
|
||||||
|
delegate_to: localhost
|
||||||
|
|
||||||
- name: Build AWX distribution
|
- name: Build AWX distribution
|
||||||
shell: make sdist
|
shell: make sdist
|
||||||
args:
|
args:
|
||||||
|
|||||||
@@ -2,6 +2,9 @@ localhost ansible_connection=local
|
|||||||
|
|
||||||
[all:vars]
|
[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
|
awx_official=false
|
||||||
|
|
||||||
# Local Openshift
|
# Local Openshift
|
||||||
@@ -10,14 +13,18 @@ awx_official=false
|
|||||||
# openshift_host=127.0.0.1:8443
|
# openshift_host=127.0.0.1:8443
|
||||||
# awx_openshift_project=awx
|
# awx_openshift_project=awx
|
||||||
# openshift_user=developer
|
# openshift_user=developer
|
||||||
# docker_registry=172.30.1.1:5000
|
|
||||||
# docker_registry_repository=awx
|
|
||||||
# docker_registry_username=developer
|
|
||||||
# awx_node_port=30083
|
# awx_node_port=30083
|
||||||
|
|
||||||
# Standalone Docker Install
|
# Standalone Docker Install
|
||||||
# postgres_data_dir=/tmp/pgdocker
|
postgres_data_dir=/tmp/pgdocker
|
||||||
# host_port=80
|
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
|
# Set this if you have an external postgres you are pointing at
|
||||||
# otherwise a new ephemeral awx postgres service will be created
|
# otherwise a new ephemeral awx postgres service will be created
|
||||||
|
|||||||
Reference in New Issue
Block a user