Commit graph

94 commits

Author SHA1 Message Date
Bastien Nocera
16702a1b00 ci: Build own GTK version
So that the "Finalizing foo, but it still has children left" message is
not truncated. This commit will be reverted when GTK is new enough in
our image.
2023-03-14 19:42:59 +01:00
Bastien Nocera
4d2803dc4c ci: Update CI image
Bump the version of the CI image to force a rebuild. This should bring
us a newer version of Mesa that would fix problems running GTK4 with
Xvfb as a display server:
libEGL fatal: did not find extension DRI_Mesa version 1

Closes: #2397
2023-03-14 18:05:09 +01:00
Georges Basile Stavracas Neto
10cf38fb87 ci: Bump FDO_DISTRIBUTION_TAG
Let's build a newer image, with a more recent version of GLib.
2023-02-14 13:31:23 -03:00
Marco Melorio
6629701885 ci: Disable rotfiles-fuse from flatpak build
It makes the build fail apparently.
2022-11-24 13:20:13 +01:00
Marco Melorio
7ad4c2d065 ci: Remove unneeded copying in the flatpak build
This was missing out the `polkit-autogen` file, so the flatpak build was
failing because of that. Fix this by removing the copying phase and use
the correct manifest path directly instead.
2022-11-24 13:20:13 +01:00
Michael Catanzaro
a57202adcb Update rawhide CI image
We need a newer image to get GTK 4.8
2022-10-25 15:09:33 -05:00
Michael Catanzaro
560659ffb3 Update rawhide CI image
We need a newer image to get GTK 4.8
2022-10-25 19:02:33 +00:00
Pablo Correa Gómez
2374048e53 ci: Install setxkbmap needed for tests and upgrade image
Otherwise, any other operation running the tests has the utility missing
2022-10-25 19:02:33 +00:00
Pablo Correa Gómez
40ebc30fb8 ci: Make sure the project is built before running the tests 2022-10-25 19:02:33 +00:00
Sebastian Keller
7f6dc4511f tests: Add test for keyboard shortcut normalization
This tests if the shortcuts generated from an event are in the format
that the shell expects.
2022-08-22 12:49:13 +00:00
Bartłomiej Piotrowski
1720d39c83 Update (or drop) the Docker image used by Flatpak job
The gnome-runtime-images have been recently migrated to Quay. This is already reflected in the template.

Please note this MR has been created semi-automatically. If it doesn't make sense, feel free to close it.
2022-07-27 12:43:42 +02:00
Georges Basile Stavracas Neto
bbe3ae4a91 Switch to 'main' everywhere 2022-04-26 14:43:01 -03:00
Georges Basile Stavracas Neto
f42868e616 CI: Fix custom deps script 2022-03-29 11:07:53 -03:00
Georges Basile Stavracas Neto
6898ff58d2 CI: Build libgweather with soup2
It'll bite us in the future, but let's go with this for now.
2022-03-29 10:47:42 -03:00
Georges Basile Stavracas Neto
dd2adb77ec CI: Cleanup gcr-devel from jobs
gcr-devel is installed as part of the base image, we don't need to
install it on every job run.
2022-03-29 10:38:53 -03:00
Georges Basile Stavracas Neto
ebc54deb62 Ci: Build libgweather from main 2022-03-29 09:27:33 -03:00
Benjamin Berg
8d75b24ccc ci: Only use runners with working close_range syscall
If the wrong error code is returned due to broken seccomp filters, then
g_spawn will fail and the tests break.

See https://gitlab.gnome.org/Infrastructure/GitLab/-/issues/545
2022-03-07 19:51:26 +00:00
Bastien Nocera
38cb514d56 ci: Rebuild CI image for gnome-bluetooth library changes
The gnome-bluetooth libraries got split in
https://gitlab.gnome.org/GNOME/gnome-bluetooth/-/merge_requests/103
so we need to rebuild the CI image to integrate those changes.
2022-01-19 13:46:43 +01:00
Bastien Nocera
76b5b2d542 ci: Rebuild image to get newer gnome-bluetooth
The API is new.
2022-01-18 16:25:25 +01:00
Bastien Nocera
e5bf16d65e ci: Build gnome-settings-daemon in CI
As we usually need g-c-c and g-s-d to be upgraded in lockstep.
2022-01-10 19:44:24 +01:00
Bastien Nocera
003a5182b9 ci: Rebuild image with newer gsettings-desktop-schemas 2022-01-05 11:24:04 +01:00
Georges Basile Stavracas Neto
b3b86894e9 ci: Update image with new GTK4 dependencies
Build gnome-bluetooth, gnome-desktop, and colord-gtk from
their master/main branches, which should include support for
GTK4.
2021-12-14 22:34:21 -03:00
Mohammed Sadiq
dc840f0aec wwan: Add new panel for modem management
The panel supports 2G/3G/4G GSM/LTE modems. CDMA2000 Modems are not supported.
If a supported modem is present, the panel will be shown and the modem will be
handled, else, network-panel shall manage the modem as it did in the past.

If more than one modem with data enabled is present, the user is allowed to set
priority of one SIM over the other (the priority is for SIM, not modem).

Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/issues/132
2021-08-13 19:25:41 +00:00
Jordan Petridis
f5d5d1ce98 ci: Refactor ci-template setup
Instead of building the image on a schedule, use a user-incrementable
tag and try to build the image on each pipeline.

If the image tag does not exist, a new one is built and pushed.
If its already built the job is a no-op and the existing image
is used.
2021-08-05 23:22:14 +00:00
Bastien Nocera
f644b37887 ci: Fix gnome-40 CI
Commit f85750274c removed grilo-devel from
the dependency list, but the images generated by the CI on the
development branch are also the ones used for older branches.

This can be seen by all the CI jobs on the gnome-40 branch:
https://gitlab.gnome.org/GNOME/gnome-control-center/-/commits/gnome-40
failing the day after the grilo dep was removed:
https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/981
2021-07-21 12:48:40 +02:00
Debarshi Ray
f85750274c background: Drop the unused build dependency on Grilo
The code that uses Grilo to fetch the user's Flickr photos isn't
actually used by the Background panel, to the extent that the final
binary doesn't even link against Grilo. Getting rid of this unused code
will ensure that distributors aren't needlessly pulling in this
dependency.

https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1345
2021-04-20 23:04:10 +02:00
Benjamin Berg
056a684c29 ci: Update to new FDO template 2020-12-11 10:27:47 +01:00
Robert Ancell
3cad3aaf41 ci: Correctly update the submodules on build. 2020-10-03 22:58:21 +00:00
Jordan Petridis
92a79d2339 ci: remove deprecated jobs
The functionality of these jobs exists in the normal
build job now and they are no longer needed.

citemplates@544836ee
2020-08-02 16:39:28 +00:00
Benjamin Berg
8658123f8b ci: Run ASAN on privileged runner
It needs to be able to attach to processes.
2020-05-11 19:43:38 +00:00
Benjamin Berg
0052889e11 ci: Specify full registry path for forks
Otherwise forks will try to find the image in their own registry which
cannot work.
2020-05-07 16:04:58 +02:00
Benjamin Berg
01f3aa00d8 ci: Switch to use the FDO CI templates
This effectively means we do not build on non-x86_64. But the template
gives us a well maintained base.

Also added into the image is gsettings-desktop-schemas from git, so that
the scheduled job only needs to be manually run when an update is
needed.
2020-05-07 15:27:55 +02:00
Georges Basile Stavracas Neto
054b16b681 ci: Move ASAN to manual stage
ASAN hasn't been useful so far; we don't really see
meaningful results from it, it takes a long time to
run since it builds Settings twice, etc.

Move it to manual.
2020-02-20 12:00:37 -03:00
Benjamin Berg
6b08deff69 ci: Fix build of docker images
Building the docker images has been failing for a while now. The root
cause appears to be a docker upgrade causing issues with TLS. See
  https://about.gitlab.com/blog/2019/07/31/docker-in-docker-with-docker-19-dot-03/

Update the configuration so that the images can be built again.

Thanks to Bartłomiej Piotrowski for debugging the issue and solving it
for gnome-settings-daemon!
2019-12-03 12:33:39 +00:00
Felipe Borges
a1c48ce477 flatpak: Use the Nightly variant of the application icon
For the "development" profile, lets use the Nightly variant, to
visually indicate to users that they are running an unstable
version of the application.
2019-10-14 20:25:39 +00:00
Georges Basile Stavracas Neto
dc50111829
ci: Fix tests with tags
We need to run the tests, and when on tags, run 'ninja dist'.
Just that.
2019-03-11 16:16:50 -03:00
Georges Basile Stavracas Neto
7762c15277
ci: Run tests with meson
So that we can run a more complete version of the
tests.
2019-03-11 16:16:11 -03:00
Georges Basile Stavracas Neto
977a7d7d06
ci: Don't install libudisks2
[skip ci]
2019-03-11 15:12:46 -03:00
Georges Basile Stavracas Neto
3da2c39577
ci: Use fedora:latest for Ppc64le
[skip ci]
2019-03-11 14:40:45 -03:00
Georges Basile Stavracas Neto
cc4348a575
ci: Use the new Fedora 30 Dockerfiles
[skip ci]
2019-03-11 13:51:02 -03:00
Iain Lane
e83fd09949 ci: Rebuild docker images any time a commit touches the dockerfile
Currently they are built from cron, but we can use Gitlab's

  only:
    changes:
      - path

support to also trigger on path changes. This is restricted to only work
for pushes for master, so that branches / merge requests don't attempt
to rebuild the image.
2019-03-04 15:56:07 +00:00
Iain Lane
75c47ee7c9 ci: Install udisks2 for the coverage tests
This is needed to build g-c-c for the test, until the image is updated.
2019-03-04 15:56:07 +00:00
Georges Basile Stavracas Neto
2520aea647 info: use UDisks to retrieve disk size
The current code relies on GLib API and uses the
available mounts to calculate the available partition
size. This is because this code assumes that more
than one OS can be installed in the same drive, and
wouldn't make sense to show the whole disk size in
this situation.

That, however, clashes with the general purpose of
the panel, for it is meant to show general information
about the user's computer, and it is not reporting
the full disk size.

Fix that by using the UDisks API to get the real size
of the full disks.

https://bugzilla.gnome.org/show_bug.cgi?id=639376

Slighly modified by Iain Lane <iainl@gnome.org> to
port to meson and add udisks2 to CI deps.

Fixes #285.
Fixes #302.
2019-02-13 17:04:26 +00:00
Robert Ancell
1c5ac9abf9 Add GSound as a build-dependecy 2019-02-06 19:59:21 +00:00
Georges Basile Stavracas Neto
5eef2f4cff ci: Prevent stop_review from running on image builds
[skip ci]
2018-12-11 11:21:21 -02:00
Georges Basile Stavracas Neto
5791b9a213 ci: Document review stage
[skip-ci]
2018-12-11 11:21:04 -02:00
Georges Basile Stavracas Neto
b85c97e5ee
ci: Expire flatpak bundle in 7 days
2 days it too short of a time range.

[skip ci]
2018-11-27 16:00:00 -02:00
Georges Basile Stavracas Neto
b41deef778
ci: Rename icons when building flatpak
They need to match the app id.
2018-11-27 15:59:03 -02:00
Georges Basile Stavracas Neto
1c97796646
ci: Fix typo in variable value 2018-11-18 23:31:28 -02:00
Georges Basile Stavracas Neto
7027ac788a
ci: Point to new images again
This reverts commit 8f29cd019d.
2018-11-18 23:30:09 -02:00