[gnome-runtime-images/alatiera/scheduled-stable-rebuilds] Avoid rebuilding base images unless needed



commit 4d3f0914a3e08a1a8127d5b87a679cdc434ae286
Author: Jordan Petridis <jpetridis gnome org>
Date:   Thu Apr 23 12:26:24 2020 +0300

    Avoid rebuilding base images unless needed

 .gitlab-ci.yml | 8 ++++++++
 1 file changed, 8 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1605b7b..bb7dca7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -44,6 +44,8 @@ default:
           END
         - podman run --rm ${DOCKERIMAGE} flatpak list --columns=application,branch,arch,active,size
         - buildah inspect --format "{{.FromImageID}}" ${DOCKERIMAGE}
+    rules:
+      when: 'manual'
 
 base:
     stage: base
@@ -51,6 +53,9 @@ base:
     variables:
         DOCKERIMAGE: ${CI_REGISTRY_IMAGE}/base
         DOCKERFILE: base
+    rules:
+      changes:
+        - 'base'
 
 flat-manager-client:
     stage: base
@@ -58,6 +63,9 @@ flat-manager-client:
     variables:
         DOCKERIMAGE: ${CI_REGISTRY_IMAGE}/flat-manager-client
         DOCKERFILE: flat-manager-client/Dockerfile
+    rules:
+      changes:
+        - 'flat-manager-client/Dockerfile'
 
 
 # Expects ${BRANCH} and ${FD_BRANCH} variables which are the gnome branch and the freedesktop-sdk


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