Update the CLI testing script CI pipeline

This commit is contained in:
Matej Sima 2019-09-25 10:52:26 +02:00
parent 9053a74999
commit c60a02942b
2 changed files with 4 additions and 2 deletions

View File

@ -111,7 +111,7 @@ build-and-publish-latest-docker-image:
<<: *docker_build <<: *docker_build
after_script: after_script:
- docker login -u $LIGO_REGISTRY_USER -p $LIGO_REGISTRY_PASSWORD - 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 - docker push $LIGO_REGISTRY_IMAGE:next
only: only:
- dev - dev

View File

@ -114,4 +114,6 @@ fi
if [ "$dry_run_output" != "$expected_dry_run_output" ]; then if [ "$dry_run_output" != "$expected_dry_run_output" ]; then
echo "Expected $expected_dry_run_output as dry-run output, got $dry_run_output instead"; echo "Expected $expected_dry_run_output as dry-run output, got $dry_run_output instead";
exit 1; exit 1;
fi fi
echo "CLI tests passed";