Test helm charts against k8s

Depends-On: https://review.opendev.org/701874
Change-Id: Idadf7c32022ef253ae0f855e0133f115deac3081
This commit is contained in:
James E. Blair 2020-01-09 08:20:51 -08:00 committed by Mohammed Naser
parent f7d0d3ac66
commit 4f8b5cc00d
6 changed files with 48 additions and 1 deletions

View File

@ -4,4 +4,4 @@ name: nodepool
description: Nodepool is a system for managing test node resources. description: Nodepool is a system for managing test node resources.
home: https://zuul-ci.org/docs/nodepool/ home: https://zuul-ci.org/docs/nodepool/
appVersion: 3.10.0 appVersion: 3.10.0
version: 0.0.1 version: 0.0.0

View File

@ -0,0 +1,7 @@
---
apiVersion: v1
name: zuul-system
description: Full distribution of Zuul
home: https://zuul-ci.org/
appVersion: 3.14.0
version: 0.0.0

View File

@ -0,0 +1,8 @@
---
dependencies:
- name: zookeeper
version: 2.1.3
repository: http://storage.googleapis.com/kubernetes-charts-incubator
- name: nodepool
version: 0.0.0
repository: file://../nodepool

View File

@ -0,0 +1,15 @@
---
zookeeper:
fullnameOverride: zookeeper
nodepool:
config:
labels: []
providers: []
diskimages: []
zookeeper-servers:
- host: zookeeper
port: 2181
clouds: {}
extraFiles: {}

View File

@ -0,0 +1,6 @@
- hosts: all
roles:
- role: helm-template
vars:
helm_release_name: zuul-system
helm_chart: ./charts/zuul-system

View File

@ -1,7 +1,18 @@
- job:
name: zuul-helm-functional
parent: apply-helm-charts
run: playbooks/functional/run.yaml
vars:
minikube_dns_resolvers: ['1.1.1.1', '8.8.8.8']
helm_charts:
nodepool: ./charts/nodepool
- project: - project:
check: check:
jobs: jobs:
- chart-testing-lint - chart-testing-lint
- zuul-helm-functional
gate: gate:
jobs: jobs:
- chart-testing-lint - chart-testing-lint
- zuul-helm-functional