[gnome-todo] CI bundle delivery
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-todo] CI bundle delivery
- Date: Wed, 1 Aug 2018 15:55:56 +0000 (UTC)
commit f4ebd2f5937affacef0e68b762e0d810a09ca4d2
Author: Jordan Petridis <jordanpetridis protonmail com>
Date: Wed Aug 1 15:55:17 2018 +0000
CI bundle delivery
.gitlab-ci.yml | 30 ++++++++++++++++++++++++++++--
1 file changed, 28 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f315826..ad5e1e5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,6 +10,10 @@ variables:
stages:
- flatpak
- build
+ - review
+
+variables:
+ DEVELOPMENT_FLATPAK_ID: "TodoDevel"
##################
@@ -61,8 +65,6 @@ ubuntu:devel:
flatpak:master:
image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:3.28
stage: flatpak
- variables:
- DEVELOPMENT_FLATPAK_ID: "TodoDevel"
script:
# Print debug information
@@ -82,3 +84,27 @@ flatpak:master:
cache:
paths:
- .flatpak-builder/cache
+
+review:
+ stage: review
+ dependencies:
+ - flatpak:master
+ script:
+ - echo "Generating flatpak deployment"
+ artifacts:
+ paths:
+ - org.gnome.$DEVELOPMENT_FLATPAK_ID.flatpak
+ expire_in: 30 days
+ environment:
+ name: review/$CI_COMMIT_REF_NAME
+ url: https://gitlab.gnome.org/$CI_PROJECT_PATH/-/jobs/$CI_JOB_ID/artifacts/raw/${BUNDLE}
+ on_stop: stop_review
+
+stop_review:
+ stage: review
+ script:
+ - echo "Stopping flatpak deployment"
+ when: manual
+ environment:
+ name: review/$CI_COMMIT_REF_NAME
+ action: stop
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]