Skip to content

Commit 1c3ea60

Browse files
authored
Merge pull request #293 from arangodb/bug-fix/fix-semiautomation
Fixes for semiautomation.
2 parents e6f81f4 + 0c4687d commit 1c3ea60

32 files changed

+60
-6
lines changed

tests/acceptance/semiautomation/activefailover.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ metadata:
55
spec:
66
environment: @ENVIRONMENT@
77
image: @IMAGE@
8+
disableIPv6: @DISABLEIPV6@
89
externalAccess:
910
type: LoadBalancer
1011
mode: ActiveFailover

tests/acceptance/semiautomation/cluster-local-storage.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ metadata:
55
spec:
66
environment: @ENVIRONMENT@
77
image: @IMAGE@
8+
disableIPv6: @DISABLEIPV6@
89
externalAccess:
910
type: LoadBalancer
1011
mode: Cluster

tests/acceptance/semiautomation/cluster-sync.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ metadata:
55
spec:
66
environment: @ENVIRONMENT@
77
image: @IMAGE@
8+
disableIPv6: @DISABLEIPV6@
89
externalAccess:
910
type: LoadBalancer
1011
mode: Cluster
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
apiVersion: "database.arangodb.com/v1alpha"
2+
kind: "ArangoDeployment"
3+
metadata:
4+
name: "acceptance-cluster1"
5+
spec:
6+
environment: @ENVIRONMENT@
7+
image: @IMAGE@
8+
disableIPv6: @DISABLEIPV6@
9+
externalAccess:
10+
type: LoadBalancer
11+
mode: Cluster
12+
sync:
13+
enabled: true
14+
externalAccess:
15+
type: LoadBalancer
16+
accessPackageSecretNames: ["src-accesspackage"]
17+
masterEndpoint: ["https://src-sync.9hoeffer.de:8629"]

tests/acceptance/semiautomation/cluster-sync2.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ metadata:
55
spec:
66
environment: @ENVIRONMENT@
77
image: @IMAGE@
8+
disableIPv6: @DISABLEIPV6@
89
externalAccess:
910
type: LoadBalancer
1011
mode: Cluster

tests/acceptance/semiautomation/cluster.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ metadata:
55
spec:
66
environment: @ENVIRONMENT@
77
image: @IMAGE@
8+
disableIPv6: @DISABLEIPV6@
89
externalAccess:
910
type: LoadBalancer
1011
mode: Cluster

tests/acceptance/semiautomation/helper.fish

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,12 @@ function patchYamlFile
9999
set -l RESULT $argv[4]
100100
cp "$YAMLFILE" "$RESULT"
101101
sed -i "s|@IMAGE@|$IMAGE|" "$RESULT"
102-
sed -i "s|@ENVIRONMENT|$ENVIRONMENT|" "$RESULT"
102+
sed -i "s|@ENVIRONMENT@|$ENVIRONMENT|" "$RESULT"
103+
if test -z "$DISABLEIPV6"
104+
sed -i "s|@DISABLEIPV6@|false|" "$RESULT"
105+
else
106+
sed -i "s|@DISABLEIPV6@|true|" "$RESULT"
107+
end
103108
end
104109

105110
function checkImages
@@ -108,5 +113,3 @@ function checkImages
108113
exit 1
109114
end
110115
end
111-
112-
checkImages

tests/acceptance/semiautomation/replication.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ metadata:
44
name: "replication-internal"
55
spec:
66
source:
7-
masterEndpoint: ["https://@ADDRESS@:8629"]
7+
masterEndpoint: ["https://src-sync.9hoeffer.de:8629"]
88
auth:
99
keyfileSecretName: src-accesspackage-auth
1010
tls:

tests/acceptance/semiautomation/single.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ metadata:
55
spec:
66
environment: @ENVIRONMENT@
77
image: @IMAGE@
8+
disableIPv6: @DISABLEIPV6@
89
externalAccess:
910
type: LoadBalancer
1011
mode: Single

tests/acceptance/semiautomation/test1a.fish

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/usr/bin/fish
22

33
source helper.fish
4+
checkImages
45

56
set -g TESTNAME test1a
67
set -g TESTDESC "Deployment of mode single (development)"

0 commit comments

Comments
 (0)