Commit graph

82 commits

Author SHA1 Message Date
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
Georges Basile Stavracas Neto
8f29cd019d
Revert "ci: Point to new images"
This reverts commit f7cb1e16cd.

Temporarily use the old images, to build the new ones correctly.

[skip ci]
2018-11-18 22:54:52 -02:00
Georges Basile Stavracas Neto
f7cb1e16cd
ci: Point to new images 2018-11-18 22:11:15 -02:00
Georges Basile Stavracas Neto
cfca142695
ci: Don't build when running the weekly image 2018-11-18 22:10:43 -02:00
Georges Basile Stavracas Neto
425feb6e59
ci: Properly quote regex string 2018-11-18 21:50:04 -02:00
Georges Basile Stavracas Neto
e27923b84e
ci: Simplify condition to now build images
[skip ci]
2018-11-18 21:21:39 -02:00
Georges Basile Stavracas Neto
c2c7547e78
Revert "ci: Build Docker images when Dockerfile changes"
This reverts commit 1d4d995323.
2018-11-18 20:55:52 -02:00
Georges Basile Stavracas Neto
1d4d995323
ci: Build Docker images when Dockerfile changes 2018-11-18 20:53:59 -02:00
Georges Basile Stavracas Neto
500b69c552 ci: Make armv8 and ppc64le manual jobs
They consume too much CI resources and take a long time
to run, which slows down the review and merge process.

Make them manual from now on.
2018-09-10 11:35:59 -03:00
Jordan Petridis
cfe6c6a214 CI: Replace placeholder value
We don't want to run the review jobs for the master branch. Since no MRs
will ever originate from it.
2018-08-15 05:41:34 +00:00
Jordan Petridis
f4cd42b02d
CI: Improve the flatpak review environments
For more:
https://gitlab.gnome.org/GNOME/Initiatives/wikis/DevOps-with-Flatpak#flatpak-bundle-for-every-mr-and-commit
2018-08-14 14:08:07 +03:00
Jordan Petridis
3d92e17047
CI: Use updated image for the flatpak job
gnome-nightly-oci repo has been deprecated for a while and replaced with
gnome-runtime-images[1]

The new repo also includes images with the stable GNOME runtime.
Which can be used by changing `gnome:master` to `gnome:3.28` for example.

[1] https://gitlab.gnome.org/GNOME/gnome-runtime-images
2018-08-14 14:08:03 +03:00
Claudio André
6285ebd1e5 CI: do not run 'pages' if not testing
The job "pages" should only run on regular test CI executions.
2018-08-06 21:46:46 +00:00