forked from codefresh-contrib/helm-sample-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
codefresh-do-not-store.yml
40 lines (40 loc) · 992 Bytes
/
codefresh-do-not-store.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
version: '1.0'
stages:
- prepare
- build
- deploy
steps:
clone:
title: Cloning main repository...
stage: prepare
type: git-clone
arguments:
repo: codefresh-contrib/helm-sample-app
revision: master
git: github
build:
title: Building Docker Image
stage: build
type: build
working_directory: ./helm-sample-app
arguments:
image_name: helm-sample-app-go
tag: multi-stage
dockerfile: Dockerfile
deploy:
title: Deploying Helm Chart
type: helm
stage: deploy
working_directory: ./helm-sample-app
arguments:
action: install
chart_name: charts/helm-example
release_name: my-go-chart-prod
helm_version: 3.0.2
kube_context: my-demo-k8s-cluster
custom_values:
- 'buildID=${{CF_BUILD_ID}}'
- 'image_pullPolicy=Always'
- 'image_tag=multi-stage'
- 'replicaCount=3'
- 'image_pullSecret=codefresh-generated-r.cfcr.io-cfcr-default'