e3425c5cbd
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: Ib6a869fc6b42a7c565d82a4a9a84d3a3501130fe
74 lines
2.5 KiB
YAML
74 lines
2.5 KiB
YAML
- job:
|
|
name: nebulous-optimiser-constraint-checker-build-container-images
|
|
parent: nebulous-build-container-images
|
|
dependencies:
|
|
- name: opendev-buildset-registry
|
|
soft: false
|
|
provides:
|
|
- nebulous-optimiser-constraint-checker-container-images
|
|
description: Build the container images.
|
|
files: &image_files
|
|
- ^zuul\.d/jobs\.yaml$
|
|
- ^java-spring-boot-demo/
|
|
vars: &image_vars
|
|
promote_container_image_job: nebulous-optimiser-constraint-checker-upload-container-images
|
|
container_images:
|
|
- context: java-spring-boot-demo
|
|
registry: quay.io
|
|
repository: quay.io/nebulous/optimiser-constraint-checker-java-spring-boot-demo
|
|
namespace: nebulous
|
|
repo_shortname: optimiser-constraint-checker-java-spring-boot-demo
|
|
repo_description: ""
|
|
|
|
- job:
|
|
name: nebulous-optimiser-constraint-checker-upload-container-images
|
|
parent: nebulous-upload-container-images
|
|
dependencies:
|
|
- name: opendev-buildset-registry
|
|
soft: false
|
|
provides:
|
|
- nebulous-optimiser-constraint-checker-container-images
|
|
description: Build and upload the container images.
|
|
files: *image_files
|
|
vars: *image_vars
|
|
|
|
- job:
|
|
name: nebulous-optimiser-constraint-checker-promote-container-images
|
|
parent: nebulous-promote-container-images
|
|
description: Promote previously uploaded container images.
|
|
files: *image_files
|
|
vars: *image_vars
|
|
|
|
- job:
|
|
name: nebulous-optimiser-constraint-checker-hadolint
|
|
parent: nebulous-hadolint
|
|
description: Run Hadolint on Dockerfile(s).
|
|
vars:
|
|
dockerfiles:
|
|
- java-spring-boot-demo/Dockerfile
|
|
|
|
- job:
|
|
name: nebulous-optimiser-constraint-checker-helm-lint
|
|
parent: nebulous-helm-lint
|
|
description: Run helm lint on Helm charts.
|
|
vars:
|
|
helm_charts:
|
|
- ./charts/nebulous-optimiser-constraint-checker
|
|
|
|
- job:
|
|
name: nebulous-optimiser-constraint-checker-apply-helm-charts
|
|
parent: nebulous-apply-helm-charts
|
|
dependencies:
|
|
- name: opendev-buildset-registry
|
|
soft: false
|
|
- name: nebulous-optimiser-constraint-checker-build-container-images
|
|
soft: true
|
|
- name: nebulous-optimiser-constraint-checker-upload-container-images
|
|
soft: true
|
|
requires:
|
|
- nebulous-optimiser-constraint-checker-container-images
|
|
description: Deploy a Kubernetes cluster and apply charts.
|
|
vars:
|
|
helm_charts:
|
|
nebulous-optimiser-constraint-checker: ./charts/nebulous-optimiser-constraint-checker
|