Update the CLI testing script CI pipeline
This commit is contained in:
parent
9053a74999
commit
c60a02942b
@ -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
|
||||||
|
@ -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";
|
Loading…
Reference in New Issue
Block a user