resource-manager/zuul.d/jobs.yaml
Radosław Piliszek fe182aeae5 [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: Id33016fa9802a06b3a2da40914963a01dd27bcaa
2024-05-27 19:01:56 +02:00

74 lines
2.2 KiB
YAML

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