Skip to content

Commit

Permalink
ci: patched tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lanathlor committed Oct 25, 2024
1 parent 2384575 commit e7a340e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e7a340e

Please sign in to comment.