Skip to content

Commit

Permalink
fix: update test command
Browse files Browse the repository at this point in the history
Signed-off-by: wilmardo <[email protected]>
  • Loading branch information
wilmardo committed Jun 25, 2021
1 parent 0122c29 commit 4dc8274
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ test:
DOCKER_IMAGE_NAME: ${CI_REGISTRY_IMAGE}
DOCKER_IMAGE_TAG: ${CI_COMMIT_SHA}-amd64
script:
- docker run ${DOCKER_IMAGE_NAME}:${DOCKER_IMAGE_TAG} --help
# Mosquitto help exits with code 3 so catch that as an exit 0 (expected)
- docker run ${DOCKER_IMAGE_NAME}:${DOCKER_IMAGE_TAG} -h || if [ $? -eq 3 ]; then exit 0; fi;
except:
- tags

0 comments on commit 4dc8274

Please sign in to comment.