feat(helm): add common Helm chart and templates for service development
fix(pipeline): update image names for frontend and backend in Jenkinsfile Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
parent
37b574ba50
commit
203aa95f61
17
first-class-pipeline/helm/common/.helmignore
Normal file
17
first-class-pipeline/helm/common/.helmignore
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
.DS_Store
|
||||||
|
.git/
|
||||||
|
.gitignore
|
||||||
|
.bzr/
|
||||||
|
.bzrignore
|
||||||
|
.hg/
|
||||||
|
.hgignore
|
||||||
|
.svn/
|
||||||
|
*.swp
|
||||||
|
*.bak
|
||||||
|
*.tmp
|
||||||
|
*~
|
||||||
|
.project
|
||||||
|
.idea/
|
||||||
|
*.tmproj
|
||||||
|
.vscode/
|
||||||
|
img/
|
||||||
12
first-class-pipeline/helm/common/Chart.yaml
Normal file
12
first-class-pipeline/helm/common/Chart.yaml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
annotations:
|
||||||
|
category: "infra"
|
||||||
|
apiVersion: v2
|
||||||
|
appVersion: 0.0.1
|
||||||
|
version: 0.0.1
|
||||||
|
description: "A Helm charts for common templates to accelerate the development of service templates."
|
||||||
|
name: common
|
||||||
|
keywords:
|
||||||
|
- common
|
||||||
|
- infra
|
||||||
|
- templates
|
||||||
|
- helper
|
||||||
10
first-class-pipeline/helm/common/templates/_names.tpl
Normal file
10
first-class-pipeline/helm/common/templates/_names.tpl
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{{
|
||||||
|
/* Expand the name of the chart */
|
||||||
|
}}
|
||||||
|
{{- define "common.names.name" -}}
|
||||||
|
{{- define .Chart.name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{
|
||||||
|
|
||||||
|
}}
|
||||||
4
first-class-pipeline/tests/Jenkinsfile
vendored
4
first-class-pipeline/tests/Jenkinsfile
vendored
@ -63,7 +63,7 @@ executeFreeleapsPipeline {
|
|||||||
// imageRepository used to specify the image repository
|
// imageRepository used to specify the image repository
|
||||||
imageRepository: 'sunzhenyucn',
|
imageRepository: 'sunzhenyucn',
|
||||||
// imageName used to specify the image name
|
// imageName used to specify the image name
|
||||||
imageName: 'gitops-mvp-app-frontend',
|
imageName: 'demo-frontend',
|
||||||
// imageBuilder used to specify the image builder
|
// imageBuilder used to specify the image builder
|
||||||
// dind: using docker-in-docker to build the image
|
// dind: using docker-in-docker to build the image
|
||||||
// kaniko: using Kaniko to build the image
|
// kaniko: using Kaniko to build the image
|
||||||
@ -110,7 +110,7 @@ executeFreeleapsPipeline {
|
|||||||
// imageRepository used to specify the image repository
|
// imageRepository used to specify the image repository
|
||||||
imageRepository: 'sunzhenyucn',
|
imageRepository: 'sunzhenyucn',
|
||||||
// imageName used to specify the image name
|
// imageName used to specify the image name
|
||||||
imageName: 'gitops-mvp-app-backend',
|
imageName: 'demo-backend',
|
||||||
// imageBuilder used to specify the image builder
|
// imageBuilder used to specify the image builder
|
||||||
// dind: using docker-in-docker to build the image
|
// dind: using docker-in-docker to build the image
|
||||||
// kaniko: using Kaniko to build the image
|
// kaniko: using Kaniko to build the image
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user