fix(ci): Remove hosts entry and simplify git setup
Some checks failed
BotUI CI / build (push) Failing after 3h11m20s
Some checks failed
BotUI CI / build (push) Failing after 3h11m20s
This commit is contained in:
parent
e9913ecf9a
commit
bf67e1c54b
1 changed files with 1 additions and 8 deletions
|
|
@ -16,17 +16,10 @@ jobs:
|
||||||
runs-on: gbo
|
runs-on: gbo
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Disable SSL verification
|
- name: Setup Git
|
||||||
run: |
|
run: |
|
||||||
git config --global http.sslVerify false
|
git config --global http.sslVerify false
|
||||||
git config --global --add safe.directory "*"
|
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
|
- name: Setup Workspace
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue