Skip to content

Commit

Permalink
chore(workflow-v2.9.0): releasing workflow-v2.9.0(-e2e)
Browse files Browse the repository at this point in the history
  • Loading branch information
mboersma committed Dec 5, 2016
1 parent 933bc0e commit 0fbd407
Show file tree
Hide file tree
Showing 80 changed files with 2,981 additions and 0 deletions.
15 changes: 15 additions & 0 deletions router-v2.9.0/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: router-v2.9.0
home: https://github.com/deis/router
version: v2.9.0
description: Deis Router
maintainers:
- Deis Team <[email protected]>
details: |-
The Deis Router is a simple program that manages Nginx and Nginx configuration for managing
ingress to web applications in a Kubernetes cluster without requiring each to have their own
external (to the cluster) load balancer. Router(s) will require a single external load balancer,
handle all ingress, and direct all incoming traffic to appropriate services within the cluster.
Router works by regularly querying the Kubernetes API for services labeled with
`router.deis.io/routable: "true"`. Such services are compared to known services resident in
memory. If there are differences, new Nginx configuration is generated and Nginx is reloaded.
3 changes: 3 additions & 0 deletions router-v2.9.0/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Deis Router v2.9.0

Please report any issues to https://github.com/deis/router
8 changes: 8 additions & 0 deletions router-v2.9.0/manifests/deis-namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: v1
kind: Namespace
metadata:
name: deis
labels:
heritage: deis
annotations:
helm-keep: "true"
10 changes: 10 additions & 0 deletions router-v2.9.0/manifests/deis-router-dhparam-secret.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: v1
kind: Secret
metadata:
name: deis-router-dhparam
namespace: deis
labels:
heritage: deis
type: Opaque
data:
dhparam: LS0tLS1CRUdJTiBESCBQQVJBTUVURVJTLS0tLS0KTUlJQkNBS0NBUUVBNGJPMlpCOTRYVVh3YjlSL0QxM0xFZ2d6V1U2Y0hZSXJzakdseVhUSkZHZmdsaFl5TUtnUQpKRXFsTjd5RWs0UUNVV25iTEtDU2F4anZCTVNqbWlTR3VvajNWRDlYRTVDaGx2SzlGQVp6alFGMFZ2VzdkNDJmCnNkNmlmcUYwSUV0R2lxWDRpTzhtWmhYZVJrc3BYekZXYkhyTklaanBCdmc5VDhmczY0ZCtDU2l2SXBqWWRVQ1UKQWRhNTViRDdLeWJkTWdJMFZza21jL3RpclN5SkIwZDVmUnYraG1vMW9pOG92Rm9vUFp2cS9HWGxPOHlRRzRZTgppWXdWYmU5c29wQ3lYNzEzaUtlM0pBQ29JWnUxZXgrRjVhbU53U3E3Rk9xb2JqK3Z2cURRM0Q2WEJaanczT3NuClFRWmVhTWYyMDVwOERWbFpWLzRqQUtQeEpUQkxyejh6c3dJQkFnPT0KLS0tLS1FTkQgREggUEFSQU1FVEVSUy0tLS0tCg==
7 changes: 7 additions & 0 deletions router-v2.9.0/manifests/deis-router-service-account.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: deis-router
namespace: deis
labels:
heritage: deis
26 changes: 26 additions & 0 deletions router-v2.9.0/manifests/deis-router-service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
apiVersion: v1
kind: Service
metadata:
name: deis-router
namespace: deis
labels:
heritage: deis
annotations:
helm-keep: "true"
spec:
type: LoadBalancer
selector:
app: deis-router
ports:
- name: http
port: 80
targetPort: 8080
- name: https
port: 443
targetPort: 6443
- name: builder
port: 2222
targetPort: 2222
- name: healthz
port: 9090
targetPort: 9090
59 changes: 59 additions & 0 deletions router-v2.9.0/tpl/deis-router-deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
#helm:generate helm tpl -d $HELM_GENERATE_DIR/tpl/generate_params.toml -o $HELM_GENERATE_DIR/manifests/deis-router-deployment.yaml $HELM_GENERATE_DIR/tpl/deis-router-deployment.yaml
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: deis-router
namespace: deis
labels:
heritage: deis
annotations:
helm-keep: "true"
{{- if ne .router.platformDomain "" }}
router.deis.io/nginx.platformDomain: {{ .router.platformDomain }}
{{- end }}
spec:
replicas: 1
strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
type: RollingUpdate
selector:
matchLabels:
app: deis-router
template:
metadata:
labels:
app: deis-router
spec:
serviceAccount: deis-router
containers:
- name: deis-router
image: quay.io/{{.router.org}}/router:{{env "ROUTER_GIT_TAG" | default .router.dockerTag}}
imagePullPolicy: {{.router.pullPolicy}}
env:
- name: POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
ports:
- containerPort: 8080
hostPort: 80
- containerPort: 6443
hostPort: 443
- containerPort: 2222
hostPort: 2222
- containerPort: 9090
hostPort: 9090
livenessProbe:
httpGet:
path: /healthz
port: 9090
initialDelaySeconds: 10
timeoutSeconds: 1
readinessProbe:
httpGet:
path: /healthz
port: 9090
initialDelaySeconds: 1
timeoutSeconds: 1
52 changes: 52 additions & 0 deletions router-v2.9.0/tpl/deis-router-rc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
#helm:generate helm tpl -d $HELM_GENERATE_DIR/tpl/generate_params.toml -o $HELM_GENERATE_DIR/manifests/deis-router-rc.yaml $HELM_GENERATE_DIR/tpl/deis-router-rc.yaml
apiVersion: v1
kind: ReplicationController
metadata:
name: deis-router
namespace: deis
labels:
heritage: deis
{{- if ne .router.platformDomain "" }}
annotations:
router.deis.io/nginx.platformDomain: {{ .router.platformDomain }}
{{- end }}
spec:
replicas: 0
selector:
app: deis-router-deprecated
template:
metadata:
labels:
app: deis-router-deprecated
spec:
serviceAccount: deis-router
containers:
- name: deis-router
image: quay.io/{{.router.org}}/router:{{env "ROUTER_GIT_TAG" | default .router.dockerTag}}
imagePullPolicy: {{.router.pullPolicy}}
env:
- name: POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
ports:
- containerPort: 8080
hostPort: 80
- containerPort: 6443
hostPort: 443
- containerPort: 2222
hostPort: 2222
- containerPort: 9090
hostPort: 9090
livenessProbe:
httpGet:
path: /healthz
port: 9090
initialDelaySeconds: 1
timeoutSeconds: 1
readinessProbe:
httpGet:
path: /healthz
port: 9090
initialDelaySeconds: 1
timeoutSeconds: 1
5 changes: 5 additions & 0 deletions router-v2.9.0/tpl/generate_params.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[router]
org = "deis"
dockerTag = "v2.7.0"
pullPolicy = "IfNotPresent"
platformDomain = ""
13 changes: 13 additions & 0 deletions workflow-v2.9.0-e2e/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: workflow-v2.9.0-e2e
home: https://github.com/deis/workflow-e2e
version: v2.9.0
description: |-
End-to-end tests for Deis Workflow, executed in parallel
maintainers:
- Deis Team <[email protected]>
details: |-
End-to-end tests for the Deis Workflow open source PaaS, executed in parallel.
Deis (pronounced DAY-iss) Workflow is an open source PaaS that makes it easy to deploy
and manage applications on your own servers. Workflow builds on Kubernetes to provide a
lightweight, Heroku-inspired workflow.
12 changes: 12 additions & 0 deletions workflow-v2.9.0-e2e/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Workflow v2.9.0 e2e Tests (parallel)

End-to-end tests for the Deis Workflow open source PaaS, executed in parallel.

NOTE: This assumes a fresh `helmc install` of Deis v2. The test suite creates
an initial user with admin privileges (who is deleted when tests complete).
See https://github.com/deis/workflow-e2e for more detail.

```console
$ helmc uninstall -n deis -y workflow-v2.9.0-e2e ; helmc install workflow-v2.9.0-e2e
$ kubectl --namespace=deis logs -f workflow-v2.9.0-e2e tests
```
Empty file.
30 changes: 30 additions & 0 deletions workflow-v2.9.0-e2e/manifests/spotify-gc-daemon.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
name: deis-spotify-gc
namespace: deis
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
5 changes: 5 additions & 0 deletions workflow-v2.9.0-e2e/tpl/generate_params.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[e2e]
org = "deis"
dockerTag = "v2.7.1"
pullPolicy = "IfNotPresent"
podName = "workflow-v2.9.0-e2e"
41 changes: 41 additions & 0 deletions workflow-v2.9.0-e2e/tpl/workflow-e2e-pod.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#helm:generate helm template -o $HELM_GENERATE_DIR/manifests/workflow-e2e-pod.yaml -d $HELM_GENERATE_DIR/tpl/generate_params.toml $HELM_GENERATE_DIR/tpl/workflow-e2e-pod.yaml
apiVersion: v1
kind: Pod
metadata:
name: {{.e2e.podName}}
namespace: deis
labels:
heritage: deis
spec:
restartPolicy: Never
containers:
- name: tests
image: quay.io/{{.e2e.org}}/workflow-e2e:{{env "WORKFLOW_E2E_GIT_TAG" | default .e2e.dockerTag}}
imagePullPolicy: {{.e2e.pullPolicy}}
env:
- name: GINKGO_NODES
value: "{{env "GINKGO_NODES" | default 15}}"
- name: JUNIT
value: "true"
- name: CLI_VERSION
value: "{{env "CLI_VERSION" | default "latest"}}"
# set TEST env variable to run appropriate tests in e2e suite
- name: TEST
value: "{{env "TEST" | default "e2e"}}"
{{ if env "DEBUG_MODE" }}
- name: DEBUG_MODE
value: "true"
{{ end }}
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: {}
9 changes: 9 additions & 0 deletions workflow-v2.9.0/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: workflow-v2.9.0
home: https://github.com/deis/workflow
version: v2.9.0
description: Deis Workflow
maintainers:
- Deis Team <[email protected]>
details: |-
Workflow is an open source PaaS that makes it easy to deploy and manage applications on your own
servers. Workflow builds on Kubernetes to provide a lightweight, Heroku-inspired workflow.
16 changes: 16 additions & 0 deletions workflow-v2.9.0/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Workflow v2.9.0

Please report any issues you find in testing Workflow to the appropriate GitHub repository:
- builder: https://github.com/deis/builder
- chart: https://github.com/deis/charts
- controller: https://github.com/deis/controller
- database: https://github.com/deis/postgres
- fluentd: https://github.com/deis/fluentd
- helm classic: https://github.com/helm/helm-classic
- logger: https://github.com/deis/logger
- minio: https://github.com/deis/minio
- monitor: https://github.com/deis/monitor
- nsq: https://github.com/deis/nsq
- registry: https://github.com/deis/registry
- router: https://github.com/deis/router
- workflow manager: https://github.com/deis/workflow-manager
7 changes: 7 additions & 0 deletions workflow-v2.9.0/manifests/deis-builder-service-account.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: deis-builder
namespace: deis
labels:
heritage: deis
16 changes: 16 additions & 0 deletions workflow-v2.9.0/manifests/deis-builder-service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: v1
kind: Service
metadata:
name: deis-builder
namespace: deis
labels:
heritage: deis
annotations:
helm-keep: "true"
spec:
ports:
- name: ssh
port: 2222
targetPort: 2223
selector:
app: deis-builder
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: deis-controller
namespace: deis
labels:
heritage: deis
20 changes: 20 additions & 0 deletions workflow-v2.9.0/manifests/deis-controller-service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
apiVersion: v1
kind: Service
metadata:
name: deis-controller
namespace: deis
labels:
heritage: deis
router.deis.io/routable: "true"
annotations:
router.deis.io/domains: deis
router.deis.io/connectTimeout: "10"
router.deis.io/tcpTimeout: "1200"
helm-keep: "true"
spec:
ports:
- name: http
port: 80
targetPort: 8000
selector:
app: deis-controller
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: deis-logger-fluentd
namespace: deis
labels:
heritage: deis
7 changes: 7 additions & 0 deletions workflow-v2.9.0/manifests/deis-logger-service-account.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: deis-logger
namespace: deis
labels:
heritage: deis
Loading

0 comments on commit 0fbd407

Please sign in to comment.