Refactored entrypoint.sh to make it testable via BATS.
Added initial tests via BATS.
Added support for api-version, cli-version, skip-install-cli, wait-interval, no-wait-for-sync and extra arguments.
With the extra argument, it's now possible to pass in-verbatim arguments to the Cloudsmith CLI. To workaround the issue of having to support every argument every offered by the CLI.
What Changed?
entrypoint.sh
to make it testable via BATS.api-version
,cli-version
,skip-install-cli
,wait-interval
,no-wait-for-sync
andextra
arguments.With the
extra
argument, it's now possible to pass in-verbatim arguments to the Cloudsmith CLI. To workaround the issue of having to support every argument every offered by the CLI.