[gnome-runtime-images/alatiera/fix-non-priv] wip drop priv



commit 02656f1b1b6120a5307b4fadf73c4354f5f4dd15
Author: Jordan Petridis <jordan centricular com>
Date:   Tue Jul 21 07:42:35 2020 +0300

    wip drop priv

 .gitlab-ci.yml | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bbea534..40ce325 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,9 +1,10 @@
-image: 'registry.fedoraproject.org/fedora:30'
+image: 'registry.freedesktop.org/freedesktop/ci-templates/buildah:2020-03-24'
 
 # Buildah can't use 'overlay' driver when running inside docker
 variables:
-    STORAGE_DRIVER: vfs
-    BUILDAH_FORMAT: docker
+  STORAGE_DRIVER: 'vfs'
+  BUILDAH_FORMAT: 'docker'
+  BUILDAH_ISOLATION: 'chroot'
 
 stages:
     - base
@@ -11,10 +12,7 @@ stages:
     - rust_bundle
 
 default:
-    tags:
-        - privileged
     before_script:
-        - dnf install -y buildah podman
         - buildah login -u gitlab-ci-token -p ${CI_JOB_TOKEN} ${CI_REGISTRY}
 
         # Newer versions of podman/buildah try to set overlayfs mount options when
@@ -42,7 +40,7 @@ default:
           cgroup_manager = "cgroupfs"
           events_logger = "file"
           END
-        - podman run --rm ${DOCKERIMAGE} flatpak list --columns=application,branch,arch,active,size
+        # - podman run --rm ${DOCKERIMAGE} flatpak list --columns=application,branch,arch,active,size
         - buildah inspect --format "{{.FromImageID}}" ${DOCKERIMAGE}
     rules:
       - when: 'manual'


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]