84b2dd95b0
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: I9798ac361fb52cdbcaf58306c8d1360ac94624fa
76 lines
2.2 KiB
YAML
76 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
|
|
- ^zuul\.d/jobs\.yaml$
|
|
- ^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
|