File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -97,6 +97,10 @@ DOCKERFILE_RELEASES=labs TESTFLAGS="--run /TestRunGlobalNetwork/worker=oci$/ -v"
97
97
Set ` TEST_KEEP_CACHE=1 ` for the test framework to keep external dependant images in a docker volume
98
98
if you are repeatedly calling ` ./hack/test ` script. This helps to avoid rate limiting on the remote registry side.
99
99
100
+ If you are working behind a proxy, you can set some of or all
101
+ ` HTTP_PROXY=http://ip:port ` , ` HTTPS_PROXY=http://ip:port ` , ` NO_PROXY=http://ip:port ` for the test framework
102
+ to specify the proxy build args.
103
+
100
104
Updating vendored dependencies:
101
105
102
106
``` bash
Original file line number Diff line number Diff line change 3
3
. $( dirname $0 ) /util
4
4
set -eu -o pipefail
5
5
6
+ : ${HTTP_PROXY=}
7
+ : ${HTTPS_PROXY=}
8
+ : ${NO_PROXY=}
6
9
: ${TEST_INTEGRATION=}
7
10
: ${TEST_GATEWAY=}
8
11
: ${TEST_DOCKERFILE=}
@@ -61,7 +64,10 @@ if [ "$TEST_COVERAGE" = "1" ]; then
61
64
fi
62
65
63
66
buildxCmd build $cacheFromFlags \
64
- --build-arg " BUILDKITD_TAGS=$BUILDKITD_TAGS " \
67
+ --build-arg BUILDKITD_TAGS \
68
+ --build-arg HTTP_PROXY \
69
+ --build-arg HTTPS_PROXY \
70
+ --build-arg NO_PROXY \
65
71
--target " integration-tests" \
66
72
--output " type=docker,name=$iid " \
67
73
$currentcontext
You can’t perform that action at this time.
0 commit comments