-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample-pipeline.yml
52 lines (49 loc) · 1.06 KB
/
example-pipeline.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
41
42
43
44
45
46
47
48
49
50
51
52
jobs:
- name: kubernetes-push
public: true
plan:
- get: git
trigger: true
- task: build
config:
platform: linux
image_resource:
type: docker-image
source:
repository: devth/helm
tag: '2.7.2'
inputs:
- name: git
outputs:
- name: chart
run:
path: sh
args:
- -exc
- |
cd git
helm package .
mv myapp-0.1.0.tgz ../chart
- put: kubernetes
params:
chart: chart/myapp-0.1.0.tgz
resources:
- name: git
type: git
source:
uri: https://github.com/Sharor/kubernetes-resource.git
branch: master
username: {{github-username}}
password: {{github-password}}
- name: kubernetes
type: helm
source:
cluster_url: https://192.168.99.100:8443
cluster_ca: {{minikube_cert_base64}}
admin_cert: {{minikube_admin_crt_base64}}
admin_key: {{minikube_admin_key_base64}}
resource_types:
- name: helm
type: docker-image
source:
repository: linkyard/concourse-helm-resource