This repository was archived by the owner on Sep 12, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 8 files changed +14
-15
lines changed Expand file tree Collapse file tree 8 files changed +14
-15
lines changed Original file line number Diff line number Diff line change 5
5
* .db
6
6
.DS_Store
7
7
.idea
8
- .dotcloud
9
8
.coverage
10
9
.tox
11
10
htmlcov
Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ swift: &swift
139
139
swift_region_name : _env:OS_REGION_NAME
140
140
141
141
# This flavor stores the images in Glance (to integrate with openstack)
142
- # See also: https://github.com/dotcloud /openstack-docker
142
+ # See also: https://github.com/docker /openstack-docker
143
143
glance : &glance
144
144
<< : *common
145
145
storage : glance
@@ -185,7 +185,7 @@ dev: &dev
185
185
# This flavor is used by unit tests
186
186
test :
187
187
<< : *dev
188
- index_endpoint : https://indexstaging-docker.dotcloud .com
188
+ index_endpoint : https://registry-stage.hub.docker .com
189
189
standalone : true
190
190
storage_path : _env:STORAGE_PATH:./tmp/test
191
191
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ env GOPATH /go
9
9
env CGO_ENABLED 0
10
10
run cd /tmp && echo 'package main' > t.go && go test -a -i -v
11
11
12
- run git clone https://github.com/dotcloud /docker-registry.git /docker-registry.git
12
+ run git clone https://github.com/docker /docker-registry.git /docker-registry.git
13
13
run cd /docker-registry.git/contrib/golang_impl && make && cp bin/docker-registry /usr/local/bin/
14
14
15
15
expose 80
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ This implementation doesn't provide all the features that are available in the P
10
10
11
11
## Build and start docker image for registry
12
12
13
- $ git clone https://github.com/dotcloud /docker-registry.git docker-registry.git
13
+ $ git clone https://github.com/docker /docker-registry.git docker-registry.git
14
14
$ cd docker-registry.git/contrib/golang_impl
15
15
$ docker build -t docker_registry/golang .
16
16
$ docker run -v /data:/data -d -p 80:80 docker_registry/golang
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ server {
24
24
25
25
client_max_body_size 0; # disable any limits to avoid HTTP 413 for large image uploads
26
26
27
- # required to avoid HTTP 411: see Issue #1486 (https://github.com/dotcloud /docker/issues/1486)
27
+ # required to avoid HTTP 411: see Issue #1486 (https://github.com/docker /docker/issues/1486)
28
28
chunked_transfer_encoding on;
29
29
30
30
location / {
Original file line number Diff line number Diff line change 13
13
__title__ = 'docker-registry'
14
14
__build__ = 0x000000
15
15
16
- __url__ = 'https://github.com/dotcloud /docker-registry'
16
+ __url__ = 'https://github.com/docker /docker-registry'
17
17
__description__ = 'Registry server for Docker'
18
- __download__ = 'https://github.com/dotcloud /docker-registry/archive/master.zip'
18
+ __download__ = 'https://github.com/docker /docker-registry/archive/master.zip'
Original file line number Diff line number Diff line change 20
20
logging_interval = 15 # 15 minutes
21
21
exp_time = 60 * 60 * 24 # Key expires in 24hs
22
22
try :
23
- with open ('/home/dotcloud /environment.json' ) as f :
23
+ with open ('/home/docker /environment.json' ) as f :
24
24
env = json .load (f )
25
25
# Prod
26
26
redis_opts = {
27
- 'host' : env ['DOTCLOUD_REDIS_REDIS_HOST ' ],
28
- 'port' : int (env ['DOTCLOUD_REDIS_REDIS_PORT ' ]),
27
+ 'host' : env ['REDIS_HOST ' ],
28
+ 'port' : int (env ['REDIS_PORT ' ]),
29
29
'db' : 1 ,
30
- 'password' : env ['DOTCLOUD_REDIS_REDIS_PASSWORD ' ],
30
+ 'password' : env ['REDIS_PASSWORD ' ],
31
31
}
32
32
except Exception :
33
33
# Dev
Original file line number Diff line number Diff line change 1
1
"""
2
2
How to run locally:
3
3
Start your local registry:
4
- `INDEX_ENDPOINT=https://indexstaging-docker.dotcloud. com \
4
+ `INDEX_ENDPOINT=https://registry-stage.hub.docker. com' \
5
5
SETTINGS_FLAVOR=test DOCKER_REGISTRY_CONFIG=config_sample.yml docker-registry`
6
6
7
7
Start the tests:
@@ -36,10 +36,10 @@ class TestWorkflow(base.TestCase):
36
36
# Dev server needs to run on port 5000 in order to run this test
37
37
registry_endpoint = os .environ .get (
38
38
'DOCKER_REGISTRY_ENDPOINT' ,
39
- 'https://registrystaging- docker.dotcloud.com ' )
39
+ 'https://registry-staging. docker.io ' )
40
40
index_endpoint = os .environ .get (
41
41
'DOCKER_INDEX_ENDPOINT' ,
42
- 'https://indexstaging-docker.dotcloud .com' )
42
+ 'https://registry-stage.hub.docker .com' )
43
43
user_credentials = os .environ ['DOCKER_CREDS' ].split (':' )
44
44
45
45
def generate_chunk (self , data ):
You can’t perform that action at this time.
0 commit comments