84 Commits

Author SHA1 Message Date
Christian Glombek
f5cea04dac ci: Disable test runs on Flatpak builds
In the absence of a good mechanism to disable specific tests that fail in the flatpak build env, disable all tests.

Signed-off-by: Christian Glombek <c.glombek@cosa.systems>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/809>
2025-12-17 17:52:52 +00:00
Evangelos Ribeiro Tzaras
d6d2193792 ci: Ensure build dependencies get installed
This frees us from always having to update the container image
whenever build dependencies change.

Signed-off-by: Christian Glombek <c.glombek@cosa.systems>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/809>
2025-12-17 17:52:52 +00:00
Evangelos Ribeiro Tzaras
4be9b38994 ci: Use ci-fairy to check commit messages
Signed-off-by: Evangelos Ribeiro Tzaras <devrtz@fortysixandtwo.eu>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/798>
2025-10-28 13:33:28 +00:00
Evangelos Ribeiro Tzaras
36fc47b663 ci: Check meson format
Use check-meson from meta-phosh as of
eb1c7f3c602f93e50ba0f1b7da31c936c771a75c

Signed-off-by: Evangelos Ribeiro Tzaras <devrtz@fortysixandtwo.eu>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/798>
2025-10-28 13:33:28 +00:00
Guido Günther
401d02f47d build: Depend on mobile-broadband-provider-info
This will be used for emergency number lookup

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/790>
2025-10-16 13:45:49 +00:00
Evangelos Ribeiro Tzaras
5b1c702924 ci: Bump image
We haven't bumped it in a while,
let's have our image close to what will become Debian Trixie soon.

Gbp-Dch: Ignore

Signed-off-by: Evangelos Ribeiro Tzaras <devrtz@fortysixandtwo.eu>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/783>
2025-07-03 22:46:08 +02:00
Jan Tojnar
d46dd23e1c ci: Fix dist tarball name
The release service does not allow `v` prefix in version part of the tarball:
263345eaa9/gnome_release_service/gnome_release_system/modules/module_release.py (L79-87)

So renaming of the tarball in e028cc5c62
did not help – the pipeline instead started failing with:

    curl: (22) The requested URL returned error: 400{"detail":"Could not parse tarball name: calls-v48.0.tar.xz."}

Since it is not possible to use shell or other replacement mechanisms in `variables`,
let’s obtain the produced dist tarball path in `script` and pass it to `deploy` through `dotenv` artifact:
https://docs.gitlab.com/ci/variables/#pass-an-environment-variable-to-another-job

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/770>
2025-04-04 08:40:39 +00:00
Evangelos Ribeiro Tzaras
e028cc5c62 ci: Rename dist tarball so it will be found by the release pipeline
The TARBALL_ARTIFACT_PATH is formed from the name of the tag,
which is prefixed by a "v". Additionally special characters like the
tilde (e.g. 48~beta.1) are translated to underscores.

This resulted in the TARBALL_ARTIFACT_PATH Gitlab variable
not actually pointing to the generated tarball and therefore
a failing release job.

While I'd have preferred massaging the gitlab variable into the right
form, doing string substitution is not working on gitlab variable,
so I opted for a this workaround instead.

Fixes: aa8c1b571d

Signed-off-by: Evangelos Ribeiro Tzaras <devrtz@fortysixandtwo.eu>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/765>
2025-02-15 08:51:41 +01:00
Evangelos Ribeiro Tzaras
aa8c1b571d ci: Use GNOME release pipeline
And ensure we include subprojects in the tarball
while we're at it.

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/763>
2025-02-07 10:59:11 +01:00
Guido Günther
10dc68c7a7 ci: Use newer image
We want libadwaita 1.6

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/761>
2024-11-10 16:53:48 +01:00
Evangelos Ribeiro Tzaras
40504ab4e5 ci: Update image
We want to use images that include

 - appstreamcli and
 - desktop-file-validate

so that metainfo and desktop files are validated in CI.

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/759>
2024-09-15 10:23:49 +02:00
Guido Günther
515ff43dd8 ci: Check consistency
Make sure all the version numbers are in sync for a release.

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/753>
2024-09-04 21:03:12 +00:00
Guido Günther
9f4be32753 ci: Use shared checks
This allows to drop the custom check-po

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/753>
2024-09-04 21:03:12 +00:00
Guido Günther
4c6dcf9e04 ci: Avoid duplicate pipelines
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/753>
2024-09-04 21:03:12 +00:00
Guido Günther
ac8a3bb9a9 ci: Update image
Let's test against recent GTK.

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/749>
2024-08-31 15:17:20 +00:00
Evangelos Ribeiro Tzaras
8917080a0c ci: Update debian image
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/746>
2024-07-31 18:51:56 +00:00
Guido Günther
71f5ffd7dc ci: Update image
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/730>
2024-05-14 08:40:16 +00:00
Guido Günther
fc15ba2e58 ci: Switch to a trixie based base image
Debian Bookworm doesn't get any GNOME updates and we want to ensure
we build and run against latest.
2024-01-14 10:36:37 +01:00
Guido Günther
bfeabe09d0 ci: Switch to package test to trixie
PureOS Byzantium tracks Debian oldstable which isn't suitable for an
upstream test. Track Debian testing instead which has recent GNOME.
2024-01-13 12:25:56 +01:00
Evangelos Ribeiro Tzaras
b32f3185a1 ci: Allow nightly jobs to fail
Apparently the publish jobs try to run even though the needed flatpak
job failed, so disable these too.

Fixes: b550617de2
2023-05-10 20:37:41 +02:00
Evangelos Ribeiro Tzaras
509456cb50 ci: Build tarball for tags 2023-05-09 07:44:09 +00:00
Evangelos Ribeiro Tzaras
b550617de2 ci: Allow flatpak jobs to fail
They have been a bit flaky lately, especially the arm64 job.
2023-05-09 09:16:11 +02:00
Evangelos Ribeiro Tzaras
4ff33a4566 ci: Update debian image 2023-02-01 08:48:35 +01:00
Evangelos Ribeiro Tzaras
8ee72b9a5d ci: Don't build flatpaks when PKG_ONLY is set
This is needed to prevent calls-next from trying to build flatpaks.
2023-01-22 06:36:24 +01:00
Evangelos Ribeiro Tzaras
b6e0d3dba8 ci: Move flatpak jobs to packaging stage
It is more fitting than the default "test" stage and
has the desirable side effect that the Debian packaging jobs
no longer need to wait for flatpak jobs to finish.
2023-01-11 14:23:12 +00:00
Julian Sparber
d722a913da flatpak: Don't run calls:sip tests in CI 2022-12-03 12:39:27 +01:00
Julian Sparber
875bdbd666 ci: Build and deploy nightly flatpaks for aarch64 and x86_64 2022-12-03 12:32:29 +01:00
Evangelos Ribeiro Tzaras
29c797ebb8 ci: Update image
The new image includes new versions of our dependencies.
This is needed as we require newer feedbackd packages.
2022-12-03 08:52:41 +00:00
Evangelos Ribeiro Tzaras
2f56836720 ci: Publish pages for main branch (not master)
This is a follow up to renaming the default branch
2022-09-03 16:52:16 +02:00
Evangelos Ribeiro Tzaras
eae9fb0ef0 ci: (Slightly) rename flatpak CI job 2022-09-03 16:52:16 +02:00
Evangelos Ribeiro Tzaras
6f2808c7cd ci: Include flatpak_ci_initiative.yml and remove inline copy
The copy was originally done because the include failed while Calls was
still being hosted at source.puri.sm.
2022-09-01 06:57:51 +00:00
Evangelos Ribeiro Tzaras
dea8b111d4 ci: Update Debian image
From now on intltool will be part of the image,
so we don't need to install it explicitly any more.
2022-08-17 12:28:07 +02:00
Evangelos Ribeiro Tzaras
65dfc1293b ci: Update debian image 2022-08-05 17:21:05 +00:00
Evangelos Ribeiro Tzaras
74beff0c98 ci: Allow flatpak failures
That does of course not mean that we shouldn't investigate,
but I like to have passing CI in the meantime.
2022-07-06 07:12:05 +02:00
Evangelos Ribeiro Tzaras
c86df0f564 ci: Update debian bookworm image for rst2man 2022-06-08 08:25:36 +00:00
Evangelos Ribeiro Tzaras
f96d2f4b39 ci: Use new debian image 2022-04-12 10:37:29 +02:00
Evangelos Ribeiro Tzaras
3523403a0c ci: Fix typo in packaging job name
It was supposed to be package:deb-pureos... (not package-deb-pureos...)
2022-03-05 04:02:34 +01:00
Evangelos Ribeiro Tzaras
b0f54e7d60 ci: Bump flatpak job timeout to 4 hours
The jobs are taking a bit longer currently.
2022-03-02 09:56:44 +01:00
Evangelos Ribeiro Tzaras
21e1d2a53d ci: Bump used debian image
This let's us use newer GStreamer (> 1.20) which deprecated some functions we
used.
2022-02-12 17:22:35 +01:00
Evangelos Ribeiro Tzaras
55028565aa ci: Deploy documentation as gitlab pages 2022-01-26 06:16:42 +00:00
Evangelos Ribeiro Tzaras
f068e20f68 ci: Use prebuilt debian images
This should speed up CI jobs.

Close #380
2021-12-21 14:16:49 +01:00
Evangelos Ribeiro Tzaras
fe7ebf51ce ci: Use PKG_ONLY variable to exclude flatpak job
This makes sure we're not wasting computational resources when we only
want to build debian packages.
2021-11-30 12:54:41 +01:00
Evangelos Ribeiro Tzaras
3b377edc81 ci: Drop debian bookworm packaging job
It is very easy to either run locally with the run script or build
a package locally with `dpkg-buildpackage`.
2021-11-30 12:54:41 +01:00
Evangelos Ribeiro Tzaras
89fd506f7d ci: Drop pedantic metainfo validation job
And instead run them as a part of the regular tests.
2021-11-30 12:05:27 +01:00
Evangelos Ribeiro Tzaras
7402cae903 ci: Fix regex for reporting code coverage
We are now using gcovr instead of lcov after
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=987818
has been closed.

The difference in output format tripped up reported code coverage in CI.
2021-11-24 14:07:37 +01:00
Evangelos Ribeiro Tzaras
4c44284bd1 ci: Use gcovr for coverage reports 2021-11-18 12:15:21 +01:00
Evangelos Ribeiro Tzaras
f44f643ae9 ci: Complain about untranslated ui files 2021-11-16 09:39:34 +01:00
Evangelos Ribeiro Tzaras
2ce0c7775c ci: Grab submodules by setting GIT_SUBMODULE_STRATEGY 2021-11-16 09:39:34 +01:00
Evangelos Ribeiro Tzaras
62208c5571 ci: Update from flatpak CI template 2021-11-16 08:53:04 +01:00
Evangelos Ribeiro Tzaras
db2bb818b6 ci: Use appstreamcli instead of appstream-util 2021-10-21 09:54:12 +00:00