From a31389104986d59482e256d9bb2b9ac69f3f3642 Mon Sep 17 00:00:00 2001
From: Emanuele Aina <emanuele.aina@collabora.com>
Date: Fri, 8 Mar 2019 02:24:09 +0100
Subject: [PATCH] ostree-commit: Export the list of files that will get
 committed

Do like all the other artifacts and export the file listing.

Signed-off-by: Emanuele Aina <emanuele.aina@collabora.com>
---
 apertis-ostree-commit.yaml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/apertis-ostree-commit.yaml b/apertis-ostree-commit.yaml
index 755a8cc3..d154ef5b 100644
--- a/apertis-ostree-commit.yaml
+++ b/apertis-ostree-commit.yaml
@@ -97,6 +97,11 @@ actions:
     chroot: false
     script: scripts/ostree-convert-from-debian
 
+  - action: run
+    description: List files on {{ $image }}
+    chroot: false
+    script: scripts/list-files "$ROOTDIR" | gzip > "${ARTIFACTDIR}/{{ $image }}.filelist.gz"
+
   - action: ostree-commit
     description: Commit to OSTree branch "{{ $branch }}" in repository "{{ $ostree }}"
     repository: {{ $ostree }}
-- 
GitLab