Commit graph

92 commits

Author SHA1 Message Date
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