Test helm charts against k8s
Depends-On: https://review.opendev.org/701874 Change-Id: Idadf7c32022ef253ae0f855e0133f115deac3081
This commit is contained in:
parent
f7d0d3ac66
commit
4f8b5cc00d
@ -4,4 +4,4 @@ name: nodepool
|
||||
description: Nodepool is a system for managing test node resources.
|
||||
home: https://zuul-ci.org/docs/nodepool/
|
||||
appVersion: 3.10.0
|
||||
version: 0.0.1
|
||||
version: 0.0.0
|
||||
|
7
charts/zuul-system/Chart.yaml
Normal file
7
charts/zuul-system/Chart.yaml
Normal 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
|
8
charts/zuul-system/requirements.yaml
Normal file
8
charts/zuul-system/requirements.yaml
Normal 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
|
15
charts/zuul-system/values.yaml
Normal file
15
charts/zuul-system/values.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
zookeeper:
|
||||
fullnameOverride: zookeeper
|
||||
|
||||
nodepool:
|
||||
config:
|
||||
labels: []
|
||||
providers: []
|
||||
diskimages: []
|
||||
zookeeper-servers:
|
||||
- host: zookeeper
|
||||
port: 2181
|
||||
|
||||
clouds: {}
|
||||
extraFiles: {}
|
6
playbooks/functional/run.yaml
Normal file
6
playbooks/functional/run.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
- hosts: all
|
||||
roles:
|
||||
- role: helm-template
|
||||
vars:
|
||||
helm_release_name: zuul-system
|
||||
helm_chart: ./charts/zuul-system
|
@ -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:
|
||||
check:
|
||||
jobs:
|
||||
- chart-testing-lint
|
||||
- zuul-helm-functional
|
||||
gate:
|
||||
jobs:
|
||||
- chart-testing-lint
|
||||
- zuul-helm-functional
|
Loading…
Reference in New Issue
Block a user