less verbose

This commit is contained in:
Kay0u 2021-03-10 10:43:18 +01:00
parent 277e986a9a
commit 39218300dc
No known key found for this signature in database
GPG key ID: AAFEEB16CFA2AE2D
2 changed files with 3 additions and 4 deletions

View file

@ -23,6 +23,8 @@ start_container () {
exit $SYSTEM_FAILURE_EXIT_CODE
fi
info "Debian version: $DEBIAN_VERSION, YunoHost version: $CURRENT_VERSION, Image used: $BASE_IMAGE-$SNAPSHOT_NAME"
lxc launch "$BASE_IMAGE-$SNAPSHOT_NAME" "$CONTAINER_ID" -c security.nesting=true 2>/dev/null
mkdir -p $current_dir/cache

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash
current_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
source $current_dir/prints.sh # Get variables from variables.
source $current_dir/prints.sh
# All Variables here: https://docs.gitlab.com/ee/ci/variables/predefined_variables.html#variables-reference, strating with CUSTOM_ENV_
@ -20,9 +20,6 @@ DEBIAN_VERSION_TABLE=(["4"]="buster" ["11"]="bullseye")
DEBIAN_VERSION="${DEBIAN_VERSION_TABLE[$DEBIAN_VERSION_NUMBER]}"
info "Debian version: $DEBIAN_VERSION"
info "YunoHost version: $CURRENT_VERSION"
SNAPSHOT_NAME="$CUSTOM_ENV_CI_JOB_IMAGE"
if [ -z "$SNAPSHOT_NAME" ]
then