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