Scripts now source dependencies using relative paths (previously breaking make depending on current directory).
This commit is contained in:
1 parent
29cb13cba6
commit
0dff07dc8b
68 files changed
+68
-68
No files matched your search
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
start_suite "Test docker restart policy"
|
start_suite "Test docker restart policy"
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
C1=10.2.1.4
|
C1=10.2.1.4
|
||||||
C2=10.2.1.7
|
C2=10.2.1.7
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
C1=10.2.1.41
|
C1=10.2.1.41
|
||||||
C2=10.2.1.71
|
C2=10.2.1.71
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
C1=10.2.1.4
|
C1=10.2.1.4
|
||||||
C2=10.2.1.7
|
C2=10.2.1.7
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
start_suite "Optional encryption via trusted subnets"
|
start_suite "Optional encryption via trusted subnets"
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
C1=10.2.1.41
|
C1=10.2.1.41
|
||||||
C3=10.2.1.71
|
C3=10.2.1.71
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
C1=10.2.1.34
|
C1=10.2.1.34
|
||||||
C2=10.2.1.37
|
C2=10.2.1.37
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
weave_local_on() {
|
weave_local_on() {
|
||||||
host=$1
|
host=$1
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
C1=10.2.1.4
|
C1=10.2.1.4
|
||||||
C2=10.2.1.7
|
C2=10.2.1.7
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
|
|
||||||
assert_targets() {
|
assert_targets() {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
C1=10.2.1.46
|
C1=10.2.1.46
|
||||||
C2=10.2.1.47
|
C2=10.2.1.47
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
show_multicast_route_on() {
|
show_multicast_route_on() {
|
||||||
exec_on $1 $2 ip route show 224.0.0.0/4
|
exec_on $1 $2 ip route show 224.0.0.0/4
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
C1=10.2.0.78
|
C1=10.2.0.78
|
||||||
C2=10.2.0.34
|
C2=10.2.0.34
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
C1=10.2.0.87
|
C1=10.2.0.87
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
C1=10.2.3.78
|
C1=10.2.3.78
|
||||||
C2=10.2.3.34
|
C2=10.2.3.34
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
start_suite "Check propagation of DNS entries when gossip is delayed"
|
start_suite "Check propagation of DNS entries when gossip is delayed"
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
C1=10.2.56.34
|
C1=10.2.56.34
|
||||||
C2=10.2.54.91
|
C2=10.2.54.91
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
C1=10.2.54.34
|
C1=10.2.54.34
|
||||||
C2=10.2.54.91
|
C2=10.2.54.91
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
C1=10.2.0.78
|
C1=10.2.0.78
|
||||||
C2=10.2.0.34
|
C2=10.2.0.34
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
C1=10.2.0.78
|
C1=10.2.0.78
|
||||||
C2=10.2.0.34
|
C2=10.2.0.34
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
C1=10.2.0.78
|
C1=10.2.0.78
|
||||||
C2=10.2.0.79
|
C2=10.2.0.79
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
start_suite "Negative DNS queries"
|
start_suite "Negative DNS queries"
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
C1=10.2.0.78
|
C1=10.2.0.78
|
||||||
C2=10.2.0.34
|
C2=10.2.0.34
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
C1=10.2.0.67
|
C1=10.2.0.67
|
||||||
C2=10.2.0.43
|
C2=10.2.0.43
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
IP=10.2.0.67
|
IP=10.2.0.67
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
NAME=c1
|
NAME=c1
|
||||||
DOMAIN=weave.local
|
DOMAIN=weave.local
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
IP=10.2.0.34
|
IP=10.2.0.34
|
||||||
TARGET=seetwo.weave.local
|
TARGET=seetwo.weave.local
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
start_suite "Resolve a non-weave address"
|
start_suite "Resolve a non-weave address"
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
NAME=seetwo.weave.local
|
NAME=seetwo.weave.local
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
C1=10.2.1.43
|
C1=10.2.1.43
|
||||||
C2=10.2.1.44
|
C2=10.2.1.44
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
start_suite "Containers get same IP address on restart"
|
start_suite "Containers get same IP address on restart"
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
UNIVERSE=10.2.0.0/16
|
UNIVERSE=10.2.0.0/16
|
||||||
C1=10.2.128.1
|
C1=10.2.128.1
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
start_suite "Rolling restart with reset"
|
start_suite "Rolling restart with reset"
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
start_suite "rmpeer reclaims IP addresses of lost peers"
|
start_suite "rmpeer reclaims IP addresses of lost peers"
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
start_suite "Observers can't vote"
|
start_suite "Observers can't vote"
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
start_suite "Observers can call election"
|
start_suite "Observers can call election"
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
start_suite "IPAM ring seed mismatch"
|
start_suite "IPAM ring seed mismatch"
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
start_suite "IPAM alloc range change"
|
start_suite "IPAM alloc range change"
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
start_suite "Checking persistence of IPAM"
|
start_suite "Checking persistence of IPAM"
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
start_suite "Specify initial IPAM seed"
|
start_suite "Specify initial IPAM seed"
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
NAME=multicidr.weave.local
|
NAME=multicidr.weave.local
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ check() {
|
|||||||
assert_raises "timeout 10 cat <( $CMD )"
|
assert_raises "timeout 10 cat <( $CMD )"
|
||||||
}
|
}
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
start_suite "'detach' and 'hide' do not require IP allocation"
|
start_suite "'detach' and 'hide' do not require IP allocation"
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
# Explicitly not called _test.sh - this isn't run, but imported by other tests.
|
# Explicitly not called _test.sh - this isn't run, but imported by other tests.
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
IMAGE="joffrey/docker-py:1.8.1"
|
IMAGE="joffrey/docker-py:1.8.1"
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
start_suite "Check that docker inspect returns the weave IP"
|
start_suite "Check that docker inspect returns the weave IP"
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
entrypoint() {
|
entrypoint() {
|
||||||
docker_on $HOST1 inspect --format="{{.Config.Entrypoint}}" "$@"
|
docker_on $HOST1 inspect --format="{{.Config.Entrypoint}}" "$@"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
expected_ip=10.2.1.1
|
expected_ip=10.2.1.1
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
build_image() {
|
build_image() {
|
||||||
docker_on $HOST1 build -t $1 >/dev/null - <<- EOF
|
docker_on $HOST1 build -t $1 >/dev/null - <<- EOF
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
C1=10.2.0.78
|
C1=10.2.0.78
|
||||||
C2=10.2.0.34
|
C2=10.2.0.34
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
C1=10.2.0.78
|
C1=10.2.0.78
|
||||||
C2=10.2.0.34
|
C2=10.2.0.34
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
NAME=seetwo.weave.local
|
NAME=seetwo.weave.local
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
CMD="run -e WEAVE_CIDR=10.2.1.4/24 $SMALL_IMAGE $CHECK_ETHWE_UP"
|
CMD="run -e WEAVE_CIDR=10.2.1.4/24 $SMALL_IMAGE $CHECK_ETHWE_UP"
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
start_suite "Check the proxy handles arbitrarily large http chunks"
|
start_suite "Check the proxy handles arbitrarily large http chunks"
|
||||||
# docker images returns all its data as one giant http chunk.
|
# docker images returns all its data as one giant http chunk.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
UNIVERSE=10.2.2.0/24
|
UNIVERSE=10.2.2.0/24
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
start_suite "Abuse of 'start' operation"
|
start_suite "Abuse of 'start' operation"
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
start_suite "Boot the proxy with TLS-enabled Docker support"
|
start_suite "Boot the proxy with TLS-enabled Docker support"
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
C1=10.2.0.78
|
C1=10.2.0.78
|
||||||
C2=10.2.0.34
|
C2=10.2.0.34
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
C1=10.2.1.13
|
C1=10.2.1.13
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
start_suite "Various launch-proxy configurations"
|
start_suite "Various launch-proxy configurations"
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
start_suite "Proxy failure modes"
|
start_suite "Proxy failure modes"
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
UNIVERSE=10.2.0.0/16
|
UNIVERSE=10.2.0.0/16
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
start_suite "Detect hairpin mode"
|
start_suite "Detect hairpin mode"
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
C1_NAME=c1.weave.local
|
C1_NAME=c1.weave.local
|
||||||
C2_NAME=seetwo.weave.local
|
C2_NAME=seetwo.weave.local
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
C1_NAME=c1.weave.local
|
C1_NAME=c1.weave.local
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
start_suite "Test Docker Network plugin with specified subnet"
|
start_suite "Test Docker Network plugin with specified subnet"
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
start_suite "Test CNI plugin"
|
start_suite "Test CNI plugin"
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
tear_down_kubeadm() {
|
tear_down_kubeadm() {
|
||||||
for host in $HOSTS; do
|
for host in $HOSTS; do
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@ set -e
|
|||||||
|
|
||||||
cd "$(dirname "${BASH_SOURCE[0]}")"
|
cd "$(dirname "${BASH_SOURCE[0]}")"
|
||||||
|
|
||||||
. ./config.sh
|
. "$(dirname "$0")/config.sh"
|
||||||
|
|
||||||
(cd ./tls && ./tls $HOSTS)
|
(cd ./tls && ./tls $HOSTS)
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user