mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-20 10:35:50 +00:00
experiment: testing
This commit is contained in:
5
.github/workflows/build-in-docker.yml
vendored
5
.github/workflows/build-in-docker.yml
vendored
@@ -91,12 +91,7 @@ jobs:
|
|||||||
echo 'Testing HTTP connection...'
|
echo 'Testing HTTP connection...'
|
||||||
curl -s http://gitea-conan-persistent:3000 | head -n1
|
curl -s http://gitea-conan-persistent:3000 | head -n1
|
||||||
"
|
"
|
||||||
|
|
||||||
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
|
|
||||||
# GITEA_IP=\$(python -c 'import socket; print(socket.gethostbyname(\"gitea-conan-persistent\"))')
|
|
||||||
# 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-conan-persistent: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
|
||||||
|
|||||||
Reference in New Issue
Block a user