[gnome-initial-setup/wip/wjt/fdo-ci-template] ci: Switch to freedesktop/ci-templates
- From: Will Thompson <wjt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-initial-setup/wip/wjt/fdo-ci-template] ci: Switch to freedesktop/ci-templates
- Date: Fri, 18 Feb 2022 21:22:41 +0000 (UTC)
commit 4f8a8ef6341cd6fbb811267b93717d40314e84be
Author: Will Thompson <will willthompson co uk>
Date: Fri Feb 18 21:14:10 2022 +0000
ci: Switch to freedesktop/ci-templates
Shamelessly cribbed from gnome-control-center.
Fixes #138
.gitlab-ci.yml | 74 ++++++++++++++++++++++-
.gitlab-ci/fedora.Dockerfile | 53 -----------------
.gitlab-ci/run-docker.sh | 138 -------------------------------------------
3 files changed, 73 insertions(+), 192 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 02e5aaea..14a54ed6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,10 +1,82 @@
-image: registry.gitlab.gnome.org/gnome/gnome-initial-setup/fedora:v2
+include:
+ - remote:
'https://gitlab.freedesktop.org/freedesktop/ci-templates/-/raw/11fe3571905faceef51c7253dfdaf79ece8cf062/templates/fedora.yml'
+
+variables:
+ FDO_UPSTREAM_REPO: gnome/gnome-initial-setup
stages:
+ - prepare
- build
+.fedora.container.common:
+ variables:
+ # When branching a stable release, change 'main'
+ # to the release number/branch to ensure that
+ # a new image will be created, tailored for the
+ # stable branch.
+ # Could probably also switch away from rawhide,
+ # to stable fedora branch as well.
+ FDO_DISTRIBUTION_TAG: '2022-02-18.0-main'
+ FDO_DISTRIBUTION_VERSION: 36
+
+# See also https://gitlab.freedesktop.org/freedesktop/ci-templates
+build.container.fedora@x86_64:
+ extends:
+ - '.fdo.container-build@fedora'
+ - '.fedora.container.common'
+ stage: 'prepare'
+ variables:
+ # no need to pull the whole tree for rebuilding the image
+ GIT_STRATEGY: none
+ # Expiry sets fdo.expires on the image
+ FDO_EXPIRES_AFTER: 8w
+ FDO_DISTRIBUTION_PACKAGES: >-
+ @c-development @development-tools
+ meson
+ ninja-build
+ ccache
+ desktop-file-utils
+ gcc
+ gettext
+ git
+ NetworkManager-libnm-devel
+ accountsservice-devel
+ cheese-libs-devel
+ cheese-libs-devel
+ flatpak-devel
+ fontconfig-devel
+ gdm-devel
+ geoclue2-devel
+ geocode-glib-devel
+ glib2-devel
+ gnome-desktop3-devel
+ gnome-online-accounts-devel
+ gobject-introspection-devel
+ gstreamer1-devel
+ gtk-doc
+ gtk3-devel
+ gtk4-devel
+ ibus-devel
+ krb5-devel
+ libgweather-devel
+ libhandy-devel
+ libnma-devel
+ libpwquality-devel
+ libsecret-devel
+ malcontent-ui-devel
+ polkit-devel
+ rest-devel
+ webkit2gtk3-devel
+ # TODO: FDO_DISTRIBUTION_EXEC: |-
+ # build all things with wrap files
+
.job_template: &job_definition
+ extends:
+ - '.fdo.distribution-image@fedora'
+ - '.fedora.container.common'
+
stage: build
+
script:
# In general, we would like warnings to be fatal. However, code copied from
# gnome-control-center uses many deprecated functions. Until we have a good
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]