diff options
author | Hao Liu <haoli@redhat.com> | 2024-01-16 21:51:31 +0100 |
---|---|---|
committer | Seth Foster <fosterseth@users.noreply.github.com> | 2024-02-02 16:37:41 +0100 |
commit | 15a16b3dd1091f87e46b18ad345663cd8c4f01cd (patch) | |
tree | 022bc98ed1e19c5e65c05c042190941015eb4f47 /tools/docker-compose | |
parent | Add canonical=True when creating ReceptorAddress in tests (diff) | |
download | awx-15a16b3dd1091f87e46b18ad345663cd8c4f01cd.tar.xz awx-15a16b3dd1091f87e46b18ad345663cd8c4f01cd.zip |
Update bootstrap_development.sh
Diffstat (limited to 'tools/docker-compose')
-rwxr-xr-x | tools/docker-compose/bootstrap_development.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/docker-compose/bootstrap_development.sh b/tools/docker-compose/bootstrap_development.sh index 28f9bf88ce..ba925d5ee1 100755 --- a/tools/docker-compose/bootstrap_development.sh +++ b/tools/docker-compose/bootstrap_development.sh @@ -40,7 +40,9 @@ echo "Admin password: ${DJANGO_SUPERUSER_PASSWORD}" awx-manage create_preload_data awx-manage register_default_execution_environments -awx-manage provision_instance --hostname="$(hostname)" --node_type="$MAIN_NODE_TYPE" --listener_port=2222 +awx-manage provision_instance --hostname="$(hostname)" --node_type="$MAIN_NODE_TYPE" +awx-manage add_receptor_address --instance="$(hostname)" --address="$(hostname)" --port=2222 --canonical + awx-manage register_queue --queuename=controlplane --instance_percent=100 awx-manage register_queue --queuename=default --instance_percent=100 @@ -52,7 +54,8 @@ if [[ -n "$RUN_MIGRATIONS" ]]; then done if [[ $EXECUTION_NODE_COUNT > 0 ]]; then - awx-manage provision_instance --hostname="receptor-hop" --node_type="hop" --listener_port=5555 + awx-manage provision_instance --hostname="receptor-hop" --node_type="hop" + awx-manage add_receptor_address --instance="receptor-hop" --address="receptor-hop" --port=5555 --canonical awx-manage register_peers "receptor-hop" --peers "awx_1" for (( e=1; e<=$EXECUTION_NODE_COUNT; e++ )); do awx-manage provision_instance --hostname="receptor-$e" --node_type="execution" |