optimiser-utility-evaluator/zuul.d/jobs.yaml
Radosław Piliszek c4c80c8617 [CI] Include zuul.d/jobs.yaml as a trigger for image jobs
Zuul ignored the reconfiguration of the job vars and did not run
the promotion job in https://review.opendev.org/c/nebulous/activemq/+/919799/4

Change-Id: Id7b18aa7d2793391a1fac3c7d7b923322b3549e7
2024-05-27 19:01:43 +02:00

74 lines
2.4 KiB
YAML

- job:
name: nebulous-optimiser-utility-evaluator-build-container-images
parent: nebulous-build-container-images
dependencies:
- name: opendev-buildset-registry
soft: false
provides:
- nebulous-optimiser-utility-evaluator-container-images
description: Build the container images.
files: &image_files
- ^zuul\.d/jobs\.yaml$
- ^utility-evaluator/
vars: &image_vars
promote_container_image_job: nebulous-optimiser-utility-evaluator-upload-container-images
container_images:
- context: utility-evaluator
registry: quay.io
repository: quay.io/nebulous/optimiser-utility-evaluator
namespace: nebulous
repo_shortname: optimiser-utility-evaluator
repo_description: ""
- job:
name: nebulous-optimiser-utility-evaluator-upload-container-images
parent: nebulous-upload-container-images
dependencies:
- name: opendev-buildset-registry
soft: false
provides:
- nebulous-optimiser-utility-evaluator-container-images
description: Build and upload the container images.
files: *image_files
vars: *image_vars
- job:
name: nebulous-optimiser-utility-evaluator-promote-container-images
parent: nebulous-promote-container-images
description: Promote previously uploaded container images.
files: *image_files
vars: *image_vars
- job:
name: nebulous-optimiser-utility-evaluator-hadolint
parent: nebulous-hadolint
description: Run Hadolint on Dockerfile(s).
vars:
dockerfiles:
- utility-evaluator/Dockerfile
- job:
name: nebulous-optimiser-utility-evaluator-helm-lint
parent: nebulous-helm-lint
description: Run helm lint on Helm charts.
vars:
helm_charts:
- ./charts/nebulous-optimiser-utility-evaluator
- job:
name: nebulous-optimiser-utility-evaluator-apply-helm-charts
parent: nebulous-apply-helm-charts
dependencies:
- name: opendev-buildset-registry
soft: false
- name: nebulous-optimiser-utility-evaluator-build-container-images
soft: true
- name: nebulous-optimiser-utility-evaluator-upload-container-images
soft: true
requires:
- nebulous-optimiser-utility-evaluator-container-images
description: Deploy a Kubernetes cluster and apply charts.
vars:
helm_charts:
nebulous-optimiser-utility-evaluator: ./charts/nebulous-optimiser-utility-evaluator