Commit graph

171 commits

Author SHA1 Message Date
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
Carlos Soriano 91bf3b0dfc Update .gitlab-ci.yml 2018-08-14 10:33:54 +00:00
Carlos Soriano 3c1fc6e914 CI Rawhide: Update before installing 2018-08-14 06:40:39 +00:00
Carlos Soriano a1166cc365 CI: Add coverage report 2018-08-13 21:53:47 +00:00
Jordan Petridis ebdf43db97 CI: do not spin up environments for tags. 2018-08-02 16:22:00 +00:00
Jordan Petridis 42dc9f3bf8
CI: Workaround cache misses.
Gitlab CI by default zips it's cache target which causes the files
to lose their xattributes that ostree relies upon.

This workaround makes a tarball of the cache target first, which is then
zipped by the Gitlab CI. Then on before_sciprt it extracts it in place.

Hopefully tarballs will be the default behavior in the Future™ and this
commit will get reverted.

Relevant issue: https://gitlab.com/gitlab-org/gitlab-ce/issues/37444
2018-07-20 19:35:47 +03:00
Carlos Soriano a6f663790a CI: Update to build weekly Gtk4 branch 2018-07-14 11:35:25 +02:00
Ernestas Kulik e94894fef6 CI: Use apt-get on Ubuntu
Invoking `apt` triggers a warning about its interface being not stable enough for use in headless setups. That, and I messed up the last commit, so here we are.
2018-07-10 15:49:47 +00:00
Ernestas Kulik 0b8353155a CI: Install libseccomp on Ubuntu and openSUSE 2018-07-10 15:34:21 +00:00
Ernestas Kulik c683360a01 CI: Install gsettings-desktop-schemas-devel on OpenSUSE 2018-07-09 07:27:36 +00:00
Ernestas Kulik 7142d4130b CI: Install gsettings-desktop-schemas-dev on Ubuntu 2018-07-09 07:25:25 +00:00
Carlos Soriano cebcab8ad7 CI: OpenSuse, add gsettings-desktop-schemas 2018-06-06 09:58:39 +00:00
Carlos Soriano ad18383afd CI: Add libseccomp to Rawhide 2018-05-30 07:37:43 +00:00
Carlos Soriano 8a01e477b6 CI: Rename cross_distro
To cross_environment, since now we have some Flatpak too.
2018-05-29 06:30:35 +00:00
Carlos Soriano 6daacbec2e CI: Test weekly all master of dependencies
So we test the ecosystem regularly.
2018-05-28 19:50:08 +00:00
Carlos Soriano b496a4cb3e CI: Use non-master dependencies for regular operations
See previous commit for more info.
2018-05-28 19:50:08 +00:00
Carlos Soriano d3a6c2bf1f CI: Run the tests before the bundle
It makes a bit more sense
2018-05-25 22:27:05 +00:00
Ernestas Kulik 3cdf284a1f CI: pass --libdir to Meson
It defaults to lib64 and that might be an issue.
2018-05-25 22:24:36 +03:00
Ernestas Kulik 4432a75d79 CI: export all Meson logs
The install log might be useful.
2018-05-25 22:10:22 +03:00
Jordan Petridis 91cc228171
CI: Re-Enable the display tests 2018-05-22 19:48:23 +03:00
Ernestas Kulik bde55f4189 eel: Remove a11y utilities
In theory, it would be possible to just drop the GAIL code and keep the
header, but, given that NautilusCanvasItem is the only remaining
consumer, the needed bits can be moved over.
2018-05-22 16:52:48 +03:00
Ernestas Kulik 673c81cf9f general: Copy gnome-desktop thumbnailing code
This is one of prerequisite steps to take before fully switching to GTK+
4, as gnome-desktop has code, depending on GTK+ 3. Since the
thumbnailing machinery is self-contained, it can easily be just copied
over.
2018-05-22 16:52:48 +03:00
Carlos Soriano 2e331b6c80 CI: Use 3.28 image until master is fixed
And run only headless tests, as things are a bit on flow now and the
ostree image is missing some needed bits.
2018-05-18 15:47:09 +02:00
Jordan Petridis 3a35b6035a
gitlabci: Extend the expiration period of the flatpak bundle
It's often the case that an MR will be opened and call for testing or an artifact will be linked in an issue.
But by the time people review the changes or try to test it them, the provided bundle will be already gone.

In the early days of the gitlab migration the expiration was commonly set to a small interval to ease the transition and not eat up the resources of runners. This should no longer be required going forward and the expiration date can be more flexible.
2018-05-10 12:39:11 +03:00
Jordan Petridis c2efeabf18 gitlabci: Add stop_review job.
Split the enviroment deployment from the flatpak job.
review job depends on the flatpak job, and re-exports its
artifacts for now. Then it creates a review app, that shows
a link to the flatpak bundle.

This commit also restricts enviroment deployments for the master
branch of GNOME/nautilus.
2018-05-09 11:10:17 +00:00
Carlos Soriano 1b60679a86 CI: Use a variable for the dbus id 2018-05-07 07:58:06 +00:00
Carlos Soriano dcfa5f1866 CI: Add GitLab Review Apps
So a link is shown with the generated Flatpak on the MR.
2018-05-04 08:45:58 +00:00
Carlos Soriano 1018ea7bf6 CI: Indent correctly 2018-05-04 08:45:58 +00:00
Jordan Petridis 0e80da2a12
gitlabci: Generalize the flatpak job. 2018-04-27 16:31:15 +03:00
Jordan Petridis c6c9f9fa12
gitlabci: do not try installing Xvfb anymore.
As it's quite common way to be needed to run display
tests, it's now included in the base gnome-nightly
docker image.
2018-03-22 05:17:47 +02:00
Jordan Petridis 215e0f6291
gitlabci: use xvfb and enable all the tests 2018-03-22 05:12:54 +02:00
Ernestas Kulik a01652064a CI: simplify running build commands
Thanks to Christian for pointing out `flatpak build` use in Builder.
2018-03-21 07:53:47 +02:00
Carlos Soriano 2d2bd8ea98 CI: Fedora Rawhide: Fix before_script 2018-03-19 23:06:54 +00:00
Carlos Soriano bc0aaf5191 CI: Fedora Rawhide: Remove coverage for now
We want that as part of the Flatpak build.
2018-03-19 21:56:41 +00:00
Carlos Soriano f9d5630e55 CI: Flatpak: Add runtime url, so it installs the runtime if required 2018-03-19 15:30:38 +00:00
Ernestas Kulik fc5d9cbcbc Flatpak: Don’t rename the manifest
We can have non-matching ID and file name, and we only keep one
manifest.
2018-03-19 14:17:11 +02:00
Carlos Soriano 982e508423 CI: Flapak: Add comment about keeping in sync with the manifest 2018-03-19 12:04:26 +00:00
Carlos Soriano a345517222 CI: Flatpak: Remove spurious new line 2018-03-19 08:38:28 +00:00
Carlos Soriano 43f34d7efd CI: Flatpak: Fix typo 2018-03-19 08:35:07 +00:00
Jordan Petridis 77417cf0a5
gitlabci: Use single artifacts block.
Workaround for https://gitlab.com/gitlab-org/gitlab-ce/issues/34954
2018-03-19 10:19:43 +02:00
Jordan Petridis 153ee62edb
flatpak: switch to using gnome-nightly 2018-03-19 09:51:30 +02:00
Ernestas Kulik 86ce532daf CI: fix build log path
As of d36fa3fdab, the build directory is
in the source checkout.
2018-03-18 22:28:08 +02:00
Ernestas Kulik 14e12c27d8 CI: don’t install git
The GitLab runner can take care of submodules.
2018-03-18 22:28:08 +02:00
Ernestas Kulik df583c2e4a general: Allow running in separate instance
When hacking on Nautilus, it is very inconvenient to have to close any
running instance before running the built version. This commit enables
running three different instances by changing the application ID.
Beside the default “profile” is one crafted for stable flatpak
releases and one for development. The stable flatpak profile adds an
identifying mark to the about dialog to aid collecting information in
bug reports. The development profile is that plus additional styling to
help visually identify the development instance. It also will be used
when generating Flatpak bundles with the help of CI.

Generally, the implementation is slightly hacky to allow all the
different workflows, spanning from regular installations to GNOME
Builder flatpak builds, as each comes with its own quirks.
2018-03-18 22:28:08 +02:00
Carlos Soriano 199506573d Merge branch 'master' into 'master'
gitlabci: Flatpak minor tweaks

See merge request GNOME/nautilus!152
2018-03-18 20:04:29 +00:00
Ernestas Kulik 255a345eab CI: simplify flatpak finish and export stages 2018-03-18 18:54:17 +02:00
Jordan Petridis 7afe55aa0b
gitlabci: Add caching for the flatpak build. 2018-03-18 17:53:57 +02:00
Jordan Petridis 5c48e7136c
gitlabci: Allow for the cross-distro state to be triggered manually from the web gui. 2018-03-18 17:43:07 +02:00
Jordan Petridis be0e8c9049
gitlabci: Use yaml anchors as templates. 2018-03-18 17:41:53 +02:00
Ernestas Kulik dafcbe5a2a CI: let the GitLab runner fetch submodules 2018-03-18 15:43:24 +02:00
Ernestas Kulik d36fa3fdab CI: build from pre-existing checkout
This should make MRs work properly and fix any issues regarding running
tests.
2018-03-18 15:02:36 +02:00
Carlos Soriano f3c46128db Revert "CI: What do you mean no such file or directory?"
This reverts commit 7ee177a526
2018-03-17 23:46:03 +00:00
Carlos Soriano 7ee177a526 CI: What do you mean no such file or directory? 2018-03-17 23:36:23 +00:00
Carlos Soriano 2172bb0558 CI: Use only Flatpak build for MR's
So everyone uses the same environment, including the CI.

Distributions will be tested weekly.
2018-03-17 23:16:06 +00:00
Carlos Soriano 183b724b71 CI: Flatpak: Remove export, it's not neccessary 2018-03-17 14:13:59 +00:00
Carlos Soriano e28f436fab CI: Ubuntu: Add libgirreposiroty1.0-dev 2018-03-17 13:24:56 +00:00
Carlos Soriano 6a4a2acf6c CI: Create artifacts when test fail 2018-03-17 12:36:44 +00:00
Carlos Soriano fcaae18d76 CI: Ubuntu: Update before installing packages to fetch the metadata 2018-03-17 12:23:19 +00:00
Carlos Soriano 69b3c64d4b CI: Seems gettext is not available? It works locally though :/ 2018-03-17 10:31:58 +00:00
Carlos Soriano c7dba5f092 CI: Update Ubuntu packages 2018-03-17 09:22:12 +00:00
Carlos Soriano cb88cd9ba8 CI: I keep removing old code because of the online editor :/ 2018-03-17 09:01:32 +00:00
Carlos Soriano a5a3735c82 CI: Use capitalized names for distros 2018-03-17 08:26:54 +00:00
Carlos Soriano 985c88dba5 CI: Need git to install gcovr 2018-03-17 08:25:29 +00:00
Carlos Soriano a0cdd4dad7 CI: No idea how, but I removed previous code. Readding. 2018-03-17 00:13:53 +00:00
Carlos Soriano 62db01cf53 CI: Amazing, redhat-rpm-config is required to build but it's not part of builddep... 2018-03-17 00:08:47 +00:00
Carlos Soriano dd112a11dd CI: Automate builddep 2018-03-17 00:01:40 +00:00
Carlos Soriano f7bd4db805 CI: Seems builddep is not installed in the Fedora image? :/ 2018-03-16 23:57:57 +00:00
Carlos Soriano bb50329ff8 CI: Simplify fedora build using builddep
It surprises me that other systems doesn't have this one... it's quite
useful tool.
2018-03-16 23:52:11 +00:00
Carlos Soriano 1957f1304c CI: Use better names 2018-03-16 23:23:08 +00:00
Carlos Soriano 9b601455cb CI: Update OpenSUSE 2018-03-16 23:18:01 +00:00
Carlos Soriano c42c09801a CI: Fix typo again, it's late... 2018-03-16 21:15:45 +00:00
Carlos Soriano a6ac49465b CI: Revert to have test pipeline a full build
ninja test regenerates a full build anyway...
2018-03-16 21:01:33 +00:00
Carlos Soriano 4f4c1a3c97 CI: Seems git is needed in the test phase? 2018-03-16 20:48:55 +00:00
Carlos Soriano 3a55f2e233 CI: Make sure we have meson installed for the tests... 2018-03-16 20:22:24 +00:00
Carlos Soriano bd53624dba CI: Fix typo 2018-03-16 20:01:25 +00:00
Carlos Soriano 9f123b396f CI: Make build an artifact to avoid building twice. 2018-03-16 19:54:42 +00:00
Carlos Soriano b091b21ded CI: Add comment about removing git installation for Flatpak when ready 2018-03-16 19:46:54 +00:00
Carlos Soriano bf69e17485 CI: Sperate weekly tests into its own stage of pipeline 2018-03-16 19:09:56 +00:00
Carlos Soriano 4051fa76cd CI: Fix typo, thanks Ernestas for saving me 1h... 2018-03-16 19:06:47 +00:00
Ernestas Kulik 819919ad8e CI: remove removed build option 2018-03-16 21:00:38 +02:00
Carlos Soriano cda1cb0b15 CI: Generate a Flatpak file for testing by non code members. 2018-03-16 17:33:24 +00:00
Carlos Soriano c2e12611be CI: Fix typo 2018-03-16 17:00:33 +00:00
Carlos Soriano e7feacc546 CI: Add weekly builds in major dev distributions 2018-03-16 16:57:23 +00:00
Carlos Soriano b12df2dae0 CI: Build also in non-master branches
I forgot contributions are made in non-master...
2018-03-16 16:31:51 +00:00
Carlos Soriano 31300d84ef CI: Actually remove the installation in before_script... 2018-03-16 15:14:08 +00:00