Update Gitea references from 192.168.88.200:3000 to 192.168.88.27:3002 (Docker migration)
This commit is contained in:
@@ -99,13 +99,13 @@ fi
|
||||
# Test 4: Gitea Accessibility
|
||||
section "Test 4: Gitea Repository Connectivity"
|
||||
|
||||
if timeout 5 docker exec opencode curl -s http://192.168.88.200:3000/api/v1/version > /dev/null 2>&1; then
|
||||
pass "Gitea is accessible at 192.168.88.200:3000"
|
||||
if timeout 5 docker exec opencode curl -s http://192.168.88.27:3002/api/v1/version > /dev/null 2>&1; then
|
||||
pass "Gitea is accessible at 192.168.88.27:3002"
|
||||
|
||||
GITEA_VERSION=$(docker exec opencode curl -s http://192.168.88.200:3000/api/v1/version | grep -o '"version":"[^"]*"' | cut -d'"' -f4)
|
||||
GITEA_VERSION=$(docker exec opencode curl -s http://192.168.88.27:3002/api/v1/version | grep -o '"version":"[^"]*"' | cut -d'"' -f4)
|
||||
info "Gitea version: $GITEA_VERSION"
|
||||
else
|
||||
fail "Cannot reach Gitea at 192.168.88.200:3000"
|
||||
fail "Cannot reach Gitea at 192.168.88.27:3002"
|
||||
info "Check Gitea status on docker-server"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user