diff --git a/src/tests/ecoc24/.gitlab-ci.yml b/src/tests/ecoc24/.gitlab-ci.yml index fd773f015e22d72f69bbfe806106a1e945db6498..b0247516bd203a85a88d2bd5abac9792e33bd0d6 100644 --- a/src/tests/ecoc24/.gitlab-ci.yml +++ b/src/tests/ecoc24/.gitlab-ci.yml @@ -48,10 +48,10 @@ end2end_test ecoc24: - docker network rm -f na-br - - helm3 uninstall --namespace nats-e2e nats-e2e --ignore-not-found - - helm3 uninstall --namespace nats-ip nats-ip --ignore-not-found - - helm3 uninstall --namespace nats-opt nats-opt --ignore-not-found - - helm3 uninstall --namespace nats nats --ignore-not-found + - helm3 uninstall --namespace nats-e2e nats-e2e 2>/dev/null || echo "Release not found" + - helm3 uninstall --namespace nats-ip nats-ip 2>/dev/null || echo "Release not found" + - helm3 uninstall --namespace nats-opt nats-opt 2>/dev/null || echo "Release not found" + - helm3 uninstall --namespace nats nats 2>/dev/null || echo "Release not found" - kubectl delete namespaces tfs tfs-ip tfs-opt tfs-e2e qdb qdb-e2e qdb-opt qdb-ip --ignore-not-found - kubectl delete namespaces nats nats-ip nats-opt nats-e2e --ignore-not-found @@ -161,10 +161,11 @@ end2end_test ecoc24: # Clean old docker images - docker images --filter="dangling=true" --quiet | xargs -r docker rmi -f - - helm3 uninstall --namespace nats-e2e nats-e2e --ignore-not-found - - helm3 uninstall --namespace nats-ip nats-ip --ignore-not-found - - helm3 uninstall --namespace nats-opt nats-opt --ignore-not-found - - helm3 uninstall --namespace nats nats --ignore-not-found + + - helm3 uninstall --namespace nats-e2e nats-e2e 2>/dev/null || echo "Release not found" + - helm3 uninstall --namespace nats-ip nats-ip 2>/dev/null || echo "Release not found" + - helm3 uninstall --namespace nats-opt nats-opt 2>/dev/null || echo "Release not found" + - helm3 uninstall --namespace nats nats 2>/dev/null || echo "Release not found" - kubectl delete namespaces tfs tfs-ip tfs-opt tfs-e2e qdb qdb-e2e qdb-opt qdb-ip --ignore-not-found - kubectl delete namespaces nats nats-ip nats-opt nats-e2e --ignore-not-found