Remove debug log

This commit is contained in:
Kay0u 2020-03-26 19:24:31 +01:00
parent bfb074378f
commit 9a8b81d125
No known key found for this signature in database
GPG key ID: 7FF262C033518333
2 changed files with 6 additions and 6 deletions

View file

@ -10,8 +10,6 @@ set -eo pipefail
trap "exit $SYSTEM_FAILURE_EXIT_CODE" ERR
start_container () {
set -x
if lxc info "$CONTAINER_ID" >/dev/null 2>/dev/null ; then
echo 'Found old container, deleting'
lxc delete -f "$CONTAINER_ID"
@ -31,8 +29,6 @@ start_container () {
chmod 777 $current_dir/cache
lxc config device add "$CONTAINER_ID" cache-folder disk path=/cache source="$current_dir/cache"
set +x
wait_container $CONTAINER_ID
}

8
run.sh
View file

@ -13,6 +13,8 @@ create_sym_link() {
}
link_moulinette_from_git() {
echo "Moulinette: using the $CURRENT_BRANCH branch if it exists, $DEFAULT_BRANCH otherwise"
moulinette_dir="/tmp/ci_moulinette"
lxc exec "$CONTAINER_ID" -- sh -c "mkdir $moulinette_dir"
lxc exec "$CONTAINER_ID" -- sh -c "git clone https://github.com/YunoHost/moulinette $moulinette_dir"
@ -29,6 +31,8 @@ link_moulinette_from_git() {
}
link_ssowat_from_git() {
echo "SSOWAT: using the $CURRENT_BRANCH branch if it exists, $DEFAULT_BRANCH otherwise"
ssowat_dir="/tmp/ci_ssowat"
lxc exec "$CONTAINER_ID" -- sh -c "mkdir $ssowat_dir"
lxc exec "$CONTAINER_ID" -- sh -c "git clone https://github.com/YunoHost/ssowat $ssowat_dir"
@ -55,7 +59,8 @@ case ${2} in
build_script)
case $PROJECT_NAME in
yunohost)
set -x
echo "Link yunohost"
# bin
create_sym_link "$PROJECT_DIR/bin/yunohost" "/usr/bin/yunohost"
create_sym_link "$PROJECT_DIR/bin/yunohost-api" "/usr/bin/yunohost-api"
@ -88,7 +93,6 @@ case ${2} in
# ssowat
link_ssowat_from_git
set +x
;;
esac
;;