From e7a340e8117ddfa9850b89debec50a823c9f3fb4 Mon Sep 17 00:00:00 2001 From: lanath Date: Fri, 25 Oct 2024 15:37:53 +0200 Subject: [PATCH] ci: patched tests --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a555376..1e939dd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,14 +25,14 @@ test clearndr: - docker login $CI_REGISTRY --username $GITLAB_REGISTRY_USER --password $GITLAB_REGISTRY_TOKEN - stamusctl compose init --default --template data/clearndr/ - stamusctl compose up -d - - docker inspect nginx | jq -e '.[0].HostConfig.RestartPolicy.Name == "unless-stopped"' + - docker inspect config-nginx-1 | jq -e '.[0].HostConfig.RestartPolicy.Name == "unless-stopped"' - docker inspect config-ssl-keygen-1 | jq -e '.[0].State.Status == "exited"' - docker inspect config-ssl-keygen-1 | jq -e '.[0].State.Status == "exited"' - docker inspect config-ssl-keygen-1 | jq -e '.[0].State.ExitCode == 0' - stamusctl compose down - stamusctl config set globals.restartmode=always - stamusctl compose up -d - - docker inspect nginx | jq -e '.[0].HostConfig.RestartPolicy.Name == "always"' + - docker inspect config-nginx-1 | jq -e '.[0].HostConfig.RestartPolicy.Name == "always"' tests: stage: docker