summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJeff Bradberry <jeff.bradberry@gmail.com>2022-01-07 22:10:27 +0100
committerJeff Bradberry <jeff.bradberry@gmail.com>2022-01-10 17:37:19 +0100
commit386aa898ecf3864fa7363f1b32c8069368831880 (patch)
tree24915cf0a6435e83a99a7458af557341fb0f4206 /tools
parentRemove the auto-discovery feature (diff)
downloadawx-386aa898ecf3864fa7363f1b32c8069368831880.tar.xz
awx-386aa898ecf3864fa7363f1b32c8069368831880.zip
Remove the make init target
we want to fold that in to bootstrap_environment.sh.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/docker-compose/bootstrap_development.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/docker-compose/bootstrap_development.sh b/tools/docker-compose/bootstrap_development.sh
index c33559c155..5d4f2c34a3 100755
--- a/tools/docker-compose/bootstrap_development.sh
+++ b/tools/docker-compose/bootstrap_development.sh
@@ -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