Skip to content

Commit

Permalink
ci: Don't destroy the federation instance on CI, so we can print the …
Browse files Browse the repository at this point in the history
…logs

Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen committed Dec 5, 2024
1 parent 1c13dc3 commit 22c96c3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/integration/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ DESTROY_REAL_FEDERATED_SERVER=false

if [ ! -d "$REAL_FEDERATED_SERVER_CONFIG_DIR" ] || NEXTCLOUD_CONFIG_DIR="$REAL_FEDERATED_SERVER_CONFIG_DIR" ${ROOT_DIR}/occ status | grep "installed: false"; then
DESTROY_REAL_FEDERATED_SERVER=true
if [ $CI ]; then
DESTROY_REAL_FEDERATED_SERVER=false
fi
echo ''
echo -e "\033[0;31mReal federated server not installed in $REAL_FEDERATED_SERVER_CONFIG_DIR\033[0m"
echo -e "\033[0;33mPerforming basic SQLite installation with data directory in $REAL_FEDERATED_SERVER_DATA_DIR\033[0m"
Expand Down

0 comments on commit 22c96c3

Please sign in to comment.