Skip to content

Commit 6c99dbc

Browse files
committed
chore(controller-sdk-go): change deis to drycc
1 parent a1ffb48 commit 6c99dbc

50 files changed

Lines changed: 486 additions & 486 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
FROM hephy/go-dev:v0.21.0
1+
FROM drycc/go-dev:v0.22.0
22
# This Dockerfile is used to bundle the source and all dependencies into an image for testing.
33

44
ADD https://codecov.io/bash /usr/local/bin/codecov
55
RUN chmod +x /usr/local/bin/codecov
66

7-
COPY glide.yaml /go/src/github.com/teamhephy/controller-sdk-go/
8-
COPY glide.lock /go/src/github.com/teamhephy/controller-sdk-go/
7+
COPY glide.yaml /go/src/github.com/drycc/controller-sdk-go/
8+
COPY glide.lock /go/src/github.com/drycc/controller-sdk-go/
99

10-
WORKDIR /go/src/github.com/teamhephy/controller-sdk-go
10+
WORKDIR /go/src/github.com/drycc/controller-sdk-go
1111

1212
RUN glide install --strip-vendor
1313

1414
COPY ./_scripts /usr/local/bin
1515

16-
COPY . /go/src/github.com/teamhephy/controller-sdk-go
16+
COPY . /go/src/github.com/drycc/controller-sdk-go

Jenkinsfile

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ def sh = { cmd ->
55
}
66

77
// Disabling until we have a more sustainable Windows Jenkins Agent plan
8-
// See https://github.com/teamhephy/jenkins-jobs/issues/351
8+
// See https://github.com/drycc/jenkins-jobs/issues/351
99
// node('windows') {
1010
// def gopath = pwd() + "\\gopath"
1111
// env.GOPATH = gopath
12-
// def workdir = gopath + "\\src\\github.com\\teamhephy\\controller-sdk-go"
12+
// def workdir = gopath + "\\src\\github.com\\drycc\\controller-sdk-go"
1313
//
1414
// def pscmd = { String cmd ->
1515
// "powershell -NoProfile -ExecutionPolicy Bypass -Command \"${cmd}\""
@@ -49,13 +49,13 @@ node('linux') {
4949
}
5050
}
5151

52-
def test_image = "quay.io/deisci/controller-sdk-go-dev:${git_commit.take(7)}"
52+
def test_image = "quay.io/drycc/controller-sdk-go-dev:${git_commit.take(7)}"
5353

5454
node('linux') {
5555
stage 'Build and push test container'
5656
checkout scm
57-
def quayUsername = "deisci+jenkins"
58-
def quayEmail = "deis+jenkins@deis.com"
57+
def quayUsername = "drycc+jenkins"
58+
def quayEmail = "drycc+jenkins@drycc.com"
5959
withCredentials([[$class: 'StringBinding',
6060
credentialsId: 'c67dc0a1-c8c4-4568-a73d-53ad8530ceeb',
6161
variable: 'QUAY_PASSWORD']]) {
@@ -95,7 +95,7 @@ node('linux') {
9595
stage 'Build and Upload CLI built with SDK'
9696

9797
def gcs_bucket = "gs://workflow-cli-pr"
98-
def wcli_image = 'quay.io/deisci/workflow-cli-dev:latest'
98+
def wcli_image = 'quay.io/drycc/workflow-cli-dev:latest'
9999

100100

101101
def upload_artifacts = { String dist_dir ->
@@ -127,7 +127,7 @@ def mktmp = {
127127
}
128128

129129
node('linux') {
130-
def author = "teamhephy"
130+
def author = "drycc"
131131
def flags = ""
132132

133133
if (git_branch != "master") {
@@ -139,14 +139,14 @@ node('linux') {
139139
def tmp_dir = mktmp()
140140
def dist_dir = "-e DIST_DIR=/upload -v ${tmp_dir}:/upload"
141141

142-
def pattern = "github\\.com\\/teamhephy\\/controller-sdk-go\\n\\s+version:\\s+[a-f0-9]+"
143-
def replacement = "github\\.com\\/teamhephy\\/controller-sdk-go\\n"
142+
def pattern = "github\\.com\\/drycc\\/controller-sdk-go\\n\\s+version:\\s+[a-f0-9]+"
143+
def replacement = "github\\.com\\/drycc\\/controller-sdk-go\\n"
144144
replacement += " repo: https:\\/\\/github\\.com\\/${author}\\/controller-sdk-go\\.git\\n"
145145
replacement += " vcs: git\\n"
146146
replacement += " version: ${git_commit}"
147147

148148
def build_script = "sh -c 'perl -i -0pe \"s/${pattern}/${replacement}/\" glide.yaml "
149-
build_script += "&& rm -rf glide.lock vendor/github.com/teamhephy/controller-sdk-go "
149+
build_script += "&& rm -rf glide.lock vendor/github.com/drycc/controller-sdk-go "
150150
build_script += "&& glide install "
151151
build_script += "&& make build-revision'"
152152
sh "docker pull ${wcli_image}"
@@ -188,7 +188,7 @@ Commit: ${env.CHANGE_TITLE}<br/>
188188
<p><a href="${env.BUILD_URL}input/">Click here</a> to restart e2e.</p>
189189
</div>
190190
</html>
191-
""", from: 'jenkins@ci.deis.io', subject: 'Controller-sdk-go E2E Test Failure', to: env.SLACKEMAIL, mimeType: 'text/html'
191+
""", from: 'jenkins@ci.drycc.cc', subject: 'Controller-sdk-go E2E Test Failure', to: env.SLACKEMAIL, mimeType: 'text/html'
192192
}
193193
input "Retry the e2e tests?"
194194
}

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# the filepath to this repository, relative to $GOPATH/src
2-
repo_path = github.com/teamhephy/controller-sdk-go
2+
repo_path = github.com/drycc/controller-sdk-go
33

44
REVISION ?= $(shell git rev-parse --short HEAD)
55
REGISTRY ?= quay.io/
6-
IMAGE_PREFIX ?= deisci
6+
IMAGE_PREFIX ?= drycc
77
IMAGE := ${REGISTRY}${IMAGE_PREFIX}/controller-sdk-go-dev:${REVISION}
88

99
test-style: build-test-image

README.md

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

2-
|![](https://upload.wikimedia.org/wikipedia/commons/thumb/4/4c/Anchor_pictogram_yellow.svg/156px-Anchor_pictogram_yellow.svg.png) | Hephy Workflow is the open source fork of Deis Workflow.<br />Please [go here](https://www.teamhephy.com/) for more detail. |
2+
|![](https://upload.wikimedia.org/wikipedia/commons/thumb/4/4c/Anchor_pictogram_yellow.svg/156px-Anchor_pictogram_yellow.svg.png) | Drycc Workflow is the open source fork of Drycc Workflow.<br />Please [go here](https://www.drycc.com/) for more detail. |
33
|---:|---|
4-
| 08/27/2018 | Team Hephy [blog][] comes online |
5-
| 08/20/2018 | Deis [#community slack][] goes dark |
6-
| 08/10/2018 | Hephy Workflow [v2.19.4][] fourth patch release |
7-
| 08/08/2018 | [Deis website][] goes dark, then redirects to Azure Kubernetes Service |
8-
| 08/01/2018 | Hephy Workflow [v2.19.3][] third patch release |
9-
| 07/17/2018 | Hephy Workflow [v2.19.2][] second patch release |
10-
| 07/12/2018 | Hephy Workflow [v2.19.1][] first patch release |
11-
| 06/29/2018 | Hephy Workflow [v2.19.0][] first release in the open source fork of Deis |
12-
| 06/16/2018 | Hephy Workflow [v2.19][] series is announced |
13-
| 03/01/2018 | End of Deis Workflow maintenance: critical patches no longer merged |
14-
| 12/11/2017 | Team Hephy [slack community][] invites first volunteers |
15-
| 09/07/2017 | Deis Workflow [v2.18][] final release before entering maintenance mode |
16-
| 09/06/2017 | Team Hephy [slack community][] comes online |
4+
| 08/27/2018 | Team Drycc [blog][] comes online |
5+
| 08/20/2018 | Drycc [#community slack][] goes dark |
6+
| 08/10/2018 | Drycc Workflow [v2.19.4][] fourth patch release |
7+
| 08/08/2018 | [Drycc website][] goes dark, then redirects to Azure Kubernetes Service |
8+
| 08/01/2018 | Drycc Workflow [v2.19.3][] third patch release |
9+
| 07/17/2018 | Drycc Workflow [v2.19.2][] second patch release |
10+
| 07/12/2018 | Drycc Workflow [v2.19.1][] first patch release |
11+
| 06/29/2018 | Drycc Workflow [v2.19.0][] first release in the open source fork of Drycc |
12+
| 06/16/2018 | Drycc Workflow [v2.19][] series is announced |
13+
| 03/01/2018 | End of Drycc Workflow maintenance: critical patches no longer merged |
14+
| 12/11/2017 | Team Drycc [slack community][] invites first volunteers |
15+
| 09/07/2017 | Drycc Workflow [v2.18][] final release before entering maintenance mode |
16+
| 09/06/2017 | Team Drycc [slack community][] comes online |
1717

1818
# Controller Go SDK
19-
[![Build Status](https://ci.deis.io/buildStatus/icon?job=Deis/controller-sdk-go/master)](https://ci.deis.io/job/Deis/job/controller-sdk-go/job/master/)
20-
[![codecov](https://codecov.io/gh/deis/controller-sdk-go/branch/master/graph/badge.svg)](https://codecov.io/gh/deis/controller-sdk-go)
21-
[![Go Report Card](https://goreportcard.com/badge/github.com/teamhephy/controller-sdk-go)](https://goreportcard.com/report/github.com/teamhephy/controller-sdk-go)
22-
[![codebeat badge](https://codebeat.co/badges/2fdee091-714d-4860-ab19-dba7587a3158)](https://codebeat.co/projects/github-com-deis-controller-sdk-go)
23-
[![GoDoc](https://godoc.org/github.com/teamhephy/controller-sdk-go?status.svg)](https://godoc.org/github.com/teamhephy/controller-sdk-go)
19+
[![Build Status](https://ci.drycc.cc/buildStatus/icon?job=Drycc/controller-sdk-go/master)](https://ci.drycc.cc/job/Drycc/job/controller-sdk-go/job/master/)
20+
[![codecov](https://codecov.io/gh/drycc/controller-sdk-go/branch/master/graph/badge.svg)](https://codecov.io/gh/drycc/controller-sdk-go)
21+
[![Go Report Card](https://goreportcard.com/badge/github.com/drycc/controller-sdk-go)](https://goreportcard.com/report/github.com/drycc/controller-sdk-go)
22+
[![codebeat badge](https://codebeat.co/badges/2fdee091-714d-4860-ab19-dba7587a3158)](https://codebeat.co/projects/github-com-drycc-controller-sdk-go)
23+
[![GoDoc](https://godoc.org/github.com/drycc/controller-sdk-go?status.svg)](https://godoc.org/github.com/drycc/controller-sdk-go)
2424

25-
This is the Go SDK for interacting with the [Hephy Controller](https://github.com/teamhephy/controller).
25+
This is the Go SDK for interacting with the [Drycc Controller](https://github.com/drycc/controller).
2626

2727
### Usage
2828

2929
```go
30-
import deis "github.com/teamhephy/controller-sdk-go"
31-
import "github.com/teamhephy/controller-sdk-go/apps"
30+
import drycc "github.com/drycc/controller-sdk-go"
31+
import "github.com/drycc/controller-sdk-go/apps"
3232
```
3333

34-
Construct a deis client to interact with the controller API. Then, get the first 100 apps the user has access to.
34+
Construct a drycc client to interact with the controller API. Then, get the first 100 apps the user has access to.
3535

3636
```go
3737
// Verify SSL, Controller URL, API Token
38-
client, err := deis.New(true, "deis.test.io", "abc123")
38+
client, err := drycc.New(true, "drycc.test.io", "abc123")
3939
if err != nil {
4040
log.Fatal(err)
4141
}
@@ -48,15 +48,15 @@ if err != nil {
4848
### Authentication
4949

5050
```go
51-
import deis "github.com/teamhephy/controller-sdk-go"
52-
import "github.com/teamhephy/controller-sdk-go/auth"
51+
import drycc "github.com/drycc/controller-sdk-go"
52+
import "github.com/drycc/controller-sdk-go/auth"
5353
```
5454

5555
If you don't already have a token for a user, you can retrieve one with a username and password.
5656

5757
```go
5858
// Create a client with a blank token to pass to login.
59-
client, err := deis.New(true, "deis.test.io", "")
59+
client, err := drycc.New(true, "drycc.test.io", "")
6060
if err != nil {
6161
log.Fatal(err)
6262
}
@@ -68,22 +68,22 @@ if err != nil {
6868
client.Token = token
6969
```
7070

71-
For a complete usage guide to the SDK, see [full package documentation](https://godoc.org/github.com/teamhephy/controller-sdk-go).
71+
For a complete usage guide to the SDK, see [full package documentation](https://godoc.org/github.com/drycc/controller-sdk-go).
7272

73-
[v2.18]: https://github.com/teamhephy/workflow/releases/tag/v2.18.0
73+
[v2.18]: https://github.com/drycc/workflow/releases/tag/v2.18.0
7474
[k8s-home]: http://kubernetes.io
7575
[install-k8s]: http://kubernetes.io/gettingstarted/
7676
[mkdocs]: http://www.mkdocs.org/
77-
[issues]: https://github.com/teamhephy/workflow/issues
78-
[prs]: https://github.com/teamhephy/workflow/pulls
79-
[Deis website]: http://deis.com/
80-
[blog]: https://blog.teamhephy.info/blog/
81-
[#community slack]: https://slack.deis.io/
82-
[slack community]: https://slack.teamhephy.com/
83-
[v2.18]: https://github.com/teamhephy/workflow/releases/tag/v2.18.0
84-
[v2.19]: https://web.teamhephy.com
77+
[issues]: https://github.com/drycc/workflow/issues
78+
[prs]: https://github.com/drycc/workflow/pulls
79+
[Drycc website]: http://drycc.com/
80+
[blog]: https://blog.drycc.info/blog/
81+
[#community slack]: https://slack.drycc.cc/
82+
[slack community]: https://slack.drycc.com/
83+
[v2.18]: https://github.com/drycc/workflow/releases/tag/v2.18.0
84+
[v2.19]: https://web.drycc.com
8585
[v2.19.0]: https://gist.github.com/Cryptophobia/24c204583b18b9fc74c629fb2b62dfa3/revisions
86-
[v2.19.1]: https://github.com/teamhephy/workflow/releases/tag/v2.19.1
87-
[v2.19.2]: https://github.com/teamhephy/workflow/releases/tag/v2.19.2
88-
[v2.19.3]: https://github.com/teamhephy/workflow/releases/tag/v2.19.3
89-
[v2.19.4]: https://github.com/teamhephy/workflow/releases/tag/v2.19.4
86+
[v2.19.1]: https://github.com/drycc/workflow/releases/tag/v2.19.1
87+
[v2.19.2]: https://github.com/drycc/workflow/releases/tag/v2.19.2
88+
[v2.19.3]: https://github.com/drycc/workflow/releases/tag/v2.19.3
89+
[v2.19.4]: https://github.com/drycc/workflow/releases/tag/v2.19.4

api/certs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package api
22

3-
import "github.com/teamhephy/controller-sdk-go/pkg/time"
3+
import "github.com/drycc/controller-sdk-go/pkg/time"
44

55
// Cert is the definition of the cert object.
66
// Some fields are omtempty because they are only

api/config_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ TCP Socket Probe: N/A`)
2424
h.HTTPGet = &HTTPGetProbe{
2525
Path: "/",
2626
Port: 80,
27-
HTTPHeaders: []*KVPair{{Name: "X-DEIS-IS", Value: "AWESOME"}},
27+
HTTPHeaders: []*KVPair{{Name: "X-DRYCC-IS", Value: "AWESOME"}},
2828
}
2929

3030
expected = strings.TrimSpace(`Initial Delay (seconds): 0
@@ -33,7 +33,7 @@ Period (seconds): 0
3333
Success Threshold: 0
3434
Failure Threshold: 0
3535
Exec Probe: N/A
36-
HTTP GET Probe: Path="/" Port=80 HTTPHeaders=[X-DEIS-IS=AWESOME]
36+
HTTP GET Probe: Path="/" Port=80 HTTPHeaders=[X-DRYCC-IS=AWESOME]
3737
TCP Socket Probe: N/A`)
3838

3939
if strings.TrimSpace(h.String()) != expected {
@@ -52,7 +52,7 @@ Period (seconds): 0
5252
Success Threshold: 0
5353
Failure Threshold: 0
5454
Exec Probe: Command=[echo hi]
55-
HTTP GET Probe: Path="/" Port=80 HTTPHeaders=[X-DEIS-IS=AWESOME]
55+
HTTP GET Probe: Path="/" Port=80 HTTPHeaders=[X-DRYCC-IS=AWESOME]
5656
TCP Socket Probe: Port=80`)
5757

5858
if strings.TrimSpace(h.String()) != expected {

api/ps.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package api
22

3-
import "github.com/teamhephy/controller-sdk-go/pkg/time"
3+
import "github.com/drycc/controller-sdk-go/pkg/time"
44

55
// ProcessType represents the key/value mappings of a process type to a process inside
66
// a Heroku Procfile.

api/ps_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"sort"
55
"testing"
66

7-
"github.com/teamhephy/controller-sdk-go/pkg/time"
7+
"github.com/drycc/controller-sdk-go/pkg/time"
88
)
99

1010
func TestPodsListSorted(t *testing.T) {

api/users_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ func TestUserString(t *testing.T) {
99
user := User{
1010
ID: 1,
1111
Username: "bacongobbler",
12-
Email: "matthewf@deis.com",
12+
Email: "matthewf@drycc.com",
1313
FirstName: "Matthew",
1414
LastName: "Fisher",
1515
LastLogin: "Yesterday",
@@ -21,7 +21,7 @@ func TestUserString(t *testing.T) {
2121

2222
expected := `ID: 1
2323
Username: bacongobbler
24-
Email: matthewf@deis.com
24+
Email: matthewf@drycc.com
2525
First Name: Matthew
2626
Last Name: Fisher
2727
Last Login: Yesterday

0 commit comments

Comments
 (0)