diff --git a/stable/spinnaker/Chart.yaml b/stable/spinnaker/Chart.yaml index c5eb819318..1829648243 100644 --- a/stable/spinnaker/Chart.yaml +++ b/stable/spinnaker/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 description: Open source, multi-cloud continuous delivery platform for releasing software changes with high velocity and confidence. name: spinnaker -version: 0.3.1 +version: 0.3.2 appVersion: 1.1.0 home: http://spinnaker.io/ sources: diff --git a/stable/spinnaker/templates/hooks/test.yaml b/stable/spinnaker/templates/hooks/test.yaml index f2b79a9362..fbcc2fa066 100644 --- a/stable/spinnaker/templates/hooks/test.yaml +++ b/stable/spinnaker/templates/hooks/test.yaml @@ -4,21 +4,20 @@ metadata: name: "{{.Release.Name}}-ui-test-{{ randAlphaNum 5 | lower }}" annotations: "helm.sh/hook": test-success - "pod.beta.kubernetes.io/init-containers": '[ - { - "name": "test-framework", - "image": "dduportal/bats:0.4.0", - "command": ["bash", "-c", " - set -ex\n - # copy bats to tools dir\n - cp -R /usr/local/libexec/ /tools/bats/\n - "], - "volumeMounts": [ - {"name": "tools", "mountPath": "/tools"} - ] - } - ]' spec: + initContainers: + - name: "test-framework" + image: "dduportal/bats:0.4.0" + command: + - "bash" + - "-c" + - | + set -ex + # copy bats to tools dir + cp -R /usr/local/libexec/ /tools/bats/ + volumeMounts: + - mountPath: /tools + name: tools containers: - name: {{.Release.Name}}-ui-test image: {{.Values.jenkins.Master.Image}}:{{.Values.jenkins.Master.ImageTag}} @@ -35,4 +34,4 @@ spec: name: {{ template "fullname" . }}-tests - name: tools emptyDir: {} - restartPolicy: Never \ No newline at end of file + restartPolicy: Never