Changes to enable tests in k8s

This commit is contained in:
Shane McDonald
2019-05-21 19:15:21 -04:00
parent 5a502f8709
commit 2f77c67a62
5 changed files with 29 additions and 107 deletions

View File

@@ -1,12 +1,6 @@
#!/bin/bash
set +x
if [ `id -u` -ge 500 ] || [ -z "${CURRENT_UID}" ]; then
echo "awx:x:`id -u`:`id -g`:,,,:/tmp:/bin/bash" >> /tmp/passwd
cat /tmp/passwd > /etc/passwd
rm /tmp/passwd
fi
cd /awx_devel
make clean
cp -R /tmp/awx.egg-info /awx_devel/ || true