Commit graph

155 commits

Author SHA1 Message Date
Ondrej Holy b65cda5fae ci: Run fedora rawhide job always on master
The fedora job is run only on schedules and tags. The job is pretty
fast now. So let's run it always on master so we know about possible
breakages immediately and not after several days.

Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/1441
2020-04-15 16:11:49 +02:00
Ondrej Holy 1b73cf2601 Revert "ci: Use test stage for flatpak devel job"
This reverts commit e7c2a0182a, because
the stage name doesn't have to be explicitely defined currently as it
was changed directly in the template:
5bffac6dfb
2020-04-05 16:22:26 +00:00
Ondrej Holy a6eca5c513 ci: Use docker image to speed up jobs
Fedora and style check jobs install dependencies on each run. This
causes that the pipelines take a long time. Let's use a custom docker
image to not block runners for such a long time and to get the pipeline
results faster. This commit also adds a new job to generate the docker
image for us.
2020-04-05 16:22:26 +00:00
Ondrej Holy b945567a64 ci: Add artifacts for style check job
It is not easy to find out  why the style check job failed. Let's expose
the style check job diff over artifacts to make it easier.
2020-04-05 16:22:26 +00:00
Ondrej Holy f13903f575 ci: Add style-check job
The whole code was reformatted using uncrustify script, but MRs are not
checked using the script. Let's add style-check job to prevent wrongly
formated MRs to be merged.
2020-04-05 16:22:26 +00:00
Ondrej Holy 2519d26f11 ci: Fix alignment of triage jobs
Triage jobs use just 2 spaces as tab size, whereas other jobs are using 4.
Let's fix this.
2020-04-05 16:22:26 +00:00
Ondrej Holy 2893aec73b ci: Replace underscore by space in stage name
The stage and job names can contain spaces and they are already used
in job names. Let's replace underscore in cross_environemnt stage to
make the pipeline output nicer.
2020-04-05 16:22:26 +00:00
Ondrej Holy 352e6688d0 ci: Remove obsolete review jobs
Teh review and stop_review jobs are no more needed as per flatpak_ci_initiative.yml
comments. Let't remove them to make the file more readable.
2020-04-05 16:22:26 +00:00
Ondrej Holy 9899617174 ci: Move code from template directly to job
The distro_test template is used only by one job. Let's move the code
directly to that job to make the file more readable.
2020-04-05 16:22:26 +00:00
Ondrej Holy 0733acc223 ci: Remove dead code
The coverage is not computed since the commit a5a405d, but .gitlab-ci.yml
still contains some coverage related code which is not currently used. Let's
remove that code to make it more readable.
2020-04-05 16:22:26 +00:00
Ondrej Holy e7c2a0182a ci: Use test stage for flatpak devel job
The flatpak devel job uses .pre stage currently.

This seems to be the reason why pipelines are not triggered in some
cases according: https://gitlab.com/gitlab-org/gitlab/issues/198518.

Let's use the unused test stage instead to fix the pipeline and to make
the pipeline output nicer.
2020-03-09 09:29:00 +01:00
Ondrej Holy 57e2bbec47 ci: Fix flatpak master job
The flatpak master job fails currently. This is because it tries to rewrite
artifacts from flatpak devel job which fails with permission denied error,
because the runners are not more privileged. Let's use empty dependencies
for flatpak master job to ensure that the artifacts from flatpak devel
job are not passed in.
2020-03-06 12:29:02 +01:00
António Fernandes d95a616116 flatpak: Unpin most dependencies
We are near 3.36, so let's update the dependencies.

gexiv2 git master is failing to build locally, so I've 
updated it to the latest tag that builds locally.
2020-02-06 20:28:17 +00:00
António Fernandes d71c3533df CI: publish nightly build
See https://mail.gnome.org/archives/desktop-devel-list/2019-September/msg00028.html
2019-09-30 08:54:40 +01:00
António Fernandes c4afd14696 CI: Update runtime repos
The stable org.gnome.Platform runtime has moved to flathub a while now.

The nightly org.gnome.Platform runtime has recently moved to 
nightly.gnome.org, as per https://mail.gnome.org/archives/desktop-devel-list/2019-September/msg00028.html
2019-09-28 22:04:08 +00:00
António Fernandes 3b7435e62f CI: drop superfluous overrides
They are provided by the template we inherit from.
2019-09-28 21:47:22 +00:00
António Fernandes 81dd339634 flatpak: Update to 3.34 runtime
Also, bundle intltool, because the 3.34 Sdk doesn't include it but
tracker-miners still depends on it.

Intltool lines taken from https://github.com/flathub/shared-modules.git
2019-09-18 21:46:20 +01:00
Ernestas Kulik e23cb543b5 .gitlab-ci.yml: Skip pages for now
Seems that not producing output will cause failures.
2019-04-30 17:49:30 +02:00
Ernestas Kulik ac27965020 .gitlab-ci.yml: Try harder to exclude coverage reports 2019-04-30 17:19:50 +02:00
Ernestas Kulik cce3f3f439 .gitlab-ci.yml: Remove coverage report from artifacts
Oversight from a5a405d669.
2019-04-30 16:44:24 +02:00
Ernestas Kulik a5a405d669 .gitlab-ci.yml: Disable coverage reports for flatpak
https://gitlab.com/freedesktop-sdk/freedesktop-sdk/merge_requests/1120
https://gitlab.com/freedesktop-sdk/freedesktop-sdk/issues/740

Good to know that libgcov is useless.
2019-04-14 14:59:29 +02:00
Carlos Soriano 8f77d625d2 Update .gitlab-ci.yml 2019-03-21 14:15:22 +00:00
Carlos Soriano e3f1b309ad Flatpak: Remove gtk4 manifest
The gtk4 branch should have the proper manifest already
2019-03-21 13:20:28 +00:00
Carlos Soriano a9ed446917 Flatpak: Use Devel profile for Master and Gtk4
Was giving errors in the CI and doesn't really provide much benefits
2019-03-21 13:12:22 +00:00
Carlos Soriano e3d6d19089 CI: Remove OpenSuse and Ubuntu
Errors are usually old deps or such, and needs someone taking care of those.

It's not much of a benefit upstream, so let's remove them.
2019-03-21 13:10:31 +00:00
Carlos Soriano 2f4fd0cf8b Update .gitlab-ci.yml 2019-03-20 14:41:30 +00:00
Carlos Soriano f5e70aff59 Update .gitlab-ci.yml 2019-03-18 13:23:46 +00:00
Carlos Soriano ef9dca67c6 CI: Don't run pages for translation commits 2019-01-17 15:53:27 +00:00
Carlos Soriano c8cdf67008 CI: Use master SDK 2019-01-17 15:33:37 +00:00
Carlos Soriano 7f85c0ebf9 CI: Fix type in issue triage job 2018-12-14 13:37:42 +00:00
Carlos Soriano 5523d02969 CI: Add ruby image for the triage job 2018-12-14 13:26:18 +00:00
Carlos Soriano 06faf4a6e3 CI: Add triage bot token 2018-12-12 15:51:41 +00:00
Jordan Petridis 5868b7a54f CI: Fix pages deploy
It depends on the gcovr job to create the html report
2018-12-10 12:21:58 +00:00
Jordan Petridis 6720009d26 CI: Use the new citemplate repo wiht include:
This is a new gitlab feature which allows to import a file from
somewhere else with predefined config and jobs. This helps us
centralize the configuration of the flatpak jobs and keep them
in sync easily.

[1] https://docs.gitlab.com/ce/ci/yaml/README.html#include
2018-12-10 10:11:20 +00:00
Carlos Soriano 8940f90aa2 general: Add issue triaging automation
Using https://gitlab.com/gitlab-org/gitlab-triage
2018-12-07 15:23:43 +00:00
Carlos Soriano 9d8f1a7bb8 CI: Clean up templates 2018-10-22 16:52:40 +00:00
Carlos Soriano 7d2c11890a CI: Use gcovr only in master
And clean up a bit the CI file.
2018-10-22 15:55:33 +02:00
Carlos Soriano e558bc699e CI: Fix coverage in pages
Wrong path for the html file...
2018-10-09 20:01:13 +02:00
Carlos Soriano e37be63535 Update .gitlab-ci.yml 2018-10-09 15:46:56 +00:00
Carlos Soriano f0dda1f7ff CI: Generate coverage
And show it in GitLab Pages. This will help us to keep an eye on the
status of testing. The report can still be improved though.
2018-10-09 17:24:26 +02:00
Jordan Petridis 512fba35bf
CI: Improve formatting of yaml 2018-10-09 15:50:45 +03:00
Jordan Petridis 91b75f82b7
CI: Factorout flatpak job into a template 2018-10-09 15:48:18 +03:00
Carlos Soriano 0a4327d0cd CI: Update to 3.30 image 2018-10-09 10:18:12 +00:00
Ernestas Kulik 182fef9c94 CI: Do additional setup before running tests
Setting LANG and NO_AT_BRIDGE will prevent warnings about LANG not being
set (obviously) (Tracker), and about the a11y bus not being up, which we
don’t necessarily need to be able to test things.

Starting a D-Bus session before running tests ensures that dbus-launch
doesn’t croak when Tracker tries to reach the SPARQL backend, because of
missing X11 support.
2018-10-09 07:29:41 +00:00
Ernestas Kulik 1e95686269 CI: Always generate artifacts 2018-10-09 07:29:41 +00:00
Ernestas Kulik e42a5c1489 CI: Change profile option value
It’s no longer an enum, but rather a string.
2018-10-09 07:29:41 +00:00
Carlos Soriano 806fb60e9c CI Rawhide: Don't check gpg keys
They are usually broken in rawhide
2018-09-07 08:45:02 +00:00
Carlos Soriano 18820f251a Update .gitlab-ci.yml 2018-08-24 16:52:27 +00:00
Carlos Soriano ff5f4ea43c Revert "t"
This reverts commit 55a7b246ba
2018-08-24 15:27:08 +00:00
Carlos Soriano 55a7b246ba t 2018-08-24 17:25:21 +02:00