This was missed in earlier checks because nothing is really using these two images. I did consider removing them completely as a result, but having them run tests (and fail) was a good sanity check that what we are doing generally works if set up correctly. These images were not set up correctly so failed. We want to move our base python images to quay.io and then pull those images from there when building gitea-init and jinja-init images. To do that we need to use the container build job set and not the docker build job set. So switch both images over and in the process publish the images to quay.io. Then we can can also consume the base images from quay.io as well. We switch to building with docker now that docker is capable of building with speculative images in single arch builds. Change-Id: Ic4cda82a80806112995ae77a49bf5c7be6654ec6
37 lines
1.3 KiB
YAML
37 lines
1.3 KiB
YAML
# Jinja-init jobs
|
|
- job:
|
|
name: system-config-build-image-jinja-init
|
|
description: Build a jinja-init image.
|
|
parent: system-config-build-container-image
|
|
requires: python-base-3.11-bookworm-container-image
|
|
provides: jinja-init-container-image
|
|
vars: &jinja-init_vars
|
|
promote_container_image_job: system-config-upload-image-jinja-init
|
|
container_command: docker
|
|
container_images:
|
|
- context: docker/jinja-init
|
|
registry: quay.io
|
|
repository: quay.io/opendevorg/jinja-init
|
|
namespace: opendevorg
|
|
repo_shortname: jinja-init
|
|
repo_description: Container image jinja-init
|
|
files: &jinja-init_files
|
|
- docker/jinja-init/
|
|
- docker/python-base/
|
|
|
|
- job:
|
|
name: system-config-upload-image-jinja-init
|
|
description: Build and upload a jinja-init image.
|
|
parent: system-config-upload-container-image
|
|
requires: python-base-3.11-bookworm-container-image
|
|
provides: jinja-init-container-image
|
|
vars: *jinja-init_vars
|
|
files: *jinja-init_files
|
|
|
|
- job:
|
|
name: system-config-promote-image-jinja-init
|
|
description: Promote a previously published jinja-init image to latest.
|
|
parent: system-config-promote-container-image
|
|
vars: *jinja-init_vars
|
|
files: *jinja-init_files
|