Skip to content

Commit 03ea4a5

Browse files
committed
chore(registry): change deis to drycc
1 parent 5aa9203 commit 03ea4a5

10 files changed

Lines changed: 64 additions & 64 deletions

File tree

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,21 @@ SHORT_NAME := registry
77
include includes.mk versioning.mk
88

99
# the filepath to this repository, relative to $GOPATH/src
10-
REPO_PATH = github.com/deis/registry
10+
REPO_PATH = github.com/drycc/registry
1111

1212
SHELL_SCRIPTS = $(wildcard _scripts/*.sh contrib/ci/*.sh)
1313

1414
# The following variables describe the containerized development environment
1515
# and other build options
16-
DEV_ENV_IMAGE := quay.io/deis/go-dev:0.20.0
16+
DEV_ENV_IMAGE := quay.io/drycc/go-dev:v0.22.0
1717
DEV_ENV_WORK_DIR := /go/src/${REPO_PATH}
1818
DEV_ENV_PREFIX := docker run --rm -v ${CURDIR}:${DEV_ENV_WORK_DIR} -w ${DEV_ENV_WORK_DIR}
1919
DEV_ENV_CMD := ${DEV_ENV_PREFIX} ${DEV_ENV_IMAGE}
2020
LDFLAGS := "-s -w -X main.version=${VERSION}"
2121
BINDIR := ./rootfs/opt/registry/sbin
2222

23-
# Legacy support for DEV_REGISTRY, plus new support for DEIS_REGISTRY.
24-
DEIS_REGISTRY ?= ${DEV_REGISTRY}
23+
# Legacy support for DEV_REGISTRY, plus new support for DRYCC_REGISTRY.
24+
DRYCC_REGISTRY ?= ${DEV_REGISTRY}
2525

2626
ifeq ($(STORAGE_TYPE),)
2727
STORAGE_TYPE = fs
@@ -52,6 +52,6 @@ test-style:
5252
${DEV_ENV_CMD} shellcheck $(SHELL_SCRIPTS)
5353

5454
deploy: check-kubectl docker-build docker-push
55-
kubectl --namespace=deis patch deployment deis-$(SHORT_NAME) --type='json' -p='[{"op": "replace", "path": "/spec/template/spec/containers/0/image", "value":"$(IMAGE)"}]'
55+
kubectl --namespace=drycc patch deployment drycc-$(SHORT_NAME) --type='json' -p='[{"op": "replace", "path": "/spec/template/spec/containers/0/image", "value":"$(IMAGE)"}]'
5656

5757
.PHONY: all build build-binary docker-build test test-style deploy

README.md

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

2-
|![](https://upload.wikimedia.org/wikipedia/commons/thumb/1/17/Warning.svg/156px-Warning.svg.png) | Deis Workflow will soon no longer be maintained.<br />Please [read the announcement](https://deis.com/blog/2017/deis-workflow-final-release/) for more detail. |
2+
|![](https://upload.wikimedia.org/wikipedia/commons/thumb/1/17/Warning.svg/156px-Warning.svg.png) | Drycc Workflow will soon no longer be maintained.<br />Please [read the announcement](https://drycc.com/blog/2017/drycc-workflow-final-release/) for more detail. |
33
|---:|---|
4-
| 09/07/2017 | Deis Workflow [v2.18][] final release before entering maintenance mode |
4+
| 09/07/2017 | Drycc Workflow [v2.18][] final release before entering maintenance mode |
55
| 03/01/2018 | End of Workflow maintenance: critical patches no longer merged |
66

7-
# Deis Registry v2
7+
# Drycc Registry v2
88

9-
[![Build Status](https://ci.deis.io/job/registry/badge/icon)](https://ci.deis.io/job/registry)
10-
[![Go Report Card](https://goreportcard.com/badge/github.com/deis/registry)](https://goreportcard.com/report/github.com/deis/registry)
11-
[![Docker Repository on Quay](https://quay.io/repository/deisci/registry/status "Docker Repository on Quay")](https://quay.io/repository/deisci/registry)
9+
[![Build Status](https://ci.drycc.cc/job/registry/badge/icon)](https://ci.drycc.cc/job/registry)
10+
[![Go Report Card](https://goreportcard.com/badge/github.com/drycc/registry)](https://goreportcard.com/report/github.com/drycc/registry)
11+
[![Docker Repository on Quay](https://quay.io/repository/drycc/registry/status "Docker Repository on Quay")](https://quay.io/repository/drycc/registry)
1212

1313

14-
Deis (pronounced DAY-iss) is an open source PaaS that makes it easy to deploy and manage
15-
applications on your own servers. Deis builds on [Kubernetes](http://kubernetes.io/) to provide
14+
Drycc (pronounced DAY-iss) is an open source PaaS that makes it easy to deploy and manage
15+
applications on your own servers. Drycc builds on [Kubernetes](http://kubernetes.io/) to provide
1616
a lightweight, [Heroku-inspired](http://heroku.com) workflow.
1717

1818
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].
1919

2020
# About
2121

22-
The registry is a [Docker registry](https://docs.docker.com/registry/) component for use in Kubernetes. While it's intended for use inside of the Deis 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.
22+
The registry is a [Docker registry](https://docs.docker.com/registry/) component for use in Kubernetes. While it's intended for use inside of the Drycc 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.
2323

2424
If you decide to use this component standalone, you can host your own Docker registry in your own Kubernetes cluster.
2525

2626
The Docker image that this repository builds is based on [the official Docker v2 registry image](https://github.com/docker/distribution).
2727

2828
# Development
2929

30-
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.
30+
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.
3131

3232
* Fork this repository
3333
* Make your changes
3434
* Submit a pull request (PR) to this repository with your changes, and unit tests whenever possible.
3535
* If your PR fixes any issues, make sure you write Fixes #1234 in your PR description (where #1234 is the number of the issue you're closing)
36-
* 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, the contributors will merge it
36+
* 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, the contributors will merge it
3737

3838
## Deploying
3939

40-
If you want to use the latest registry image built by they Deis team you can simply start a registry via `make deploy`.
40+
If you want to use the latest registry image built by they Drycc team you can simply start a registry via `make deploy`.
4141

4242
If however, you want to build and use a custom image see the instructions below.
4343

@@ -49,7 +49,7 @@ To build a dev release of this image, you will also need a registry to hold the
4949
First, configure your environment to point to the registry location.
5050

5151
```console
52-
$ export DEIS_REGISTRY=myregistry.com:5000 # or quay.io, if using Dockerhub, leave this unset
52+
$ export DRYCC_REGISTRY=myregistry.com:5000 # or quay.io, if using Dockerhub, leave this unset
5353
$ export IMAGE_PREFIX=youruser/ # if using Quay or Dockerhub
5454
```
5555

@@ -65,6 +65,6 @@ To deploy the image via patching the registry deployment run:
6565
$ make deploy
6666
```
6767

68-
[issues]: https://github.com/deisthree/registry/issues
69-
[prs]: https://github.com/deisthree/registry/pulls
70-
[v2.18]: https://github.com/deisthree/workflow/releases/tag/v2.18.0
68+
[issues]: https://github.com/drycc/registry/issues
69+
[prs]: https://github.com/drycc/registry/pulls
70+
[v2.18]: https://github.com/drycc/workflow/releases/tag/v2.18.0

charts/registry/Chart.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: registry
2-
home: https://github.com/deisthree/registry
2+
home: https://github.com/drycc/registry
33
version: <Will be populated by the ci before publishing the chart>
4-
description: Docker registry for Deis Workflow.
4+
description: Docker registry for Drycc Workflow.
55
maintainers:
6-
- name: Deis Team
7-
email: engineering@deis.com
6+
- name: Drycc Team
7+
email: engineering@drycc.com

charts/registry/templates/registry-deployment.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
apiVersion: extensions/v1beta1
33
kind: Deployment
44
metadata:
5-
name: deis-registry
5+
name: drycc-registry
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:
@@ -16,15 +16,15 @@ spec:
1616
type: RollingUpdate
1717
selector:
1818
matchLabels:
19-
app: deis-registry
19+
app: drycc-registry
2020
template:
2121
metadata:
2222
labels:
23-
app: deis-registry
23+
app: drycc-registry
2424
spec:
25-
serviceAccount: deis-registry
25+
serviceAccount: drycc-registry
2626
containers:
27-
- name: deis-registry
27+
- name: drycc-registry
2828
image: quay.io/{{.Values.org}}/registry:{{.Values.docker_tag}}
2929
imagePullPolicy: {{.Values.pull_policy}}
3030
{{- if or (.Values.limits_cpu) (.Values.limits_memory)}}
@@ -62,7 +62,7 @@ spec:
6262
- name: registry-storage
6363
mountPath: /var/lib/registry
6464
- name: objectstorage-creds
65-
mountPath: /var/run/secrets/deis/registry/creds
65+
mountPath: /var/run/secrets/drycc/registry/creds
6666
volumes:
6767
- name: registry-storage
6868
emptyDir: {}

charts/registry/templates/registry-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-registry
5+
name: drycc-registry
66
labels:
7-
heritage: deis
7+
heritage: drycc
88
{{- end }}

charts/registry/templates/registry-service.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
apiVersion: v1
33
kind: Service
44
metadata:
5-
name: deis-registry
5+
name: drycc-registry
66
labels:
7-
heritage: deis
7+
heritage: drycc
88
spec:
99
ports:
1010
- name: http
1111
port: 80
1212
targetPort: 5000
1313
selector:
14-
app: deis-registry
14+
app: drycc-registry
1515
sessionAffinity: ClientIP
1616
{{- end }}

charts/registry/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"

main.go

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import (
1111
const (
1212
registryBinary = "/bin/registry"
1313
registryConfig = "/etc/docker/registry/config.yml"
14-
minioHostEnvVar = "DEIS_MINIO_SERVICE_HOST"
15-
minioPortEnvVar = "DEIS_MINIO_SERVICE_PORT"
14+
minioHostEnvVar = "DRYCC_MINIO_SERVICE_HOST"
15+
minioPortEnvVar = "DRYCC_MINIO_SERVICE_PORT"
1616
command = "serve"
1717
)
1818

@@ -21,19 +21,19 @@ func main() {
2121
storageType := getenv("REGISTRY_STORAGE", "filesystem")
2222
if storageType == "gcs" {
2323
log.Println("INFO: using google cloud storage as the backend")
24-
if _, err := os.Stat("/var/run/secrets/deis/registry/creds/key.json"); err != nil {
24+
if _, err := os.Stat("/var/run/secrets/drycc/registry/creds/key.json"); err != nil {
2525
log.Fatal("Service account not given")
2626
}
27-
os.Setenv("REGISTRY_STORAGE_GCS_KEYFILE", "/var/run/secrets/deis/registry/creds/key.json")
28-
if bucket, err := ioutil.ReadFile("/var/run/secrets/deis/registry/creds/registry-bucket"); err != nil {
27+
os.Setenv("REGISTRY_STORAGE_GCS_KEYFILE", "/var/run/secrets/drycc/registry/creds/key.json")
28+
if bucket, err := ioutil.ReadFile("/var/run/secrets/drycc/registry/creds/registry-bucket"); err != nil {
2929
log.Fatal(err)
3030
} else {
3131
os.Setenv("REGISTRY_STORAGE_GCS_BUCKET", string(bucket))
3232
os.Setenv("BUCKET_NAME", string(bucket))
3333
}
3434
} else if storageType == "s3" {
3535
log.Println("INFO: using s3 as the backend")
36-
if accesskey, err := ioutil.ReadFile("/var/run/secrets/deis/registry/creds/accesskey"); err != nil {
36+
if accesskey, err := ioutil.ReadFile("/var/run/secrets/drycc/registry/creds/accesskey"); err != nil {
3737
log.Fatal(err)
3838
} else {
3939
os.Setenv("REGISTRY_STORAGE_S3_ACCESSKEY", string(accesskey))
@@ -42,7 +42,7 @@ func main() {
4242
}
4343
}
4444

45-
if secretkey, err := ioutil.ReadFile("/var/run/secrets/deis/registry/creds/secretkey"); err != nil {
45+
if secretkey, err := ioutil.ReadFile("/var/run/secrets/drycc/registry/creds/secretkey"); err != nil {
4646
log.Fatal(err)
4747
} else {
4848
os.Setenv("REGISTRY_STORAGE_S3_SECRETKEY", string(secretkey))
@@ -51,34 +51,34 @@ func main() {
5151
}
5252
}
5353

54-
if region, err := ioutil.ReadFile("/var/run/secrets/deis/registry/creds/region"); err != nil {
54+
if region, err := ioutil.ReadFile("/var/run/secrets/drycc/registry/creds/region"); err != nil {
5555
log.Fatal(err)
5656
} else {
5757
os.Setenv("REGISTRY_STORAGE_S3_REGION", string(region))
5858
os.Setenv("AWS_REGION", string(region))
5959
}
6060

61-
if bucket, err := ioutil.ReadFile("/var/run/secrets/deis/registry/creds/registry-bucket"); err != nil {
61+
if bucket, err := ioutil.ReadFile("/var/run/secrets/drycc/registry/creds/registry-bucket"); err != nil {
6262
log.Fatal(err)
6363
} else {
6464
os.Setenv("REGISTRY_STORAGE_S3_BUCKET", string(bucket))
6565
os.Setenv("BUCKET_NAME", string(bucket))
6666
}
6767
} else if storageType == "azure" {
6868
log.Println("INFO: using azure as the backend")
69-
if accountname, err := ioutil.ReadFile("/var/run/secrets/deis/registry/creds/accountname"); err != nil {
69+
if accountname, err := ioutil.ReadFile("/var/run/secrets/drycc/registry/creds/accountname"); err != nil {
7070
log.Fatal(err)
7171
} else {
7272
os.Setenv("REGISTRY_STORAGE_AZURE_ACCOUNTNAME", string(accountname))
7373
}
7474

75-
if accountkey, err := ioutil.ReadFile("/var/run/secrets/deis/registry/creds/accountkey"); err != nil {
75+
if accountkey, err := ioutil.ReadFile("/var/run/secrets/drycc/registry/creds/accountkey"); err != nil {
7676
log.Fatal(err)
7777
} else {
7878
os.Setenv("REGISTRY_STORAGE_AZURE_ACCOUNTKEY", string(accountkey))
7979
}
8080

81-
if container, err := ioutil.ReadFile("/var/run/secrets/deis/registry/creds/registry-container"); err != nil {
81+
if container, err := ioutil.ReadFile("/var/run/secrets/drycc/registry/creds/registry-container"); err != nil {
8282
log.Fatal(err)
8383
} else {
8484
os.Setenv("REGISTRY_STORAGE_AZURE_CONTAINER", string(container))
@@ -97,14 +97,14 @@ func main() {
9797
os.Setenv("S3_PORT", mPort)
9898
os.Setenv("S3_USE_SIGV4", "true")
9999

100-
if accesskey, err := ioutil.ReadFile("/var/run/secrets/deis/registry/creds/accesskey"); err != nil {
100+
if accesskey, err := ioutil.ReadFile("/var/run/secrets/drycc/registry/creds/accesskey"); err != nil {
101101
log.Fatal(err)
102102
} else {
103103
os.Setenv("REGISTRY_STORAGE_S3_ACCESSKEY", string(accesskey))
104104
os.Setenv("AWS_ACCESS_KEY_ID", string(accesskey))
105105
}
106106

107-
if secretkey, err := ioutil.ReadFile("/var/run/secrets/deis/registry/creds/secretkey"); err != nil {
107+
if secretkey, err := ioutil.ReadFile("/var/run/secrets/drycc/registry/creds/secretkey"); err != nil {
108108
log.Fatal(err)
109109
} else {
110110
os.Setenv("REGISTRY_STORAGE_S3_SECRETKEY", string(secretkey))
@@ -118,38 +118,38 @@ func main() {
118118

119119
} else if storageType == "swift" {
120120
log.Println("INFO: using swift as the backend")
121-
if authurl, err := ioutil.ReadFile("/var/run/secrets/deis/registry/creds/authurl"); err != nil {
121+
if authurl, err := ioutil.ReadFile("/var/run/secrets/drycc/registry/creds/authurl"); err != nil {
122122
log.Fatal(err)
123123
} else {
124124
os.Setenv("REGISTRY_STORAGE_SWIFT_AUTHURL", string(authurl))
125125
}
126126

127-
if username, err := ioutil.ReadFile("/var/run/secrets/deis/registry/creds/username"); err != nil {
127+
if username, err := ioutil.ReadFile("/var/run/secrets/drycc/registry/creds/username"); err != nil {
128128
log.Fatal(err)
129129
} else {
130130
os.Setenv("REGISTRY_STORAGE_SWIFT_USERNAME", string(username))
131131
}
132132

133-
if password, err := ioutil.ReadFile("/var/run/secrets/deis/registry/creds/password"); err != nil {
133+
if password, err := ioutil.ReadFile("/var/run/secrets/drycc/registry/creds/password"); err != nil {
134134
log.Fatal(err)
135135
} else {
136136
os.Setenv("REGISTRY_STORAGE_SWIFT_PASSWORD", string(password))
137137
}
138138

139-
if container, err := ioutil.ReadFile("/var/run/secrets/deis/registry/creds/registry-container"); err != nil {
139+
if container, err := ioutil.ReadFile("/var/run/secrets/drycc/registry/creds/registry-container"); err != nil {
140140
log.Fatal(err)
141141
} else {
142142
os.Setenv("REGISTRY_STORAGE_SWIFT_CONTAINER", string(container))
143143
os.Setenv("BUCKET_NAME", string(container))
144144
}
145145

146-
if authVersion, err := ioutil.ReadFile("/var/run/secrets/deis/registry/creds/authversion"); err != nil {
146+
if authVersion, err := ioutil.ReadFile("/var/run/secrets/drycc/registry/creds/authversion"); err != nil {
147147
log.Fatal(err)
148148
} else {
149149
os.Setenv("REGISTRY_STORAGE_SWIFT_AUTHVERSION", string(authVersion))
150150
}
151151

152-
if tenant, err := ioutil.ReadFile("/var/run/secrets/deis/registry/creds/tenant"); err != nil {
152+
if tenant, err := ioutil.ReadFile("/var/run/secrets/drycc/registry/creds/tenant"); err != nil {
153153
log.Fatal(err)
154154
} else {
155155
os.Setenv("REGISTRY_STORAGE_SWIFT_TENANT", string(tenant))

rootfs/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ RUN buildDeps='gcc git linux-headers musl-dev python3-dev' && \
1010
apk add --no-cache $buildDeps && \
1111
# "upgrade" boto to 2.43.0 + the patch to fix minio connections
1212
pip install --disable-pip-version-check --no-cache-dir --upgrade \
13-
git+https://github.com/teamhephy/boto@abb38474ee5124bb571da0c42be67cd27c47094f \
13+
git+https://github.com/drycc/boto@abb38474ee5124bb571da0c42be67cd27c47094f \
1414
azure==1.0.3 \
1515
gcloud==0.18.3 \
1616
python-swiftclient==3.1.0 \

versioning.mk

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
MUTABLE_VERSION ?= canary
22
VERSION ?= git-$(shell git rev-parse --short HEAD)
3-
IMAGE_PREFIX ?= deis
3+
IMAGE_PREFIX ?= drycc
44

5-
IMAGE := ${DEIS_REGISTRY}${IMAGE_PREFIX}/${SHORT_NAME}:${VERSION}
6-
MUTABLE_IMAGE := ${DEIS_REGISTRY}${IMAGE_PREFIX}/${SHORT_NAME}:${MUTABLE_VERSION}
5+
IMAGE := ${DRYCC_REGISTRY}${IMAGE_PREFIX}/${SHORT_NAME}:${VERSION}
6+
MUTABLE_IMAGE := ${DRYCC_REGISTRY}${IMAGE_PREFIX}/${SHORT_NAME}:${MUTABLE_VERSION}
77

88
info:
99
@echo "Build tag: ${VERSION}"
10-
@echo "Registry: ${DEIS_REGISTRY}"
10+
@echo "Registry: ${DRYCC_REGISTRY}"
1111
@echo "Immutable tag: ${IMAGE}"
1212
@echo "Mutable tag: ${MUTABLE_IMAGE}"
1313

0 commit comments

Comments
 (0)