File tree 3 files changed +1
-18
lines changed
3 files changed +1
-18
lines changed Original file line number Diff line number Diff line change @@ -187,18 +187,6 @@ jobs:
187
187
-e SERVER_COUNT=foo \
188
188
"${{ env.IMAGE_NAME }}"
189
189
190
- - name : Run Docker Image with Invalid DNS Resolver
191
- timeout-minutes : 1
192
- id : test-validation-dns-resolver
193
- continue-on-error : true
194
- run : |
195
- ! docker run \
196
- -e STRATEGY=PERCENTAGE \
197
- -e OLD_DOMAIN=haproxy.com:443 -e NEW_DOMAIN=apache.org:443 \
198
- -e COOKIE_PERCENTAGE_NAME=my_app \
199
- -e DNS_RESOLVER=foo \
200
- "${{ env.IMAGE_NAME }}"
201
-
202
190
- name : Check for failures
203
191
if : always()
204
192
env :
Original file line number Diff line number Diff line change @@ -41,10 +41,6 @@ how much traffic should be routed to the old application
41
41
### PERCENTAGE_NEW
42
42
how much traffic should be routed to the new application
43
43
44
- ### DNS_RESOLVER (optional, default=1.1.1.1)
45
- The DNS resolver to use for resolving the domain names to IP addresses.
46
- If you want to reroute internal traffic you might want to change that.
47
-
48
44
### SERVER_COUNT (optional, default=5)
49
45
as we are using DNS Resolver we try to create a server for each IP address we get back from the DNS query.
50
46
This is the maximum amount of servers we will create.
Original file line number Diff line number Diff line change 11
11
presetenv PERCENTAGE_NEW "0 "
12
12
presetenv PERCENTAGE_OLD "100 "
13
13
presetenv SERVER_COUNT "5 "
14
- presetenv DNS_RESOLVER "1.1.1.1:53 "
15
14
16
15
# we source them from the environment here to actually typecheck them
17
16
set-var proc.percentage_new int("${PERCENTAGE_NEW}")
@@ -81,5 +80,5 @@ backend cookie_strategy
81
80
server -template default_new "$SERVER_COUNT" "$NEW_DOMAIN"
82
81
83
82
resolvers dns
84
- nameserver default "$DNS_RESOLVER"
83
+ parse-resolv-conf
85
84
accepted_payload_size 8192
You can’t perform that action at this time.
0 commit comments