Skip to content

Commit

Permalink
Merge pull request #332 from kmala/charts
Browse files Browse the repository at this point in the history
feat(charts): Add helm charts for workflow-e2e
  • Loading branch information
kmala authored Oct 13, 2016
2 parents c6c316f + bf3a560 commit ded1196
Show file tree
Hide file tree
Showing 4 changed files with 81 additions and 0 deletions.
7 changes: 7 additions & 0 deletions charts/workflow-e2e/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: workflow-e2e
home: https://github.com/deis/workflow-e2e
version: <Will be populated by the ci before publishing the chart>
description: End-to-end tests for Deis Workflow, executed in parallel.
maintainers:
- name: Deis Team
email: engineering@deis.com
29 changes: 29 additions & 0 deletions charts/workflow-e2e/templates/spotify-gc-daemon.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
name: deis-spotify-gc
labels:
heritage: deis
spec:
selector:
matchLabels:
app: deis-spotify-gc
heritage: deis
template:
metadata:
name: deis-spotify-gc
labels:
heritage: deis
app: deis-spotify-gc
spec:
containers:
- name: deis-spotify-gc
image: spotify/docker-gc:latest
imagePullPolicy: Always
volumeMounts:
- mountPath: /var/run/docker.sock
name: docker-socket
volumes:
- name: docker-socket
hostPath:
path: /var/run/docker.sock
37 changes: 37 additions & 0 deletions charts/workflow-e2e/templates/workflow-e2e-pod.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
apiVersion: v1
kind: Pod
metadata:
name: {{.Values.pod_name}}
labels:
heritage: deis
spec:
restartPolicy: Never
containers:
- name: tests
image: quay.io/{{.Values.org}}/workflow-e2e:{{.Values.docker_tag}}
imagePullPolicy: {{.Values.pull_policy}}
env:
- name: GINKGO_NODES
value: "{{.Values.ginko_nodes}}"
- name: JUNIT
value: "true"
- name: CLI_VERSION
value: "{{.Values.cli_version}}"
# set TEST env variable to run appropriate tests in e2e suite
- name: TEST
value: "{{.Values.test}}"
- name: DEBUG_MODE
value: {{.Values.debug_mode}}
volumeMounts:
- name: artifact-volume
mountPath: /root
- name: artifacts
image: busybox
imagePullPolicy: Always
command: ["tail", "-f", "/dev/null"]
volumeMounts:
- name: artifact-volume
mountPath: /root
volumes:
- name: artifact-volume
emptyDir: {}
8 changes: 8 additions & 0 deletions charts/workflow-e2e/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
org: "deisci"
docker_tag: "canary"
pull_policy: "Always"
pod_name: "workflow-dev-e2e"
ginko_nodes: 15
cli_version: "latest"
test: "e2e"
debug_mode: "false"

0 comments on commit ded1196

Please sign in to comment.