mirror of
https://github.com/YunoHost/yunohost-ci.git
synced 2024-09-03 20:05:53 +02:00
less verbose
This commit is contained in:
parent
277e986a9a
commit
39218300dc
2 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue