1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-02 01:21:21 +03:00
awx/tools/docker-compose/unit-tests/entrypoint.sh

11 lines
375 B
Bash
Raw Normal View History

2017-07-25 21:01:43 +03:00
#!/bin/bash
# Code duplicated from start_development.sh
2017-07-27 18:39:00 +03:00
cp -R /tmp/awx.egg-info /awx_devel/ || true
sed -i "s/placeholder/$(git describe --long | sed 's/\./\\./g')/" /awx_devel/awx.egg-info/PKG-INFO
cp /tmp/awx.egg-link /venv/awx/lib/python2.7/site-packages/awx.egg-link
2017-07-25 21:01:43 +03:00
cp -f awx/settings/local_settings.py.docker_compose awx/settings/local_settings.py
/bin/bash -c "$@"