diff --git a/.github/workflows/test-integration.yaml b/.github/workflows/test-integration.yaml index 590ec28c5e..9a6da2868d 100644 --- a/.github/workflows/test-integration.yaml +++ b/.github/workflows/test-integration.yaml @@ -21,9 +21,9 @@ jobs: echo "PATH=${{ github.workspace }}/hack/bin:$PATH" >> "$GITHUB_ENV" echo "TEKTON_TESTS_ENABLED=1" >> "$GITHUB_ENV" echo "GITLAB_TESTS_ENABLED=1" >> "$GITHUB_ENV" - echo "GITLAB_HOSTNAME=gitlab.127.0.0.1.sslip.io" >> "$GITHUB_ENV" + echo "GITLAB_HOSTNAME=gitlab.localtest.me" >> "$GITHUB_ENV" echo "GITLAB_ROOT_PASSWORD=$(< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c${1:-32})" >> "$GITHUB_ENV" - echo "PAC_CONTROLLER_HOSTNAME=pac-ctr.127.0.0.1.sslip.io" >> "$GITHUB_ENV" + echo "PAC_CONTROLLER_HOSTNAME=pac-ctr.localtest.me" >> "$GITHUB_ENV" - uses: actions/checkout@v4 - uses: knative/actions/setup-go@main - uses: imjasonh/setup-ko@v0.6 diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index 6a21f067b5..04da7fe675 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -102,7 +102,7 @@ On other systems, add `127.0.0.1 kind-registry` to your local `hosts` file and ` Once the cluster has been allocated, the `func` CLI (or client library) will automatically use it (see the [Kubeconfig Docs](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/) for more) -Functions will be available at the address `[Function Name].default.127.0.0.1.sslip.io` +Functions will be available at the address `[Function Name].default.localtest.me` To run integration tests, use `make test-integration`. diff --git a/hack/allocate.sh b/hack/allocate.sh index 767bdefb53..deaef14b9b 100755 --- a/hack/allocate.sh +++ b/hack/allocate.sh @@ -115,7 +115,7 @@ dns() { $KUBECTL patch configmap/config-domain \ --namespace knative-serving \ --type merge \ - --patch '{"data":{"127.0.0.1.sslip.io":""}}' && break + --patch '{"data":{"localtest.me":""}}' && break (( i+=1 )) if (( i>=n )); then @@ -402,7 +402,7 @@ tekton() { pac() { echo "${blue}Installing PAC (Pipelines-as-Code) ${pac_version} ${reset}" - local -r pac_ctr_host="${PAC_CONTROLLER_HOSTNAME:-pac-ctr.127.0.0.1.sslip.io}" + local -r pac_ctr_host="${PAC_CONTROLLER_HOSTNAME:-pac-ctr.localtest.me}" # Install Pipelines as Code $KUBECTL apply -f "https://raw.githubusercontent.com/openshift-pipelines/pipelines-as-code/release-${pac_version}/release.k8s.yaml" diff --git a/hack/install-gitlab.sh b/hack/install-gitlab.sh index c99085f5fd..cd470e8c3f 100755 --- a/hack/install-gitlab.sh +++ b/hack/install-gitlab.sh @@ -21,7 +21,7 @@ source "$(dirname "$(realpath "$0")")/common.sh" function install_gitlab() { echo "${blue}Installing GitLab${reset}" - local -r gitlab_host="${GITLAB_HOSTNAME:-gitlab.127.0.0.1.sslip.io}" + local -r gitlab_host="${GITLAB_HOSTNAME:-gitlab.localtest.me}" $KUBECTL apply -f - <