Skip to content

Commit

Permalink
chore(workflow-rc2): releasing workflow-rc2(-e2e) and router-rc2
Browse files Browse the repository at this point in the history
  • Loading branch information
krancour committed Jun 2, 2016
1 parent fd4b17c commit be9c5eb
Show file tree
Hide file tree
Showing 59 changed files with 1,405 additions and 0 deletions.
17 changes: 17 additions & 0 deletions router-rc2/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: router-rc2
home: https://github.com/deis/router
version: v2.0.0-rc2
description: For testing only!
maintainers:
- Deis Team <engineering@deis.com>
details: |-
WARNING: this chart is for testing only! Features may not work and there are likely to be bugs.
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.
5 changes: 5 additions & 0 deletions router-rc2/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Deis Router 2.0.0-rc2

WARNING: this chart is for testing only! Features may not work and there are likely to be bugs.

Please report any issues to https://github.com/deis/router
8 changes: 8 additions & 0 deletions router-rc2/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-rc2/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-rc2/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-rc2/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
52 changes: 52 additions & 0 deletions router-rc2/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: 1
selector:
app: deis-router
template:
metadata:
labels:
app: deis-router
spec:
serviceAccount: deis-router
containers:
- name: deis-router
image: quay.io/{{.router.org}}/router:{{.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-rc2/tpl/generate_params.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[router]
org = "deisci"
pullPolicy = "IfNotPresent"
dockerTag = "v2.0.0-rc2"
platformDomain = ""
13 changes: 13 additions & 0 deletions workflow-rc2-e2e/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: workflow-rc2-e2e
home: https://github.com/deis/workflow-e2e
version: v2.0.0-rc2
description: |-
End-to-end tests for Deis Workflow, executed in parallel
maintainers:
- Deis Team <engineering@deis.com>
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-rc2-e2e/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Workflow 2.0.0-rc2 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-rc2-e2e ; helmc install workflow-rc2-e2e
$ kubectl --namespace=deis logs -f workflow-rc2-e2e tests
```
Empty file.
4 changes: 4 additions & 0 deletions workflow-rc2-e2e/tpl/generate_params.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[e2e]
org = "deisci"
dockerTag = "v2.0.0-rc2"
pullPolicy = "IfNotPresent"
32 changes: 32 additions & 0 deletions workflow-rc2-e2e/tpl/workflow-e2e-pod.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#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: workflow-rc2-e2e
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"
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: {}
11 changes: 11 additions & 0 deletions workflow-rc2/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: workflow-rc2
home: https://github.com/deis/workflow
version: v2.0.0-rc2
description: For testing only!
maintainers:
- Deis Team <engineering@deis.com>
details: |-
WARNING: this chart is for testing only! Features may not work, and there are likely to be bugs.
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.
18 changes: 18 additions & 0 deletions workflow-rc2/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Workflow 2.0.0-rc2

WARNING: this chart is for testing only! Features may not work, and there are likely to be bugs.

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
- registry: https://github.com/deis/registry
- router: https://github.com/deis/router
- stdout-metrics: https://github.com/deis/stdout-metrics
- workflow manager: https://github.com/deis/workflow-manager
7 changes: 7 additions & 0 deletions workflow-rc2/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
14 changes: 14 additions & 0 deletions workflow-rc2/manifests/deis-builder-service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: v1
kind: Service
metadata:
name: deis-builder
namespace: deis
labels:
heritage: deis
spec:
ports:
- name: ssh
port: 2222
targetPort: 2223
selector:
app: deis-builder
7 changes: 7 additions & 0 deletions workflow-rc2/manifests/deis-controller-service-account.yaml
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
19 changes: 19 additions & 0 deletions workflow-rc2/manifests/deis-controller-service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
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"
spec:
ports:
- name: http
port: 80
targetPort: 8000
selector:
app: deis-controller
7 changes: 7 additions & 0 deletions workflow-rc2/manifests/deis-database-service-account.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: deis-database
namespace: deis
labels:
heritage: deis
13 changes: 13 additions & 0 deletions workflow-rc2/manifests/deis-database-service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: v1
kind: Service
metadata:
name: deis-database
namespace: deis
labels:
heritage: deis
spec:
ports:
- name: postgres
port: 5432
selector:
app: deis-database
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-rc2/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
20 changes: 20 additions & 0 deletions workflow-rc2/manifests/deis-logger-svc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
apiVersion: v1
kind: Service
metadata:
name: deis-logger
namespace: deis
labels:
heritage: deis
app: deis-logger
spec:
ports:
- port: 80
name: http
targetPort: http
- port: 514
name: transport
targetPort: 1514
protocol: UDP
selector:
app: deis-logger

20 changes: 20 additions & 0 deletions workflow-rc2/manifests/deis-monitor-grafana-svc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
apiVersion: v1
kind: Service
metadata:
name: deis-monitor-grafana
namespace: deis
labels:
heritage: deis
app: deis-monitor-grafana
router.deis.io/routable: "true"
annotations:
router.deis.io/domains: grafana
router.deis.io/connectTimeout: "10"
router.deis.io/tcpTimeout: "1200"
spec:
ports:
- port: 80
name: ui
targetPort: ui
selector:
app: deis-monitor-grafana
20 changes: 20 additions & 0 deletions workflow-rc2/manifests/deis-monitor-influxdb-api-svc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
apiVersion: v1
kind: Service
metadata:
name: deis-monitor-influxapi
namespace: deis
labels:
heritage: deis
app: deis-monitor-influxapi
router.deis.io/routable: "true"
annotations:
router.deis.io/domains: influxapi
router.deis.io/connectTimeout: "10"
router.deis.io/tcpTimeout: "1200"
spec:
ports:
- port: 80
name: transport
targetPort: transport
selector:
app: deis-monitor-influxdb
Loading

0 comments on commit be9c5eb

Please sign in to comment.