[gnome-build-meta/alatiera/fsck-gnomeos-repo] ci: run ostree fsch before commiting to the gnomeos repo




commit a2bae2460f6bc509ca8fc6acea5d69f9fbdb5132
Author: Jordan Petridis <jpetridis gnome org>
Date:   Fri Jan 22 04:53:42 2021 +0200

    ci: run ostree fsch before commiting to the gnomeos repo
    
    We had some weird failures where ostree objects that are
    checkout by buildstream are gettings corrupt.

 .gitlab-ci.yml | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 707c79cd..7adcb576 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -116,6 +116,8 @@ default:
         rm -rf checkout-repo/
     done
 
+  - ostree fsck --repo repo/ --all
+
   - BUILD_ID=$(flat-manager-client create $FLAT_MANAGER_SERVER $FLAT_MANAGER_REPO)
   - flat-manager-client push --commit --publish --wait $BUILD_ID repo/ $(ostree --repo=repo/ refs) || 
result=$?
   - flat-manager-client purge $BUILD_ID


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]