Skip to content

Commit ae3740f

Browse files
committed
Merge branch 'master' into feature/procfile-structure-on-app
2 parents d93fb51 + 7010764 commit ae3740f

16 files changed

+39
-39
lines changed

.github/PULL_REQUEST_TEMPLATE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ requires deis/workflow#1234
44
requires deis/workflow-e2e#5678
55

66

7-
[docs]: https://github.com/deis/workflow
8-
[e2e]: https://github.com/deis/workflow-e2e
7+
[docs]: https://github.com/deisthree/workflow
8+
[e2e]: https://github.com/deisthree/workflow-e2e

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
sudo: required
2+
3+
services:
4+
- docker
5+
6+
script:
7+
make test

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ test-functional:
5858
@echo "Implement functional tests in _tests directory"
5959

6060
test-integration:
61-
@echo "Check https://github.com/deis/workflow-e2e for the complete integration test suite"
61+
@echo "Check https://github.com/deisthree/workflow-e2e for the complete integration test suite"
6262

6363
upload-coverage:
6464
$(eval CI_ENV := $(shell curl -s https://codecov.io/env | bash))

README.md

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
# Deis Controller
23

34
[![Build Status](https://ci.deis.io/job/controller/badge/icon)](https://ci.deis.io/job/controller)
@@ -7,7 +8,7 @@
78

89
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.
910

10-
For more information about the Deis Workflow, please visit the main project page at https://github.com/deis/workflow.
11+
For more information about the Deis Workflow, please visit the main project page at https://github.com/deisthree/workflow.
1112

1213
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].
1314

@@ -75,17 +76,9 @@ After the `make deploy` finishes, a new pod will be launched but may not be runn
7576
kubectl get pod --namespace=deis -w | grep deis-controller
7677
```
7778

78-
## License
79-
80-
Copyright 2013, 2014, 2015, 2016 Engine Yard, Inc.
81-
82-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at <http://www.apache.org/licenses/LICENSE-2.0>
83-
84-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
85-
86-
8779
[install-k8s]: https://kubernetes.io/docs/setup/pick-right-solution
88-
[issues]: https://github.com/deis/controller/issues
89-
[prs]: https://github.com/deis/controller/pulls
90-
[workflow]: https://github.com/deis/workflow
80+
[issues]: https://github.com/deisthree/controller/issues
81+
[prs]: https://github.com/deisthree/controller/pulls
82+
[workflow]: https://github.com/deisthree/workflow
9183
[Docker]: https://www.docker.com/
84+
[v2.18]: https://github.com/deisthree/workflow/releases/tag/v2.18.0

charts/controller/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: controller
2-
home: https://github.com/deis/controller
2+
home: https://github.com/deisthree/controller
33
version: <Will be populated by the ci before publishing the chart>
44
description: Deis Workflow Controller (API).
55
maintainers:

rootfs/api/serializers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ def validate_values(self, data):
247247
if key == 'HEALTHCHECK_URL':
248248
# Only Path information is supported, not query / anchor or anything else
249249
# Path is the only thing Kubernetes supports right now
250-
# See https://github.com/deis/controller/issues/774
250+
# See https://github.com/deisthree/controller/issues/774
251251
uri = urlparse(value)
252252

253253
if not uri.path:

rootfs/api/tests/test_app_settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ def test_settings_labels(self, mock_requests):
276276
base_labels = {
277277
'label':
278278
{
279-
'git_repo': 'https://github.com/deis/controller',
279+
'git_repo': 'https://github.com/deisthree/controller',
280280
'team': 'frontend',
281281
'empty': ''
282282
}

rootfs/api/tests/test_auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,5 +378,5 @@ def test_regenerate(self):
378378
def test_auth_no_ldap_by_default(self, mock_logger):
379379
"""Ensure that LDAP authentication is disabled by default."""
380380
self.test_auth()
381-
# NOTE(bacongobbler): Using https://github.com/deis/controller/issues/1189 as a test case
381+
# NOTE(bacongobbler): Using https://github.com/deisthree/controller/issues/1189 as a test case
382382
mock_logger.warning.assert_not_called()

rootfs/api/tests/test_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ def test_admin_can_create_config_on_other_apps(self, mock_requests):
342342
def test_config_owner_is_requesting_user(self, mock_requests):
343343
"""
344344
Ensure that setting the config value is owned by the requesting user
345-
See https://github.com/deis/deis/issues/2650
345+
See https://github.com/deisthree/deis/issues/2650
346346
"""
347347
response = self.test_admin_can_create_config_on_other_apps()
348348
self.assertEqual(response.data['owner'], self.user.username)

rootfs/api/tests/test_domain.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ def test_delete_domain_does_not_exist(self):
237237
self.assertEqual(response.status_code, 404)
238238

239239
def test_delete_domain_does_not_remove_latest(self):
240-
"""https://github.com/deis/deis/issues/3239"""
240+
"""https://github.com/deisthree/deis/issues/3239"""
241241
url = '/v2/apps/{app_id}/domains'.format(app_id=self.app_id)
242242
test_domains = [
243243
'test-domain.example.com',
@@ -255,7 +255,7 @@ def test_delete_domain_does_not_remove_latest(self):
255255
Domain.objects.get(domain=test_domains[0])
256256

257257
def test_delete_domain_does_not_remove_others(self):
258-
"""https://github.com/deis/deis/issues/3475"""
258+
"""https://github.com/deisthree/deis/issues/3475"""
259259
self.test_delete_domain_does_not_remove_latest()
260260
self.assertEqual(Domain.objects.all().count(), 2)
261261

rootfs/api/tests/test_limits.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def test_request_limit_memory(self, mock_requests):
6464
self.assertEqual(response.status_code, 200, response.data)
6565
self.assertIn('memory', response.data)
6666
self.assertEqual(response.data['memory'], {})
67-
# regression test for https://github.com/deis/deis/issues/1563
67+
# regression test for https://github.com/deisthree/deis/issues/1563
6868
self.assertNotIn('"', response.data['memory'])
6969

7070
# set an initial limit
@@ -105,7 +105,7 @@ def test_request_limit_memory(self, mock_requests):
105105
self.assertIn('web', memory)
106106
self.assertEqual(memory['web'], '1G')
107107

108-
# regression test for https://github.com/deis/deis/issues/1613
108+
# regression test for https://github.com/deisthree/deis/issues/1613
109109
# ensure that config:set doesn't wipe out previous limits
110110
body = {'values': json.dumps({'NEW_URL2': 'http://localhost:8080/'})}
111111
response = self.client.post(url, body)
@@ -193,7 +193,7 @@ def test_request_limit_cpu(self, mock_requests):
193193
self.assertEqual(response.status_code, 200, response.data)
194194
self.assertIn('cpu', response.data)
195195
self.assertEqual(response.data['cpu'], {})
196-
# regression test for https://github.com/deis/deis/issues/1563
196+
# regression test for https://github.com/deisthree/deis/issues/1563
197197
self.assertNotIn('"', response.data['cpu'])
198198

199199
# set an initial limit

rootfs/api/tests/test_pods.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ def test_container_str(self, mock_requests):
325325
self.assertRegex(pod['name'], app_id + '-(worker|web)-[0-9]{8,10}-[a-z0-9]{5}')
326326

327327
def test_pod_command_format(self, mock_requests):
328-
# regression test for https://github.com/deis/deis/pull/1285
328+
# regression test for https://github.com/deisthree/deis/pull/1285
329329
app_id = self.create_app()
330330

331331
# post a new build
@@ -580,7 +580,7 @@ def test_run_command_good(self, mock_requests):
580580

581581
def test_run_not_fail_on_debug(self, mock_requests):
582582
"""
583-
do a run with DEIS_DEBUG on - https://github.com/deis/controller/issues/583
583+
do a run with DEIS_DEBUG on - https://github.com/deisthree/controller/issues/583
584584
"""
585585
env = EnvironmentVarGuard()
586586
env['DEIS_DEBUG'] = 'true'

rootfs/api/tests/test_tls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def test_tls_created_on_app_create(self, mock_requests):
6666
"""
6767
Ensure that a TLS object is created for an App with default values.
6868
69-
See https://github.com/deis/controller/issues/1042
69+
See https://github.com/deisthree/controller/issues/1042
7070
"""
7171
app_id = self.create_app()
7272
response = self.client.get('/v2/apps/{}/tls'.format(app_id))

rootfs/dev_requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
coverage==4.4.1
33

44
# Run "make test-style" to check python syntax and style
5-
flake8==3.3.0
5+
flake8==3.4.1
66

77
# code coverage report at https://codecov.io/github/deis/controller
88
codecov==2.0.9
99

1010
# mock out python-requests, mostly k8s
1111
# requests-mock==1.3.0
12-
git+https://github.com/deis/requests-mock.git@class_adapter#egg=request_mock
12+
git+https://github.com/deisthree/requests-mock.git@class_adapter#egg=request_mock
1313

1414
# tail a log and pipe into tbgrep to find all tracebacks
1515
tbgrep==0.3.0

rootfs/requirements.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
# Deis controller requirements
22
backoff==1.4.3
33
Django==1.11.4
4-
django-auth-ldap==1.2.14
4+
django-auth-ldap==1.2.15
55
django-cors-middleware==1.3.1
66
django-guardian==1.4.9
7-
djangorestframework==3.6.3
7+
djangorestframework==3.6.4
88
docker-py==1.10.6
99
gunicorn==19.7.1
10-
idna==2.5
10+
idna==2.6
1111
jmespath==0.9.3
1212
jsonfield==2.0.2
1313
jsonschema==2.6.0
1414
morph==0.1.2
1515
ndg-httpsclient==0.4.2
1616
packaging==16.8
17-
pyasn1==0.2.3
18-
psycopg2==2.7.1
17+
pyasn1==0.3.2
18+
psycopg2==2.7.3
1919
pyldap==2.4.37
2020
pyOpenSSL==17.2.0
2121
pytz==2017.2
22-
requests==2.18.2
22+
requests==2.18.4
2323
requests-toolbelt==0.8.0

rootfs/scheduler/resources/pod.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,11 +324,11 @@ def _default_readiness_probe(self, container, build_type, port=None):
324324
http://kubernetes.io/docs/user-guide/pod-states/#container-probes
325325
326326
/runner/init is the entry point of the slugrunner.
327-
https://github.com/deis/slugrunner/blob/01eac53f1c5f1d1dfa7570bbd6b9e45c00441fea/rootfs/Dockerfile#L20
327+
https://github.com/deisthree/slugrunner/blob/01eac53f1c5f1d1dfa7570bbd6b9e45c00441fea/rootfs/Dockerfile#L20
328328
Once it downloads the slug it starts running using `exec` which means the pid 1
329329
will point to the slug/application command instead of entry point once the application has
330330
started.
331-
https://github.com/deis/slugrunner/blob/01eac53f1c5f1d1dfa7570bbd6b9e45c00441fea/rootfs/runner/init#L90
331+
https://github.com/deisthree/slugrunner/blob/01eac53f1c5f1d1dfa7570bbd6b9e45c00441fea/rootfs/runner/init#L90
332332
333333
This should be added only for the build pack apps when a custom liveness probe is not set to
334334
make sure that the pod is ready only when the slug is downloaded and started running.

0 commit comments

Comments
 (0)