@@ -47,9 +47,7 @@ import (
|
||||
argocd app get "$APPLICATION" --output json | jq '{health:.status.health.status,sync:.status.sync.status,namespace:.spec.destination.namespace,server:.spec.destination.server,urls:(.status.summary.externalURLs//[]|join(",")),state:.status.operationState.message}' > /output.json
|
||||
"""#,
|
||||
]
|
||||
env: {
|
||||
APPLICATION: name
|
||||
}
|
||||
env: APPLICATION: name
|
||||
},
|
||||
|
||||
op.#Export & {
|
||||
|
@@ -74,7 +74,7 @@ skip_unless_local_localstack() {
|
||||
#
|
||||
# This is need to do kubernetes test in the CI.
|
||||
skip_unless_local_kube() {
|
||||
if [ -f ~/.kube/config ] && grep -q "user: kind-kind" ~/.kube/config &> /dev/null && grep -q "127.0.0.1" ~/.kube/config &> /dev/null; then
|
||||
if [ -f ~/.kube/config ] && grep -q "127.0.0.1" ~/.kube/config &> /dev/null; then
|
||||
echo "Kubernetes available"
|
||||
else
|
||||
skip "local kubernetes cluster not available"
|
||||
|
@@ -224,7 +224,6 @@ setup() {
|
||||
|
||||
# Forward port
|
||||
kubectl port-forward svc/argocd-server -n argocd 8080:443 >/dev/null 2>/dev/null &
|
||||
pid=$!
|
||||
sleep 3
|
||||
|
||||
# Run test
|
||||
|
Reference in New Issue
Block a user