[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: Thu, 21 Jul 2022 11:25:18 +0000 (UTC)
commit 995f4e7857c44e97218d78927d9bf14051398b95
Author: Jordan Petridis <jpetridis gnome org>
Date: Thu Jul 21 11:25:17 2022 +0000
Update DevOps with Flatpak
DevOps-with-Flatpak.md | 48 ++++++++++++++++++++++++------------------------
1 file changed, 24 insertions(+), 24 deletions(-)
---
diff --git a/DevOps-with-Flatpak.md b/DevOps-with-Flatpak.md
index 385e2a6..e73977e 100644
--- a/DevOps-with-Flatpak.md
+++ b/DevOps-with-Flatpak.md
@@ -9,27 +9,27 @@
The main goal here is to make sure our CI runs for every commit and MR and the project is buildable using
the same base across GNOME, the Flatpak env.
-The following code snipped uses two CI jobs to build Flatpaks for `x86_64` and `aarch64`.
-You will need to adjust the variables in `.vars-devel` with the appropriate variables for your project.
+The following code snipped uses two CI jobs to build Flatpaks for `x86_64` and `aarch64`. You will need to
adjust the variables in `.vars-devel` with the appropriate variables for your project.
+
```yaml
include: 'https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml'
.vars-devel:
- image: 'registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master'
- variables:
- MANIFEST_PATH: "build-aux/flatpak/org.gnome.NautilusDevel.yml"
- FLATPAK_MODULE: "nautilus"
- APP_ID: "org.gnome.NautilusDevel"
- RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo"
- BUNDLE: "nautilus-dev.flatpak"
+ image: 'registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master'
+ variables:
+ MANIFEST_PATH: "build-aux/flatpak/org.gnome.NautilusDevel.yml"
+ FLATPAK_MODULE: "nautilus"
+ APP_ID: "org.gnome.NautilusDevel"
+ RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo"
+ BUNDLE: "nautilus-dev.flatpak"
# Build Flatpak for x86_64
flatpak@x86_64:
- extends: ['.flatpak@x86_64:', '.vars-devel']
+ extends: ['.flatpak@x86_64:', '.vars-devel']
# Build Flatpak for aarch64
flatpak@aarch64:
- extends: ['.flatpak@aarch64:', '.vars-devel']
+ extends: ['.flatpak@aarch64:', '.vars-devel']
```
The template will do the following:
@@ -41,10 +41,10 @@ The template will do the following:
If you need to change the configure args that will be passed into meson, you can do so by defining a
`CONFIG_OPTS` variable.
```yaml
- variables:
- CONFIG_OPTS: >-
- --buildtype=debugoptimized
- -Dwerror=true
+ variables:
+ CONFIG_OPTS: >-
+ --buildtype=debugoptimized
+ -Dwerror=true
```
### Flatpak bundle for every MR and commit
@@ -86,21 +86,21 @@ Here is the resulting template, but it is recommended to try doing it step-by-st
include: 'https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml'
.vars-devel:
- image: 'registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master'
- variables:
- MANIFEST_PATH: "build-aux/flatpak/org.gnome.NautilusDevel.yml"
- FLATPAK_MODULE: "nautilus"
- APP_ID: "org.gnome.NautilusDevel"
- RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo"
- BUNDLE: "nautilus-dev.flatpak"
+ image: 'registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master'
+ variables:
+ MANIFEST_PATH: "build-aux/flatpak/org.gnome.NautilusDevel.yml"
+ FLATPAK_MODULE: "nautilus"
+ APP_ID: "org.gnome.NautilusDevel"
+ RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo"
+ BUNDLE: "nautilus-dev.flatpak"
# Build Flatpak for x86_64
flatpak@x86_64:
- extends: ['.flatpak@x86_64:', '.vars-devel']
+ extends: ['.flatpak@x86_64:', '.vars-devel']
# Build Flatpak for aarch64
flatpak@aarch64:
- extends: ['.flatpak@aarch64:', '.vars-devel']
+ extends: ['.flatpak@aarch64:', '.vars-devel']
nightly@x86_64:
extends: '.publish_nightly'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]