Reduce frequency of image rebuilds

In order to reduce the load on our builder nodes and reduce the strain
on our providers' image stores, build most images only once per week.

Exceptions are ubuntu-jammy, our most often used distro image, which we
keep rebuilding daily, and some other more frequently used images built
every 2 days.

Change-Id: Ibba7f864b15e478fda59c998843c3b2ace0022d8
This commit is contained in:
Dr. Jens Harbott 2023-09-02 13:18:19 +02:00
parent 94160b4448
commit d0c0ddb977
2 changed files with 10 additions and 0 deletions

View File

@ -107,6 +107,7 @@ providers:
diskimages:
- name: base
abstract: True
rebuild-age: 604800 # 7 days
elements:
- block-device-efi
- vm
@ -226,6 +227,7 @@ diskimages:
elements:
- ubuntu-minimal
release: jammy
rebuild-age: 172800 # 2 days
env-vars:
DIB_DISTRIBUTION_MIRROR: 'https://mirror.regionone.linaro.opendev.org/ubuntu-ports'
DIB_DEBIAN_COMPONENTS: 'main,universe'
@ -235,6 +237,7 @@ diskimages:
elements:
- debian-minimal
release: bookworm
rebuild-age: 172800 # 2 days
env-vars:
DIB_DISTRIBUTION_MIRROR: 'https://mirror.regionone.linaro.opendev.org/debian'
@ -272,6 +275,7 @@ diskimages:
- centos-minimal
- epel
release: 9-stream
rebuild-age: 172800 # 2 days
env-vars:
DIB_EPEL_DISABLED: '1'
@ -291,3 +295,4 @@ diskimages:
- rocky-container
- epel
release: 9
rebuild-age: 172800 # 2 days

View File

@ -131,6 +131,7 @@ providers:
diskimages:
- name: base
abstract: True
rebuild-age: 604800 # 7 days
elements:
- vm
- simple-init
@ -188,6 +189,7 @@ diskimages:
pause: false
python-path: /usr/bin/python3
release: '9-stream'
rebuild-age: 172800 # 2 days
elements:
- cache-devstack
- centos-minimal
@ -212,6 +214,7 @@ diskimages:
pause: false
python-path: /usr/bin/python3
release: '9'
rebuild-age: 172800 # 2 days
elements:
- cache-devstack
- rocky-container
@ -246,6 +249,7 @@ diskimages:
- debian-minimal
- cache-devstack
release: bookworm
rebuild-age: 172800 # 2 days
env-vars:
DIB_DISTRIBUTION_MIRROR: 'https://mirror.dfw.rax.opendev.org/debian'
DIB_DEBIAN_SECURITY_MIRROR:
@ -396,6 +400,7 @@ diskimages:
- ubuntu-minimal
- cache-devstack
release: jammy
rebuild-age: 86400 # 1 days
env-vars:
DIB_DISTRIBUTION_MIRROR: 'https://mirror.dfw.rax.opendev.org/ubuntu'
DIB_DEBIAN_COMPONENTS: 'main,universe'