ci: try skipping diagnosis during upgrade to speed things up a bit?

This commit is contained in:
Alexandre Aubin 2024-08-08 19:14:05 +02:00
parent 7f2da0af73
commit 94594e5a3c
2 changed files with 2 additions and 1 deletions

View file

@ -45,6 +45,7 @@ variables:
GIT_CLONE_PATH: '$CI_BUILDS_DIR/$CI_COMMIT_SHA/$CI_JOB_ID' GIT_CLONE_PATH: '$CI_BUILDS_DIR/$CI_COMMIT_SHA/$CI_JOB_ID'
YNH_SOURCE: "https://github.com/yunohost" YNH_SOURCE: "https://github.com/yunohost"
YNH_DEBIAN: "bookworm" YNH_DEBIAN: "bookworm"
YNH_SKIP_DIAGNOSIS_DURING_UPGRADE: "true"
include: include:
- template: Code-Quality.gitlab-ci.yml - template: Code-Quality.gitlab-ci.yml

2
debian/postinst vendored
View file

@ -31,7 +31,7 @@ do_configure() {
yunohost tools migrations run --auto yunohost tools migrations run --auto
echo "Re-diagnosing server health..." echo "Re-diagnosing server health..."
yunohost diagnosis run --force [[ -n "${YNH_SKIP_DIAGNOSIS_DURING_UPGRADE:-}" ]] && echo "(Skipping)" || yunohost diagnosis run --force
echo "Refreshing app catalog..." echo "Refreshing app catalog..."
yunohost tools update apps --output-as none || true yunohost tools update apps --output-as none || true