From 541daa06e6c6476bdfb40e95786e38b300bfad2c Mon Sep 17 00:00:00 2001
From: Matteo Di Carlo <matteo.dicarlo@inaf.it>
Date: Mon, 20 Feb 2023 08:25:10 +0100
Subject: [PATCH] ST-1501 fix trigger

Signed-off-by: Matteo Di Carlo <matteo.dicarlo@inaf.it>
---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c268cd26..d3cafde8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -97,7 +97,7 @@ ska-tango-examples-tests:
         status=$(jq -r '.status' <<< "$response" || true) 
         if [[ $status == "running" ]]; then
           response=$(curl -s --header "PRIVATE-TOKEN: $GITLAB_TOKEN" "$jobs_url")
-          k8steststatus=$(jq -r '.[] | select(.name == "k8s-test") | .status' <<< $response)
+          k8steststatus=$(jq -r '.[] | select(.name == "k8s-test" or .name=="k8s-test-no-operator") | .status' <<< $response)
           pythonteststatus=$(jq -r '.[] | select(.name == "python-test") | .status' <<< $response)
           if [[ $k8steststatus  == "success" ]] && [[ $pythonteststatus  == "success" ]]; then
             echo "'ska-tango-examples' success."
-- 
GitLab