Browse Source

Updating pipeline to deploy with helm

develop
Drew Short 5 years ago
parent
commit
fda5a6ee56
  1. 32
      pipeline.yml

32
pipeline.yml

@ -1,4 +1,10 @@
--- ---
resource_types:
- name: helm
type: docker-image
source:
repository: linkyard/concourse-helm-resource
resources: resources:
- name: git-develop - name: git-develop
type: git type: git
@ -35,7 +41,13 @@ resources:
repository: ((nexus_docker_write.host))/nulloctet/baphomet-js repository: ((nexus_docker_write.host))/nulloctet/baphomet-js
username: ((nexus_docker_write.username)) username: ((nexus_docker_write.username))
password: ((nexus_docker_write.password)) password: ((nexus_docker_write.password))
- name: helm
type: helm
source:
cluster_url: ((helm.cluster_url))
cluster_ca: ((helm.cluster_ca))
token: ((helm.token))
jobs: jobs:
# Development Pipeline # Development Pipeline
- name: test-develop - name: test-develop
@ -123,6 +135,24 @@ jobs:
build: package build: package
tag_file: package/tag tag_file: package/tag
tag_as_latest: false tag_as_latest: false
- name: deploy-develop-helm
plan:
- get: git-develop
passed: [deploy-develop-image]
trigger: true
- put: helm
params:
chart: git-develop/.helm
values: git-develop/.helm/values.yaml
release: baphomet-js-dev
override_values:
- key: image.tag
value: dev
- key: image.pullPolicy
value: Always
- key: app.env.node_env
value: development
recreate_pods: true
# Release Pipeline # Release Pipeline
- name: test-release - name: test-release
plan: plan:

Loading…
Cancel
Save