mirror of
https://github.com/ansible/awx.git
synced 2026-02-28 08:18:43 -03:30
Update DOCKER_COMPOSE command to docker compose (#15056)
* Update DOCKER_COMPOSE command docker-compose will stop being supported soon and this is causing CI flake setting DOCKER_COMPOSE default to `docker compose` * Give AWX network a static name
This commit is contained in:
2
.github/actions/run_awx_devel/action.yml
vendored
2
.github/actions/run_awx_devel/action.yml
vendored
@@ -71,7 +71,7 @@ runs:
|
||||
id: data
|
||||
shell: bash
|
||||
run: |
|
||||
AWX_IP=$(docker inspect -f '{{.NetworkSettings.Networks._sources_awx.IPAddress}}' tools_awx_1)
|
||||
AWX_IP=$(docker inspect -f '{{.NetworkSettings.Networks.awx.IPAddress}}' tools_awx_1)
|
||||
ADMIN_TOKEN=$(docker exec -i tools_awx_1 awx-manage create_oauth2_token --user admin)
|
||||
echo "ip=$AWX_IP" >> $GITHUB_OUTPUT
|
||||
echo "admin_token=$ADMIN_TOKEN" >> $GITHUB_OUTPUT
|
||||
|
||||
2
Makefile
2
Makefile
@@ -2,7 +2,7 @@
|
||||
|
||||
PYTHON := $(notdir $(shell for i in python3.11 python3; do command -v $$i; done|sed 1q))
|
||||
SHELL := bash
|
||||
DOCKER_COMPOSE ?= docker-compose
|
||||
DOCKER_COMPOSE ?= docker compose
|
||||
OFFICIAL ?= no
|
||||
NODE ?= node
|
||||
NPM_BIN ?= npm
|
||||
|
||||
@@ -363,6 +363,7 @@ volumes:
|
||||
|
||||
networks:
|
||||
awx:
|
||||
name: awx
|
||||
service-mesh:
|
||||
name: service-mesh
|
||||
{% if minikube_container_group|bool %}
|
||||
|
||||
Reference in New Issue
Block a user