Remove the make init target

we want to fold that in to bootstrap_environment.sh.
This commit is contained in:
Jeff Bradberry
2022-01-07 16:10:27 -05:00
parent f1c5da7026
commit 386aa898ec
2 changed files with 4 additions and 22 deletions

View File

@@ -19,9 +19,6 @@ else
wait-for-migrations
fi
make init
if output=$(awx-manage createsuperuser --noinput --username=admin --email=admin@localhost 2> /dev/null); then
echo $output
admin_password=$(openssl rand -base64 12)
@@ -35,6 +32,10 @@ mkdir -p /awx_devel/awx/public/static
mkdir -p /awx_devel/awx/ui/static
mkdir -p /awx_devel/awx/ui/build/static
awx-manage provision_instance --hostname="$(hostname)" --node_type="$MAIN_NODE_TYPE"
awx-manage register_queue --queuename=controlplane --instance_percent=100
awx-manage register_queue --queuename=default --instance_percent=100
# Create resource entries when using Minikube
if [[ -n "$MINIKUBE_CONTAINER_GROUP" ]]; then
awx-manage shell < /awx_devel/tools/docker-compose-minikube/_sources/bootstrap_minikube.py