mirror of
https://github.com/CopterExpress/clover.git
synced 2026-05-29 22:39:33 +00:00
image_builder: add params message
This commit is contained in:
@@ -10,6 +10,12 @@ export TARGET_REPO=${TARGET_REPO:='https://github.com/urpylka/clever.git'}
|
||||
export TARGET_REF=${TARGET_REF:='qemu_test_2'}
|
||||
export TARGET_CONFIG=${TARGET_CONFIG:='/image_builder/scripts/builder.json'}
|
||||
|
||||
echo "================================================================================"
|
||||
echo "\$TARGET_REPO: $TARGET_REPO"
|
||||
echo "\$TARGET_REF: $TARGET_REF"
|
||||
echo "\$TARGET_CONFIG: $TARGET_CONFIG"
|
||||
echo "================================================================================"
|
||||
|
||||
# TODO: The repository can be already downloaded, use the TARGET_REPO also as unix path.
|
||||
REPO_DIR=$(mktemp -d --suffix=.builder_repo)
|
||||
git clone ${TARGET_REPO} --single-branch --branch ${TARGET_REF} --depth 1 ${REPO_DIR} \
|
||||
|
||||
Reference in New Issue
Block a user