diff --git a/stable/gocd/CHANGELOG.md b/stable/gocd/CHANGELOG.md index 44e97cb985..8bef5322ce 100644 --- a/stable/gocd/CHANGELOG.md +++ b/stable/gocd/CHANGELOG.md @@ -1,6 +1,12 @@ +### 1.16.0 + +* [7872692](https://github.com/kubernetes/charts/commit/7872692): Update Pipeline config API version, use getting started repo's script for task + ### 1.15.0 + * [723e309](https://github.com/kubernetes/charts/commit/723e309): - Bump up GoCD Version to 19.7.0 + ### 1.14.0 * [c191fb46c](https://github.com/kubernetes/charts/commit/c191fb46c): diff --git a/stable/gocd/Chart.yaml b/stable/gocd/Chart.yaml index 3a627fc50c..a4063b2a26 100644 --- a/stable/gocd/Chart.yaml +++ b/stable/gocd/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: gocd home: https://www.gocd.org/ -version: 1.15.0 +version: 1.16.0 appVersion: 19.7.0 description: GoCD is an open-source continuous delivery server to model and visualize complex workflows with ease. icon: https://gocd.github.io/assets/images/go-icon-black-192x192.png diff --git a/stable/gocd/templates/configmap.yaml b/stable/gocd/templates/configmap.yaml index 9d5065d80e..7f1f565794 100644 --- a/stable/gocd/templates/configmap.yaml +++ b/stable/gocd/templates/configmap.yaml @@ -95,12 +95,12 @@ data: echo "Trying to creating a hello world pipeline." >> /godata/logs/preconfigure.log (curl --fail -i 'http://localhost:8153/go/api/admin/pipelines' \ - -H 'Accept: application/vnd.go.cd.v6+json' \ + -H 'Accept: application/vnd.go.cd.v8+json' \ -H 'Content-Type: application/json' \ -X POST -d '{ "group": "sample", "pipeline": { "label_template": "${COUNT}", - "name": "hello_world", + "name": "getting_started_pipeline", "materials": [ { "type": "git", @@ -121,12 +121,21 @@ data: { "type": "exec", "attributes": { - "command": "echo", - "arguments": [ - "Hello World" - ] + "command": "./build" } } + ], + "tabs": [ + { + "name": "Sample", + "path": "my-artifact.html" + } + ], + "artifacts": [ + { + "type": "build", + "source": "my-artifact.html" + } ] } ]