experiment: testing

This commit is contained in:
Nicholas Dudfield
2025-08-12 12:45:20 +07:00
parent 573569f031
commit 2a2fee3cd3

View File

@@ -93,12 +93,12 @@ jobs:
" "
docker run --rm --network conan-net conanio/gcc11 bash -xec " docker run --rm --network conan-net conanio/gcc11 bash -xec "
# Get Gitea's IP from inside the container # # Get Gitea's IP from inside the container
GITEA_IP=\$(python -c 'import socket; print(socket.gethostbyname(\"gitea-conan-persistent\"))') # GITEA_IP=\$(python -c 'import socket; print(socket.gethostbyname(\"gitea-conan-persistent\"))')
echo \"Gitea IP resolved inside container: \$GITEA_IP\" # echo \"Gitea IP resolved inside container: \$GITEA_IP\"
# Configure Conan using the resolved IP # Configure Conan using the resolved IP
conan remote add gitea-local http://\$GITEA_IP:3000/api/packages/conan/conan conan remote add gitea-local http://gitea-conan-persistent:3000/api/packages/conan/conan
conan user -p conan-pass-2024 -r gitea-local conan conan user -p conan-pass-2024 -r gitea-local conan
# Enable revisions to match the server expectation # Enable revisions to match the server expectation