From bee9019458abe334e01ed672571585ca87628d9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Piliszek?= Date: Fri, 26 Apr 2024 19:39:02 +0200 Subject: [PATCH] Use MongoDB 4.4 Later MongoDB fails on machines without AVX instructions. Additionally, make image jobs ignore certain irrelevant changes. Change-Id: I7d1081fb96c903abede71acc0df676928f4fec1a --- charts/nebulous-gui-controller/templates/mongodb.yaml | 2 +- zuul.d/jobs.yaml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/charts/nebulous-gui-controller/templates/mongodb.yaml b/charts/nebulous-gui-controller/templates/mongodb.yaml index 3ee0574..0a21492 100644 --- a/charts/nebulous-gui-controller/templates/mongodb.yaml +++ b/charts/nebulous-gui-controller/templates/mongodb.yaml @@ -16,7 +16,7 @@ spec: spec: containers: - name: mongodb - image: "docker.io/mongodb/mongodb-community-server:7.0.7-ubuntu2204" + image: "docker.io/mongodb/mongodb-community-server:4.4.29-ubuntu2004" ports: - name: mongodb containerPort: 27017 diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml index 27a37ca..7aa4b3b 100644 --- a/zuul.d/jobs.yaml +++ b/zuul.d/jobs.yaml @@ -9,6 +9,10 @@ description: Build the container images. files: &image_files - ^/ + # NOTE(rpiliszek): Adding this due to the repo structure. + irrelevant-files: &image_irrelevant_files + - ^/charts/ + - ^/zuul.d/ vars: &image_vars promote_container_image_job: nebulous-gui-controller-upload-container-images container_images: @@ -29,6 +33,7 @@ - nebulous-gui-controller-container-images description: Build and upload the container images. files: *image_files + irrelevant-files: *image_irrelevant_files vars: *image_vars - job: @@ -36,6 +41,7 @@ parent: nebulous-promote-container-images description: Promote previously uploaded container images. files: *image_files + irrelevant-files: *image_irrelevant_files vars: *image_vars - job: