mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user