influxdb/zuul.d/jobs.yaml
Radosław Piliszek ccc7d42e8a [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: I9dfd9c251f501cd734f9a3ef7616a705c6496263
2024-05-27 15:18:02 +02:00

74 lines
2.1 KiB
YAML

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