[fractal/eof-nightly-flatpak] ci: Push end-of-life nightly flatpak




commit 273226fc0c035778cea662e244e94606d7c74429
Author: Julian Sparber <julian sparber net>
Date:   Tue Mar 29 10:49:51 2022 +0000

    ci: Push end-of-life nightly flatpak

 .gitlab-ci.yml | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 066c6125f..f24ebdb02 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -40,6 +40,23 @@ flatpak:
     APP_ID: "org.gnome.FractalDevel"
 
 nightly:
-  extends: '.publish_nightly'
+  image: 'registry.gitlab.gnome.org/gnome/gnome-runtime-images/flat-manager-client'
+  stage: 'deploy'
+  timeout: '100m'
   dependencies: ['flatpak']
   needs: ['flatpak']
+  script:
+    - tar xf repo.tar
+    - flatpak build-update-repo --generate-static-deltas repo/
+    - BUILD_ID=$(flat-manager-client create ${FLAT_MANAGER_URL} ${FLATPAK_REPO} --end-of-life="Fractal was 
migrated to a new codebase and the app-id changed" --end-of-life-rebase="org.gnome.Fractal.Devel")
+    - flat-manager-client push --commit --publish --wait ${BUILD_ID} repo/ || result=$?
+    - flat-manager-client purge ${BUILD_ID}
+    - exit $result
+  variables:
+    FLAT_MANAGER_URL: https://flat-manager.gnome.org/
+    FLATPAK_REPO: nightly
+  only:
+    refs:
+      - 'master'
+    variables:
+      - $REPO_TOKEN


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