monitoring/zuul.d/jobs.yaml
ipatini 8212cd655d EMS: Applied changes from main repo
Change-Id: I91c7cd475c0a1139f73ff76b71b90ab3aae1445b
2024-03-20 13:46:22 +00:00

75 lines
2.2 KiB
YAML

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