if [[ "$IVAS_CODEC_CI_REF" == "" ]]; then echo "Error: IVAS_CODEC_CI_REF not set" && exit 1; else echo "IVAS_CODEC_CI_REF set to: $IVAS_CODEC_CI_REF"; fi
# note: git clone -b does not work with SHA refs, hence using the safe way of a full clone and git switch
# NOTE: set CUSTOM_CI_REPO_CLONE_URL in your gitlab setup