monitoring-data-persistor/zuul.d/jobs.yaml
jmarchel e631dc2283 Init repo from the component-template
Change-Id: I8c65962f2f4f1fb31b804b91fd1291ca141b2482
2024-01-04 20:10:29 +01:00

73 lines
2.4 KiB
YAML

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