Skip to content

Commit ded1196

Browse files
authored
Merge pull request #332 from kmala/charts
feat(charts): Add helm charts for workflow-e2e
2 parents c6c316f + bf3a560 commit ded1196

4 files changed

Lines changed: 81 additions & 0 deletions

File tree

charts/workflow-e2e/Chart.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
name: workflow-e2e
2+
home: https://github.com/deis/workflow-e2e
3+
version: <Will be populated by the ci before publishing the chart>
4+
description: End-to-end tests for Deis Workflow, executed in parallel.
5+
maintainers:
6+
- name: Deis Team
7+
email: engineering@deis.com
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
apiVersion: extensions/v1beta1
2+
kind: DaemonSet
3+
metadata:
4+
name: deis-spotify-gc
5+
labels:
6+
heritage: deis
7+
spec:
8+
selector:
9+
matchLabels:
10+
app: deis-spotify-gc
11+
heritage: deis
12+
template:
13+
metadata:
14+
name: deis-spotify-gc
15+
labels:
16+
heritage: deis
17+
app: deis-spotify-gc
18+
spec:
19+
containers:
20+
- name: deis-spotify-gc
21+
image: spotify/docker-gc:latest
22+
imagePullPolicy: Always
23+
volumeMounts:
24+
- mountPath: /var/run/docker.sock
25+
name: docker-socket
26+
volumes:
27+
- name: docker-socket
28+
hostPath:
29+
path: /var/run/docker.sock
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
apiVersion: v1
2+
kind: Pod
3+
metadata:
4+
name: {{.Values.pod_name}}
5+
labels:
6+
heritage: deis
7+
spec:
8+
restartPolicy: Never
9+
containers:
10+
- name: tests
11+
image: quay.io/{{.Values.org}}/workflow-e2e:{{.Values.docker_tag}}
12+
imagePullPolicy: {{.Values.pull_policy}}
13+
env:
14+
- name: GINKGO_NODES
15+
value: "{{.Values.ginko_nodes}}"
16+
- name: JUNIT
17+
value: "true"
18+
- name: CLI_VERSION
19+
value: "{{.Values.cli_version}}"
20+
# set TEST env variable to run appropriate tests in e2e suite
21+
- name: TEST
22+
value: "{{.Values.test}}"
23+
- name: DEBUG_MODE
24+
value: {{.Values.debug_mode}}
25+
volumeMounts:
26+
- name: artifact-volume
27+
mountPath: /root
28+
- name: artifacts
29+
image: busybox
30+
imagePullPolicy: Always
31+
command: ["tail", "-f", "/dev/null"]
32+
volumeMounts:
33+
- name: artifact-volume
34+
mountPath: /root
35+
volumes:
36+
- name: artifact-volume
37+
emptyDir: {}

charts/workflow-e2e/values.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
org: "deisci"
2+
docker_tag: "canary"
3+
pull_policy: "Always"
4+
pod_name: "workflow-dev-e2e"
5+
ginko_nodes: 15
6+
cli_version: "latest"
7+
test: "e2e"
8+
debug_mode: "false"

0 commit comments

Comments
 (0)