mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 01:57:35 -03:30
Updating some dev environment tooling for version numbers
This commit is contained in:
parent
17db724932
commit
f0d68f429c
@ -20,9 +20,9 @@ RUN /usr/bin/ssh-keygen -q -t rsa -N "" -f /root/.ssh/id_rsa
|
||||
RUN mkdir -p /data/db
|
||||
RUN pip2 install honcho
|
||||
RUN pip2 install supervisor
|
||||
ADD tools/docker-compose/ansible-tower.egg-link /tmp/ansible-tower.egg-link
|
||||
ADD tools/docker-compose/ansible-awx.egg-link /tmp/ansible-awx.egg-link
|
||||
ADD tools/docker-compose/awx-manage /usr/local/bin/awx-manage
|
||||
ADD tools/docker-compose/ansible_tower.egg-info /tmp/ansible_tower.egg-info
|
||||
ADD tools/docker-compose/ansible_awx.egg-info /tmp/ansible_awx.egg-info
|
||||
RUN ln -Ffs /awx_devel/tools/docker-compose/nginx.conf /etc/nginx/nginx.conf
|
||||
RUN ln -Ffs /awx_devel/tools/docker-compose/nginx.vh.default.conf /etc/nginx/conf.d/nginx.vh.default.conf
|
||||
RUN ln -s /awx_devel/tools/docker-compose/start_development.sh /start_development.sh
|
||||
|
||||
@ -1,12 +1,12 @@
|
||||
Metadata-Version: 1.1
|
||||
Name: ansible-tower
|
||||
Version: 3.0.0-0.devel
|
||||
Summary: ansible-tower: API, UI and Task Engine for Ansible
|
||||
Home-page: http://github.com/ansible/ansible-tower
|
||||
Name: ansible-awx
|
||||
Version: placeholder
|
||||
Summary: ansible-awx: API, UI and Task Engine for Ansible
|
||||
Home-page: http://github.com/ansible/ansible-awx
|
||||
Author: Ansible, Inc.
|
||||
Author-email: info@ansible.com
|
||||
License: Proprietary
|
||||
Description: Ansible Tower provides a web-based user interface, REST API and task engine built on top of Ansible
|
||||
Description: Ansible AWXprovides a web-based user interface, REST API and task engine built on top of Ansible
|
||||
Keywords: ansible
|
||||
Platform: UNKNOWN
|
||||
Classifier: Development Status :: 5 - Production/Stable
|
||||
@ -1,10 +1,10 @@
|
||||
#!/venv/awx/bin/python
|
||||
# EASY-INSTALL-ENTRY-SCRIPT: 'ansible-tower==3.0.0-0.devel','console_scripts','awx-manage'
|
||||
__requires__ = 'ansible-tower==3.0.0-0.devel'
|
||||
# EASY-INSTALL-ENTRY-SCRIPT: 'ansible-awx==placeholder','console_scripts','awx-manage'
|
||||
__requires__ = 'ansible-awx==placeholder'
|
||||
import sys
|
||||
from pkg_resources import load_entry_point
|
||||
|
||||
if __name__ == '__main__':
|
||||
sys.exit(
|
||||
load_entry_point('ansible-tower==3.0.0-0.devel', 'console_scripts', 'awx-manage')()
|
||||
load_entry_point('ansible-awx==placeholder', 'console_scripts', 'awx-manage')()
|
||||
)
|
||||
|
||||
@ -21,8 +21,10 @@ else
|
||||
echo "Failed to find awx source tree, map your development tree volume"
|
||||
fi
|
||||
|
||||
cp -nR /tmp/ansible_tower.egg-info /awx_devel/ || true
|
||||
cp /tmp/ansible-tower.egg-link /venv/awx/lib/python2.7/site-packages/ansible-tower.egg-link
|
||||
cp -R /tmp/ansible_awx.egg-info /awx_devel/ || true
|
||||
sed -i "s/placeholder/$(git describe --long | sed 's/\./\\./g')/" /awx_devel/ansible_awx.egg-info/PKG-INFO
|
||||
sed -i "s/placeholder/$(git describe --long | sed 's/\./\\./g')/" /usr/local/bin/awx-manage
|
||||
cp /tmp/ansible-awx.egg-link /venv/awx/lib/python2.7/site-packages/ansible-awx.egg-link
|
||||
ln -s /awx_devel/tools/rdb.py /venv/awx/lib/python2.7/site-packages/rdb.py || true
|
||||
yes | cp -rf /awx_devel/tools/docker-compose/supervisor.conf /supervisor.conf
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user