mirror of
https://github.com/keycloak/keycloak.git
synced 2025-12-16 20:15:46 -06:00
fix: using localtest.me instead of nip.io
closes: #40645 Signed-off-by: Steve Hawkins <shawkins@redhat.com>
This commit is contained in:
6
.github/actions/update-hosts/action.yml
vendored
6
.github/actions/update-hosts/action.yml
vendored
@@ -1,5 +1,5 @@
|
||||
name: Update /etc/hosts
|
||||
description: Update /etc/hosts file to hardcode known nip.io hostnames. This is to avoid test instability due to DNS resolution issues.
|
||||
description: Update /etc/hosts file to hardcode known hostnames. This is to avoid test instability due to DNS resolution issues.
|
||||
|
||||
runs:
|
||||
using: composite
|
||||
@@ -10,7 +10,7 @@ runs:
|
||||
if: runner.os == 'Linux'
|
||||
shell: bash
|
||||
run: |
|
||||
printf "\n\n$(cat .github/actions/update-hosts/nipio-hosts)" | sudo tee -a /etc/hosts
|
||||
printf "\n\n$(cat .github/actions/update-hosts/hosts)" | sudo tee -a /etc/hosts
|
||||
|
||||
- id: update-hosts-windows
|
||||
name: Update C:\Windows\System32\drivers\etc\hosts
|
||||
@@ -18,4 +18,4 @@ runs:
|
||||
shell: powershell
|
||||
run: |
|
||||
"`n`n" | Add-Content C:\Windows\System32\drivers\etc\hosts
|
||||
Get-Content .github/actions/update-hosts/nipio-hosts | Add-Content C:\Windows\System32\drivers\etc\hosts
|
||||
Get-Content .github/actions/update-hosts/hosts | Add-Content C:\Windows\System32\drivers\etc\hosts
|
||||
2
.github/actions/update-hosts/hosts
vendored
Normal file
2
.github/actions/update-hosts/hosts
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
127.0.0.1 localtest.me admin.localtest.me localhost-myapp.localtest.me localhost-sso.localtest.me realmFrontend.localtest.me proxy.kc.localtest.me
|
||||
::1 localtest.me admin.localtest.me localhost-myapp.localtest.me localhost-sso.localtest.me realmFrontend.localtest.me proxy.kc.localtest.me
|
||||
2
.github/actions/update-hosts/nipio-hosts
vendored
2
.github/actions/update-hosts/nipio-hosts
vendored
@@ -1,2 +0,0 @@
|
||||
127.0.0.1 localtest.me 127.0.0.1.nip.io admin.127.0.0.1.nip.io localhost-myapp.127.0.0.1.nip.io localhost-sso.127.0.0.1.nip.io realmFrontend.127.0.0.1.nip.io proxy.kc.127.0.0.1.nip.io
|
||||
::1 localtest.me 127.0.0.1.nip.io admin.127.0.0.1.nip.io localhost-myapp.127.0.0.1.nip.io localhost-sso.127.0.0.1.nip.io realmFrontend.127.0.0.1.nip.io proxy.kc.127.0.0.1.nip.io
|
||||
Reference in New Issue
Block a user