[gnome-runtime-images/alatiera/scheduled-stable-rebuilds: 1/2] Avoid rebuilding base images unless needed
- From: Jordan Petridis <jpetridis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-runtime-images/alatiera/scheduled-stable-rebuilds: 1/2] Avoid rebuilding base images unless needed
- Date: Thu, 23 Apr 2020 09:43:10 +0000 (UTC)
commit e9f5183cc9d13d9d5793c9bbb94ed9085fca56fa
Author: Jordan Petridis <jpetridis gnome org>
Date: Thu Apr 23 12:26:24 2020 +0300
Avoid rebuilding base images unless needed
.gitlab-ci.yml | 12 ++++++++++++
1 file changed, 12 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f56cd5d..96599b3 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,11 @@ base:
variables:
DOCKERIMAGE: ${CI_REGISTRY_IMAGE}/base
DOCKERFILE: base
+ rules:
+ - changes:
+ - 'base'
+ when: 'always'
+ - when: 'manual'
flat-manager-client:
stage: base
@@ -58,6 +65,11 @@ flat-manager-client:
variables:
DOCKERIMAGE: ${CI_REGISTRY_IMAGE}/flat-manager-client
DOCKERFILE: flat-manager-client/Dockerfile
+ rules:
+ - changes:
+ - 'flat-manager-client/Dockerfile'
+ when: 'always'
+ - when: 'manual'
# 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]