[Initiatives.wiki] Update DevOps with Flatpak
- From: Jordan Petridis <jpetridis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [Initiatives.wiki] Update DevOps with Flatpak
- Date: Mon, 2 Dec 2019 15:17:00 +0000 (UTC)
commit f7ee4e97168b3c8a3f3d915cbc062274fc7732de
Author: Jordan Petridis <jpetridis gnome org>
Date: Mon Dec 2 15:16:56 2019 +0000
Update DevOps with Flatpak
DevOps-with-Flatpak.md | 29 +++--------------------------
1 file changed, 3 insertions(+), 26 deletions(-)
---
diff --git a/DevOps-with-Flatpak.md b/DevOps-with-Flatpak.md
index 2d6a667..9c71dca 100644
--- a/DevOps-with-Flatpak.md
+++ b/DevOps-with-Flatpak.md
@@ -38,24 +38,11 @@ The main goal is to create Flatpak bundles so people can install and run them.
1. Create a GitLab artifact to save the generated bundle for two days
1. Use a caching mechanism to reduce build times
-To achieve all that, we will extend the previous CI file. The result will be exposed in the MR using a
GitLab feature called Review Apps. Good thing is that is already handled by the template and we just need to
add a "review" stage for using the Review Apps feature.
+To achieve all that, we will extend the previous CI file. The result will be exposed in the MR. Good thing
is that is already handled by the template. The bundles will be created for all builds, but exposed only in
the MR gui.
-The bundles will be created for all MRs, which means all branches that do not contain "gnome-*" in their
names and also it won't be created for the master branch.
+The template will create a Flatpak bundle with `flatpak build-bundle` and the runtime pointing to the value
of RUNTIME_REPO variable. Once the build is done you will see a widget that exposes the artifacts of the job
in the MR and that can download the generated Flatpak bundle.
-Add the following to the CI file:
-
-```yaml
-review:
- stage: deploy
- dependencies:
- - 'flatpak'
- extends: '.review'
-
-stop_review:
- stage: deploy
- extends: '.stop_review'
-```
-The template will create a Flatpak bundle with `flatpak build-bundle` and the runtime pointing to the value
of RUNTIME_REPO variable. Once the deploy is done you will see a play button in the MR that will download the
generated Flatpak bundle.
+![Screenshot_from_2019-12-02_17-16-17](uploads/b14b70d0fc4f623d75e5490eb121a1b7/Screenshot_from_2019-12-02_17-16-17.png)
### Flatpak builds on every commit to master
@@ -90,16 +77,6 @@ flatpak:
APP_ID: "org.gnome.NautilusDevel"
extends: .flatpak
-review:
- stage: deploy
- dependencies:
- - 'flatpak'
- extends: '.review'
-
-stop_review:
- stage: deploy
- extends: '.stop_review'
-
nightly:
extends: '.publish_nightly'
dependencies:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]