fix(ci): Remove hosts entry and simplify git setup
Some checks failed
BotUI CI / build (push) Failing after 3h11m20s

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2026-03-31 15:46:13 -03:00
parent e9913ecf9a
commit bf67e1c54b

View file

@ -16,17 +16,10 @@ jobs:
runs-on: gbo
steps:
- name: Disable SSL verification
- name: Setup Git
run: |
git config --global http.sslVerify false
git config --global --add safe.directory "*"
# Remove ALL git url replacements that redirect to internal IPs
git config --global --list | grep -E "^url\..*\.insteadof" | while read line; do
key=$(echo "$line" | cut -d= -f1)
git config --global --unset-all "$key" 2>/dev/null || true
done
# Ensure hosts entry for alm in CI container (required for DNS)
echo "10.157.134.241 alm.pragmatismo.com.br" >> /etc/hosts
- name: Setup Workspace
run: |