mirror of
https://github.com/dokku/dokku.git
synced 2025-12-29 00:25:08 +01:00
tests: run tests with a specified server ip
This commit is contained in:
1
.github/commands/ci-setup
vendored
1
.github/commands/ci-setup
vendored
@@ -7,6 +7,7 @@ DOKKU_DOMAIN=${DOKKU_DOMAIN:="dokku.me"}
|
||||
echo "=====> set hostname"
|
||||
hostname
|
||||
internal_ip="$(ifconfig eth0 | grep 'inet ' | awk '{print $2}')"
|
||||
echo "CI_SERVER_IP=${internal_ip}" >>"$GITHUB_ENV"
|
||||
sudo hostname "$DOKKU_DOMAIN"
|
||||
echo "$DOKKU_DOMAIN" | sudo tee /etc/hostname
|
||||
hostname
|
||||
|
||||
Reference in New Issue
Block a user