Browse Source

Updating pipeline to deploy with helm

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

30
pipeline.yml

@ -1,4 +1,10 @@
---
resource_types:
- name: helm
type: docker-image
source:
repository: linkyard/concourse-helm-resource
resources:
- name: git-develop
type: git
@ -35,6 +41,12 @@ resources:
repository: ((nexus_docker_write.host))/nulloctet/baphomet-js
username: ((nexus_docker_write.username))
password: ((nexus_docker_write.password))
- name: helm
type: helm
source:
cluster_url: ((helm.cluster_url))
cluster_ca: ((helm.cluster_ca))
token: ((helm.token))
jobs:
# Development Pipeline
@ -123,6 +135,24 @@ jobs:
build: package
tag_file: package/tag
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
- name: test-release
plan:

Loading…
Cancel
Save