[citemplates/abderrahim/flat-manager-client: 1/2] add template for publishing nightly builds
- From: Abderrahim Kitouni <akitouni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [citemplates/abderrahim/flat-manager-client: 1/2] add template for publishing nightly builds
- Date: Fri, 19 Jul 2019 06:21:01 +0000 (UTC)
commit c9b85e2cadaca29c5879235f3a8d71aa0013d775
Author: Abderrahim Kitouni <akitouni gnome org>
Date: Fri Jul 19 07:19:10 2019 +0100
add template for publishing nightly builds
flatpak/flatpak_ci_initiative.yml | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
---
diff --git a/flatpak/flatpak_ci_initiative.yml b/flatpak/flatpak_ci_initiative.yml
index f334844..3248095 100644
--- a/flatpak/flatpak_ci_initiative.yml
+++ b/flatpak/flatpak_ci_initiative.yml
@@ -69,3 +69,22 @@
- 'master'
# don't run on stable branches
- /^gnome-\d-\d\d$/
+
+.publish_nightly:
+ image: 'registry.gitlab.gnome.org/gnome/gnome-runtime-images/flat-manager-client'
+ stage: 'deploy'
+ script:
+ - |
+ for BUNDLE in ${BUNDLES}; do
+ flatpak build-import-bundle repo ${BUNDLE}
+ done
+
+ - BUILD_ID=$(flat-manager-client create ${FLAT_MANAGER_URL} ${FLATPAK_REPO})
+ - flat-manager-client push --commit --publish --wait ${BUILD_ID} repo/ || result=$?
+ - flat-manager-client purge ${BUILD_ID}
+ - exit $result
+ only:
+ refs:
+ - master
+ variables:
+ - $REPO_TOKEN
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]