From c60a02942b6a6cec6cd7d22515af08546552d270 Mon Sep 17 00:00:00 2001 From: Matej Sima Date: Wed, 25 Sep 2019 10:52:26 +0200 Subject: [PATCH] Update the CLI testing script CI pipeline --- .gitlab-ci.yml | 2 +- scripts/test_cli.sh | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 594efb1b5..ff385a1ce 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -111,7 +111,7 @@ build-and-publish-latest-docker-image: <<: *docker_build after_script: - docker login -u $LIGO_REGISTRY_USER -p $LIGO_REGISTRY_PASSWORD - - scripts/test_cli.sh + - sh scripts/test_cli.sh - docker push $LIGO_REGISTRY_IMAGE:next only: - dev diff --git a/scripts/test_cli.sh b/scripts/test_cli.sh index 04581fe72..ab02ff575 100755 --- a/scripts/test_cli.sh +++ b/scripts/test_cli.sh @@ -114,4 +114,6 @@ fi if [ "$dry_run_output" != "$expected_dry_run_output" ]; then echo "Expected $expected_dry_run_output as dry-run output, got $dry_run_output instead"; exit 1; -fi \ No newline at end of file +fi + +echo "CLI tests passed"; \ No newline at end of file