github.com/replicatedhq/ship@v0.55.0/integration/failing/update/helm-values-files/expected/base/jenkins-test.yaml (about) 1 --- 2 # Source: jenkins/templates/jenkins-test.yaml 3 apiVersion: v1 4 kind: Pod 5 metadata: 6 name: "jenkins-ui-test-y7jzm" 7 annotations: 8 "helm.sh/hook": test-success 9 spec: 10 initContainers: 11 - name: "test-framework" 12 image: "dduportal/bats:0.4.0" 13 command: 14 - "bash" 15 - "-c" 16 - | 17 set -ex 18 # copy bats to tools dir 19 cp -R /usr/local/libexec/ /tools/bats/ 20 volumeMounts: 21 - mountPath: /tools 22 name: tools 23 containers: 24 - name: jenkins-ui-test 25 image: jenkins/jenkins:lts 26 command: ["/tools/bats/bats", "-t", "/tests/run.sh"] 27 volumeMounts: 28 - mountPath: /tests 29 name: tests 30 readOnly: true 31 - mountPath: /tools 32 name: tools 33 volumes: 34 - name: tests 35 configMap: 36 name: jenkins-tests 37 - name: tools 38 emptyDir: {} 39 restartPolicy: Never