[stable/gocd] Update pipeline config API, use getting started repo's build script (#16100)

* [stable/gocd] - update pipeline config API version, use the getting started repo for the preconfigured task

Signed-off-by: Varsha Varadarajan <varshasvaradarajan@gmail.com>

* [stable/gocd] Update changelog.

Signed-off-by: Varsha Varadarajan <varshasvaradarajan@gmail.com>
This commit is contained in:
Varsha Varadarajan
2019-08-07 04:48:51 -07:00
committed by Kubernetes Prow Robot
parent ceeaa17539
commit fd8fd4cef4
3 changed files with 22 additions and 7 deletions
+6
View File
@@ -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):
+1 -1
View File
@@ -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
+15 -6
View File
@@ -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"
}
]
}
]