mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
ci: try skipping diagnosis during upgrade to speed things up a bit?
This commit is contained in:
parent
7f2da0af73
commit
94594e5a3c
2 changed files with 2 additions and 1 deletions
|
@ -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
2
debian/postinst
vendored
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue