Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions tests/acceptance/semiautomation/activefailover.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ spec:
disableIPv6: @DISABLEIPV6@
externalAccess:
type: LoadBalancer
license:
secretName: arangodb-license-key
mode: ActiveFailover
2 changes: 2 additions & 0 deletions tests/acceptance/semiautomation/cluster-local-storage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ spec:
externalAccess:
type: LoadBalancer
mode: Cluster
license:
secretName: arangodb-license-key
agents:
storageClassName: acceptance
dbservers:
Expand Down
2 changes: 2 additions & 0 deletions tests/acceptance/semiautomation/cluster-sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ spec:
externalAccess:
type: LoadBalancer
mode: Cluster
license:
secretName: arangodb-license-key
sync:
enabled: true
externalAccess:
Expand Down
2 changes: 2 additions & 0 deletions tests/acceptance/semiautomation/cluster-sync1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ spec:
externalAccess:
type: LoadBalancer
mode: Cluster
license:
secretName: arangodb-license-key
sync:
enabled: true
externalAccess:
Expand Down
2 changes: 2 additions & 0 deletions tests/acceptance/semiautomation/cluster-sync2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ spec:
externalAccess:
type: LoadBalancer
mode: Cluster
license:
secretName: arangodb-license-key
sync:
enabled: true
externalAccess:
Expand Down
2 changes: 2 additions & 0 deletions tests/acceptance/semiautomation/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ spec:
disableIPv6: @DISABLEIPV6@
externalAccess:
type: LoadBalancer
license:
secretName: arangodb-license-key
mode: Cluster
9 changes: 9 additions & 0 deletions tests/acceptance/semiautomation/helper.fish
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,15 @@ function output
for l in $argv[2..-1] ; echo $l ; end
end

function ensureLicenseKey
if test -z "$ARANGO_LICENSE_KEY"
echo "Need ARANGO_LICENSE_KEY for enterprise image."
exit 1
end
kubectl get secret arangodb-license-key ; or kubectl create secret generic arangodb-license-key \
--from-literal=token="$ARANGO_LICENSE_KEY" > /dev/null
end

function log
echo "$argv[1] Test: $TESTNAME, Desc: $TESTDESC" >> testprotocol.log
end
Expand Down
2 changes: 2 additions & 0 deletions tests/acceptance/semiautomation/single.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ spec:
disableIPv6: @DISABLEIPV6@
externalAccess:
type: LoadBalancer
license:
secretName: arangodb-license-key
mode: Single
3 changes: 3 additions & 0 deletions tests/acceptance/semiautomation/test1a.fish
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ printheader

patchYamlFile $YAMLFILE $ARANGODB_COMMUNITY Development work.yaml

# Ensure enterprise license key
ensureLicenseKey

# Deploy and check
kubectl apply -f work.yaml
and waitForKubectl "get pod" "$DEPLOYMENT-sngl" "1/1 *Running" 1 2
Expand Down
4 changes: 4 additions & 0 deletions tests/acceptance/semiautomation/test1b.fish
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ printheader

patchYamlFile $YAMLFILE $ARANGODB_COMMUNITY Development work.yaml

# Ensure enterprise license key
ensureLicenseKey


# Deploy and check
kubectl apply -f work.yaml
and waitForKubectl "get pod" $DEPLOYMENT "1 *Running" 5 2
Expand Down
3 changes: 3 additions & 0 deletions tests/acceptance/semiautomation/test1c.fish
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ printheader

patchYamlFile $YAMLFILE $ARANGODB_ENTERPRISE Development work.yaml

# Ensure enterprise license key
ensureLicenseKey

# Deploy and check
kubectl apply -f work.yaml
and waitForKubectl "get pod" "$DEPLOYMENT-prmr" "1/1 *Running" 3 2
Expand Down
3 changes: 3 additions & 0 deletions tests/acceptance/semiautomation/test1d.fish
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ printheader

patchYamlFile $YAMLFILE $ARANGODB_ENTERPRISE Development work.yaml

# Ensure enterprise license key
ensureLicenseKey

# Deploy and check
kubectl apply -f work.yaml
and waitForKubectl "get pod" "$DEPLOYMENT" "1/1 *Running" 15 2
Expand Down
3 changes: 3 additions & 0 deletions tests/acceptance/semiautomation/test2a.fish
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ printheader

patchYamlFile $YAMLFILE $ARANGODB_ENTERPRISE Development work.yaml

# Ensure enterprise license key
ensureLicenseKey

# Deploy and check
kubectl apply -f work.yaml
and waitForKubectl "get pod" $DEPLOYMENT "1 *Running" 5 2
Expand Down
3 changes: 3 additions & 0 deletions tests/acceptance/semiautomation/test2b.fish
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ printheader

patchYamlFile $YAMLFILE $ARANGODB_ENTERPRISE Development work.yaml

# Ensure enterprise license key
ensureLicenseKey

# Deploy and check
kubectl apply -f work.yaml
and waitForKubectl "get pod" "$DEPLOYMENT" "1/1 *Running" 9 2
Expand Down
3 changes: 3 additions & 0 deletions tests/acceptance/semiautomation/test3a.fish
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ printheader

patchYamlFile $YAMLFILE $ARANGODB_ENTERPRISE Production work.yaml

# Ensure enterprise license key
ensureLicenseKey

# Deploy and check
kubectl apply -f work.yaml
and waitForKubectl "get pod" "$DEPLOYMENT-sngl" "1/1 *Running" 1 2
Expand Down
4 changes: 4 additions & 0 deletions tests/acceptance/semiautomation/test3b.fish
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ printheader

patchYamlFile $YAMLFILE $ARANGODB_COMMUNITY Production work.yaml

# Ensure enterprise license key
ensureLicenseKey


# Deploy and check
kubectl apply -f work.yaml
and waitForKubectl "get pod" $DEPLOYMENT "1 *Running" 5 2
Expand Down
3 changes: 3 additions & 0 deletions tests/acceptance/semiautomation/test3c.fish
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ printheader

patchYamlFile $YAMLFILE $ARANGODB_ENTERPRISE Production work.yaml

# Ensure enterprise license key
ensureLicenseKey

# Deploy and check
kubectl apply -f work.yaml
and waitForKubectl "get pod" "$DEPLOYMENT-prmr" "1/1 *Running" 3 2
Expand Down
3 changes: 3 additions & 0 deletions tests/acceptance/semiautomation/test3d.fish
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ printheader

patchYamlFile $YAMLFILE $ARANGODB_ENTERPRISE Production work.yaml

# Ensure enterprise license key
ensureLicenseKey

# Deploy and check
kubectl apply -f work.yaml
and waitForKubectl "get pod" "$DEPLOYMENT" "1/1 *Running" 9 2
Expand Down
3 changes: 3 additions & 0 deletions tests/acceptance/semiautomation/test4a.fish
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ printheader

patchYamlFile $YAMLFILE $ARANGODB_ENTERPRISE Development work.yaml

# Ensure enterprise license key
ensureLicenseKey

# Deploy local storage:
kubectl apply -f $YAMLFILESTORAGE
and waitForKubectl "get storageclass" "acceptance.*arangodb.*localstorage" "" 1 1
Expand Down
3 changes: 3 additions & 0 deletions tests/acceptance/semiautomation/test4b.fish
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ printheader

patchYamlFile $YAMLFILE $ARANGODB_ENTERPRISE Development work.yaml

# Ensure enterprise license key
ensureLicenseKey

# Deploy local storage:
kubectl apply -f $YAMLFILESTORAGE
and waitForKubectl "get storageclass" "acceptance.*arangodb.*localstorage" "" 1 1
Expand Down
4 changes: 4 additions & 0 deletions tests/acceptance/semiautomation/test5a.fish
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ printheader

patchYamlFile $YAMLFILE $ARANGODB_COMMUNITY Production work.yaml

# Ensure enterprise license key
ensureLicenseKey


# Deploy and check
kubectl apply -f work.yaml
and waitForKubectl "get pod" "$DEPLOYMENT-sngl" "1/1 *Running" 1 2
Expand Down
4 changes: 4 additions & 0 deletions tests/acceptance/semiautomation/test5b.fish
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ printheader

patchYamlFile $YAMLFILE $ARANGODB_COMMUNITY Production work.yaml

# Ensure enterprise license key
ensureLicenseKey


# Deploy and check
kubectl apply -f work.yaml
and waitForKubectl "get pod" $DEPLOYMENT "1 *Running" 5 2
Expand Down
3 changes: 3 additions & 0 deletions tests/acceptance/semiautomation/test5c.fish
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ printheader

patchYamlFile $YAMLFILE $ARANGODB_ENTERPRISE Production work.yaml

# Ensure enterprise license key
ensureLicenseKey

# Deploy and check
kubectl apply -f work.yaml
and waitForKubectl "get pod" "$DEPLOYMENT-prmr" "1/1 *Running" 3 2
Expand Down
3 changes: 3 additions & 0 deletions tests/acceptance/semiautomation/test6a.fish
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ printheader

patchYamlFile $YAMLFILE $ARANGODB_COMMUNITY Production work.yaml

# Ensure enterprise license key
ensureLicenseKey

# Deploy and check
kubectl apply -f work.yaml
and waitForKubectl "get pod" "$DEPLOYMENT-sngl" "1/1 *Running" 1 2
Expand Down
3 changes: 3 additions & 0 deletions tests/acceptance/semiautomation/test6b.fish
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ printheader

patchYamlFile $YAMLFILE $ARANGODB_COMMUNITY Production work.yaml

# Ensure enterprise license key
ensureLicenseKey

# Deploy and check
kubectl apply -f work.yaml
and waitForKubectl "get pod" $DEPLOYMENT "1 *Running" 5 2
Expand Down
3 changes: 3 additions & 0 deletions tests/acceptance/semiautomation/test6c.fish
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ printheader

patchYamlFile $YAMLFILE $ARANGODB_ENTERPRISE Production work.yaml

# Ensure enterprise license key
ensureLicenseKey

# Deploy and check
kubectl apply -f work.yaml
and waitForKubectl "get pod" "$DEPLOYMENT-prmr" "1/1 *Running" 3 2
Expand Down
3 changes: 3 additions & 0 deletions tests/acceptance/semiautomation/test6d.fish
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ printheader

patchYamlFile $YAMLFILE $ARANGODB_COMMUNITY Production work.yaml

# Ensure enterprise license key
ensureLicenseKey

# Deploy and check
kubectl apply -f work.yaml
and waitForKubectl "get pod" "$DEPLOYMENT-sngl" "1/1 *Running" 1 2
Expand Down
3 changes: 3 additions & 0 deletions tests/acceptance/semiautomation/test6e.fish
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ printheader

patchYamlFile $YAMLFILE $ARANGODB_COMMUNITY Production work.yaml

# Ensure enterprise license key
ensureLicenseKey

# Deploy and check
kubectl apply -f work.yaml
and waitForKubectl "get pod" $DEPLOYMENT "1 *Running" 5 2
Expand Down
3 changes: 3 additions & 0 deletions tests/acceptance/semiautomation/test6f.fish
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ printheader

patchYamlFile $YAMLFILE $ARANGODB_ENTERPRISE Production work.yaml

# Ensure enterprise license key
ensureLicenseKey

# Deploy and check
kubectl apply -f work.yaml
and waitForKubectl "get pod" "$DEPLOYMENT-prmr" "1/1 *Running" 3 2
Expand Down
3 changes: 3 additions & 0 deletions tests/acceptance/semiautomation/test6g.fish
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ printheader

patchYamlFile $YAMLFILE $ARANGODB_ENTERPRISE Development work.yaml

# Ensure enterprise license key
ensureLicenseKey

# Deploy local storage:
kubectl apply -f $YAMLFILESTORAGE
and waitForKubectl "get storageclass" "acceptance.*arangodb.*localstorage" "" 1 1
Expand Down
3 changes: 3 additions & 0 deletions tests/acceptance/semiautomation/test7a.fish
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ patchYamlFile $YAMLFILE $ARANGODB_ENTERPRISE Production work.yaml
patchYamlFile $YAMLFILE2 $ARANGODB_ENTERPRISE Production work2.yaml
cp replication.yaml work3.yaml

# Ensure enterprise license key
ensureLicenseKey

# Deploy and check
kubectl apply -f work.yaml
kubectl apply -f work2.yaml
Expand Down