jmarchel 7d8c717f5c Init repo from the component-template
Change-Id: I7c27199cb20088b182c078fa8e1c0a084c152e5d
2024-02-01 10:04:21 +01:00

73 lines
2.4 KiB
YAML

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