ci: Use search_domain for one resource in CI test (#8393)

- Adds a `search_domain` of `httpbin.test` in seeds
- Updates one of our DNS resources under CI test to use this
This commit is contained in:
Jamil
2025-03-15 08:27:22 -05:00
committed by GitHub
parent 09fb5f9274
commit 06aa485e18
8 changed files with 48 additions and 12 deletions

View File

@@ -25,14 +25,15 @@ create_token_file
sudo cp "scripts/tests/systemd/$SERVICE_NAME.service" /usr/lib/systemd/system/
HTTPBIN=dns.httpbin
HTTPBIN=dns
HTTPBIN_FQDN="$HTTPBIN.httpbin.search.test"
# I'm assuming the docker iface name is relatively constant
DOCKER_IFACE="docker0"
FZ_IFACE="tun-firezone"
echo "# Make sure gateway can reach httpbin by DNS"
gateway sh -c "curl --fail $HTTPBIN/get"
gateway sh -c "curl --fail $HTTPBIN_FQDN/get"
echo "# Accessing a resource should fail before the client is up"
# Force curl to try the Firezone interface. I can't block off the Docker interface yet