mirror of https://gitee.com/openkylin/gvfs.git
49 lines
1.8 KiB
YAML
49 lines
1.8 KiB
YAML
fedora:
|
|
image:
|
|
name: registry.gitlab.gnome.org/gnome/gvfs:latest
|
|
entrypoint: ["/bin/sh", "-c"]
|
|
tags:
|
|
- x86_64
|
|
script:
|
|
# The httpd process fails with "(98)Address already in use: AH00072:
|
|
# make_sock: could not bind to address 127.0.0.1:8088" error. It used to
|
|
# work on runners with the "ipv6" tag, but there is no such currently.
|
|
# It is not clear to me why it fails, the port looks to be unused.
|
|
# Let's disable the Dav test cases temporarily to unblock the pipeline.
|
|
- sed -i "/class Dav/i @unittest.skip('Disabled over .gitlab-ci.yml')" test/gvfs-test
|
|
- meson
|
|
-Dinstalled_tests=true
|
|
-Ddevel_utils=true
|
|
-Dman=true
|
|
-Dafc=true
|
|
-Darchive=true
|
|
-Dsftp=true
|
|
-Dsmb=true
|
|
-Dudisks2=true
|
|
-Dhttp=true
|
|
-Dgphoto2=true
|
|
--prefix /usr --werror build
|
|
- sudo ninja -C build install
|
|
- GIO_USE_VOLUME_MONITOR=unix gnome-desktop-testing-runner gvfs
|
|
allow_failure: true
|
|
|
|
update-image:
|
|
variables:
|
|
STORAGE_DRIVER: vfs
|
|
BUILDAH_FORMAT: docker
|
|
BUILDAH_ISOLATION: chroot
|
|
image: registry.fedoraproject.org/fedora:latest
|
|
script:
|
|
- dnf install -y buildah runc
|
|
- sed -i '/^mountopt =.*/d' /etc/containers/storage.conf
|
|
- buildah bud --tag $CI_REGISTRY_IMAGE -f .gitlab-ci/Dockerfile
|
|
- buildah tag $CI_REGISTRY_IMAGE "$CI_REGISTRY_IMAGE:v$CI_JOB_ID"
|
|
- buildah login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
|
|
- buildah push --creds $CI_REGISTRY_USER:$CI_REGISTRY_PASSWORD $CI_REGISTRY_IMAGE
|
|
- buildah push --creds $CI_REGISTRY_USER:$CI_REGISTRY_PASSWORD "$CI_REGISTRY_IMAGE:v$CI_JOB_ID"
|
|
when: manual
|
|
only:
|
|
variables:
|
|
- $CI_PROJECT_NAMESPACE == "GNOME"
|
|
|