security-manager/zuul.d/jobs.yaml
jmarchel b6559c905d Init repo from the component-template
Change-Id: Icab8fd4576f319b988ab678d38523289e741edb8
2024-01-08 10:08:56 +01:00

73 lines
2.3 KiB
YAML

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