Skip to content

Commit b0b2fa6

Browse files
committed
chore(database): change deis to drycc
1 parent 89cb370 commit b0b2fa6

15 files changed

Lines changed: 86 additions & 105 deletions

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# How to Contribute
22

3-
This project is part of Deis. You can find the latest contribution
4-
guidelines [at the Deis project](https://github.com/teamhephy/deis/blob/master/CONTRIBUTING.md).
3+
This project is part of Drycc. You can find the latest contribution
4+
guidelines [at the Drycc project](https://github.com/drycc/drycc/blob/master/CONTRIBUTING.md).
55

MAINTAINERS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Deis Maintainers
1+
# Drycc Maintainers
22

3-
This project is part of Deis. The official maintainers documentation is
4-
located [in the main project](https://github.com/teamhephy/deis/blob/master/MAINTAINERS.md).
3+
This project is part of Drycc. The official maintainers documentation is
4+
located [in the main project](https://github.com/drycc/drycc/blob/master/MAINTAINERS.md).

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
# - Docker image name
44
# - Kubernetes service, rc, pod, secret, volume names
55
SHORT_NAME := postgres
6-
DEIS_REGISTY ?= ${DEV_REGISTRY}/
7-
IMAGE_PREFIX ?= deis
6+
DRYCC_REGISTRY ?= ${DEV_REGISTRY}
7+
IMAGE_PREFIX ?= drycc
88

99
include versioning.mk
1010

1111
SHELL_SCRIPTS = $(wildcard _scripts/*.sh contrib/ci/*.sh rootfs/bin/*backup) rootfs/bin/is_running
1212

1313
# The following variables describe the containerized development environment
1414
# and other build options
15-
DEV_ENV_IMAGE := quay.io/deis/go-dev:0.20.0
15+
DEV_ENV_IMAGE := quay.io/drycc/go-dev:v0.22.0
1616
DEV_ENV_WORK_DIR := /go/src/${REPO_PATH}
1717
DEV_ENV_CMD := docker run --rm -v ${CURDIR}:${DEV_ENV_WORK_DIR} -w ${DEV_ENV_WORK_DIR} ${DEV_ENV_IMAGE}
1818
DEV_ENV_CMD_INT := docker run -it --rm -v ${CURDIR}:${DEV_ENV_WORK_DIR} -w ${DEV_ENV_WORK_DIR} ${DEV_ENV_IMAGE}

README.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11

2-
# Hephy Postgres
2+
# Drycc Postgres
33

4-
Hephy - A Fork of Deis Workflow
4+
Drycc - A Fork of Drycc Workflow
55

6-
[![Build Status](https://ci.deis.io/job/postgres/badge/icon)](https://ci.deis.io/job/postgres)
7-
[![Docker Repository on Quay](https://quay.io/repository/deis/postgres/status "Docker Repository on Quay")](https://quay.io/repository/deis/postgres)
6+
[![Build Status](https://ci.drycc.cc/job/postgres/badge/icon)](https://ci.drycc.cc/job/postgres)
7+
[![Docker Repository on Quay](https://quay.io/repository/drycc/postgres/status "Docker Repository on Quay")](https://quay.io/repository/drycc/postgres)
88

9-
Deis (pronounced DAY-iss) Workflow is an open source Platform as a Service (PaaS) that adds a developer-friendly layer to any [Kubernetes](http://kubernetes.io) cluster, making it easy to deploy and manage applications on your own servers.
9+
Drycc (pronounced DAY-iss) Workflow is an open source Platform as a Service (PaaS) that adds a developer-friendly layer to any [Kubernetes](http://kubernetes.io) cluster, making it easy to deploy and manage applications on your own servers.
1010

11-
For more information about the Deis Workflow, please visit the main project page at https://github.com/teamhephy/workflow.
11+
For more information about the Drycc Workflow, please visit the main project page at https://github.com/drycc/workflow.
1212

1313
We welcome your input! If you have feedback, please submit an [issue][issues]. If you'd like to participate in development, please read the "Development" section below and submit a [pull request][prs].
1414

1515
# About
1616

17-
This component is a PostgreSQL database for use in Kubernetes. It builds on the official [postgres](https://registry.hub.docker.com/_/postgres/) Docker image. While it's intended for use inside of the Deis Workflow open source [PaaS](https://en.wikipedia.org/wiki/Platform_as_a_service), it's flexible enough to be used as a standalone pod on any Kubernetes cluster or even as a standalone Docker container.
17+
This component is a PostgreSQL database for use in Kubernetes. It builds on the official [postgres](https://registry.hub.docker.com/_/postgres/) Docker image. While it's intended for use inside of the Drycc Workflow open source [PaaS](https://en.wikipedia.org/wiki/Platform_as_a_service), it's flexible enough to be used as a standalone pod on any Kubernetes cluster or even as a standalone Docker container.
1818

1919
# Development
2020

21-
The Deis project welcomes contributions from all developers. The high level process for development matches many other open source projects. See below for an outline.
21+
The Drycc project welcomes contributions from all developers. The high level process for development matches many other open source projects. See below for an outline.
2222

2323
- Fork this repository
2424
- Make your changes
2525
- Submit a [pull request][prs] (PR) to this repository with your changes, and unit tests whenever possible
2626
- If your PR fixes any [issues][issues], make sure you write Fixes #1234 in your PR description (where #1234 is the number of the issue you're closing)
27-
- The Deis core contributors will review your code. After each of them sign off on your code, they'll label your PR with LGTM1 and LGTM2 (respectively). Once that happens, a contributor will merge it
27+
- The Drycc core contributors will review your code. After each of them sign off on your code, they'll label your PR with LGTM1 and LGTM2 (respectively). Once that happens, a contributor will merge it
2828

2929
## Prerequisites
3030

31-
In order to develop and test this component in a Deis cluster, you'll need the following:
31+
In order to develop and test this component in a Drycc cluster, you'll need the following:
3232

3333
* [GNU Make](https://www.gnu.org/software/make/)
3434
* [Docker](https://www.docker.com/) installed, configured and running
@@ -37,27 +37,27 @@ In order to develop and test this component in a Deis cluster, you'll need the f
3737

3838
## Testing Your Code
3939

40-
Once you have all the aforementioned prerequisites, you are ready to start writing code. Once you've finished building a new feature or fixed a bug, please write a unit or integration test for it if possible. See [an existing test](https://github.com/teamhephy/postgres/blob/master/contrib/ci/test.sh) for an example test.
40+
Once you have all the aforementioned prerequisites, you are ready to start writing code. Once you've finished building a new feature or fixed a bug, please write a unit or integration test for it if possible. See [an existing test](https://github.com/drycc/postgres/blob/master/contrib/ci/test.sh) for an example test.
4141

42-
If your feature or bugfix doesn't easily lend itself to unit/integration testing, you may need to add tests at a higher level. Please consider adding a test to our [end-to-end test suite](https://github.com/teamhephy/workflow-e2e) in that case. If you do, please reference the end-to-end test pull request in your pull request for this repository.
42+
If your feature or bugfix doesn't easily lend itself to unit/integration testing, you may need to add tests at a higher level. Please consider adding a test to our [end-to-end test suite](https://github.com/drycc/workflow-e2e) in that case. If you do, please reference the end-to-end test pull request in your pull request for this repository.
4343

4444
### Dogfooding
4545

4646
Finally, we encourage you to [dogfood](https://en.wikipedia.org/wiki/Eating_your_own_dog_food) this component while you're writing code on it. To do so, you'll need to build and push Docker images with your changes.
4747

48-
This project has a [Makefile](https://github.com/teamhephy/postgres/blob/master/Makefile) that makes these tasks significantly easier. It requires the following environment variables to be set:
48+
This project has a [Makefile](https://github.com/drycc/postgres/blob/master/Makefile) that makes these tasks significantly easier. It requires the following environment variables to be set:
4949

50-
* `DEIS_REGISTRY` - A Docker registry that you have push access to and your Kubernetes cluster can pull from
50+
* `DRYCC_REGISTRY` - A Docker registry that you have push access to and your Kubernetes cluster can pull from
5151
* If this is [Docker Hub](https://hub.docker.com/), leave this variable empty
5252
* Otherwise, ensure it has a trailing `/`. For example, if you're using [Quay.io](https://quay.io), use `quay.io/`
53-
* `IMAGE_PREFIX` - The organization in the Docker repository. This defaults to `deis`, but if you don't have access to that organization, set this to one you have push access to.
53+
* `IMAGE_PREFIX` - The organization in the Docker repository. This defaults to `drycc`, but if you don't have access to that organization, set this to one you have push access to.
5454
* `SHORT_NAME` (optional) - The name of the image. This defaults to `postgres`
5555
* `VERSION` (optional) - The tag of the Docker image. This defaults to the current Git SHA (the output of `git rev-parse --short HEAD`)
5656

5757
Assuming you have these variables set correctly, run `make docker-build` to build the new image, and `make docker-push` to push it. Here is an example command that would push to `quay.io/arschles/postgres:devel`:
5858

5959
```console
60-
export DEIS_REGISTRY=quay.io/
60+
export DRYCC_REGISTRY=quay.io/
6161
export IMAGE_PREFIX=arschles
6262
export VERSION=devel
6363
make docker-build docker-push
@@ -66,7 +66,7 @@ make docker-build docker-push
6666
Note that you'll have to push your image to a Docker repository (`make docker-push`) in order for your Kubernetes cluster to pull the image. This is important for testing in your cluster.
6767

6868

69-
[issues]: https://github.com/teamhephy/postgres/issues
69+
[issues]: https://github.com/drycc/postgres/issues
7070
[k8s-docs]: http://kubernetes.io/docs
71-
[prs]: https://github.com/teamhephy/postgres/pulls
72-
[v2.18]: https://github.com/teamhephy/workflow/releases/tag/v2.18.0
71+
[prs]: https://github.com/drycc/postgres/pulls
72+
[v2.18]: https://github.com/drycc/workflow/releases/tag/v2.18.0

charts/database/Chart.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: database
2-
home: https://github.com/teamhephy/postgres
2+
home: https://github.com/drycc/postgres
33
version: <Will be populated by the ci before publishing the chart>
4-
description: A PostgreSQL database used by Deis Workflow.
4+
description: A PostgreSQL database used by Drycc Workflow.
55
keywords:
66
- database
77
- postgres
88
maintainers:
9-
- name: Deis Team
10-
email: engineering@deis.com
9+
- name: Drycc Team
10+
email: engineering@drycc.com

charts/database/templates/database-deployment.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,26 @@
22
apiVersion: extensions/v1beta1
33
kind: Deployment
44
metadata:
5-
name: deis-database
5+
name: drycc-database
66
labels:
7-
heritage: deis
7+
heritage: drycc
88
annotations:
9-
component.deis.io/version: {{ .Values.docker_tag }}
9+
component.drycc.cc/version: {{ .Values.docker_tag }}
1010
spec:
1111
replicas: 1
1212
strategy:
1313
type: Recreate
1414
selector:
1515
matchLabels:
16-
app: deis-database
16+
app: drycc-database
1717
template:
1818
metadata:
1919
labels:
20-
app: deis-database
20+
app: drycc-database
2121
spec:
22-
serviceAccount: deis-database
22+
serviceAccount: drycc-database
2323
containers:
24-
- name: deis-database
24+
- name: drycc-database
2525
image: quay.io/{{.Values.org}}/postgres:{{.Values.docker_tag}}
2626
imagePullPolicy: {{.Values.pull_policy}}
2727
ports:
@@ -56,9 +56,9 @@ spec:
5656
timeoutSeconds: 1
5757
volumeMounts:
5858
- name: database-creds
59-
mountPath: /var/run/secrets/deis/database/creds
59+
mountPath: /var/run/secrets/drycc/database/creds
6060
- name: objectstore-creds
61-
mountPath: /var/run/secrets/deis/objectstore/creds
61+
mountPath: /var/run/secrets/drycc/objectstore/creds
6262
volumes:
6363
- name: database-creds
6464
secret:

charts/database/templates/database-secret-creds.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ kind: Secret
33
metadata:
44
name: database-creds
55
labels:
6-
app: deis-database
7-
heritage: deis
6+
app: drycc-database
7+
heritage: drycc
88
annotations:
99
"helm.sh/hook": pre-install
1010
data: {{ if eq .Values.global.database_location "on-cluster"}}

charts/database/templates/database-service-account.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
apiVersion: v1
33
kind: ServiceAccount
44
metadata:
5-
name: deis-database
5+
name: drycc-database
66
labels:
7-
heritage: deis
7+
heritage: drycc
88
{{- end }}

charts/database/templates/database-service.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
apiVersion: v1
33
kind: Service
44
metadata:
5-
name: deis-database
5+
name: drycc-database
66
labels:
7-
heritage: deis
7+
heritage: drycc
88
spec:
99
ports:
1010
- name: postgres
1111
port: 5432
1212
selector:
13-
app: deis-database
13+
app: drycc-database
1414
{{- end }}

charts/database/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
org: "deisci"
1+
org: "drycc"
22
pull_policy: "Always"
33
docker_tag: canary
44
# limits_cpu: "100m"

0 commit comments

Comments
 (0)