initial default chart

This commit is contained in:
James Strachan
2018-01-16 16:12:38 +00:00
parent 92b4b16635
commit 9bc36352bf
6 changed files with 49 additions and 0 deletions

15
Jenkinsfile vendored Normal file
View File

@@ -0,0 +1,15 @@
pipeline {
agent {
label "jenkins-maven"
}
stages {
stage('Update Environment') {
steps {
container('maven') {
sh 'make install'
}
}
}
}
}

25
Makefile Normal file
View File

@@ -0,0 +1,25 @@
CHART_REPO := http://jenkins-x-chartmuseum:8080
NAME := "env"
NAMESPACE := "default-staging"
OS := $(shell uname)
build: clean
rm -rf requirements.lock
helm version
helm init
helm repo add releases ${CHART_REPO}
helm dependency build env
helm lint env
install: clean build
helm install env --name ${NAME} --namespace ${NAMESPACE}
upgrade: clean build
helm upgrade ${NAME} . --namespace ${NAMESPACE}
delete:
helm delete --purge ${NAME} --namespace ${NAMESPACE}
clean:

6
env/Chart.yaml vendored Normal file
View File

@@ -0,0 +1,6 @@
name: env
version: 0.0.1
description: GitOps Environment for this Environment
maintainers:
- name: Team
icon: https://www.cloudbees.com/sites/default/files/Jenkins_8.png

1
env/requirements.yaml vendored Executable file
View File

@@ -0,0 +1 @@
dependencies:

1
env/templates/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@

1
env/values.yaml vendored Normal file
View File

@@ -0,0 +1 @@