Skip to content

Commit 90743de

Browse files
author
Eric Bellefontaine
authored
Merge pull request #29 from objectrocket/PLAT-10861
[PLAT-10861] Add docker authentication to avoid rate-limiting
2 parents c5126ca + 190cb13 commit 90743de

File tree

1 file changed

+17
-9
lines changed

1 file changed

+17
-9
lines changed

.circleci/config.yml

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,28 @@
11
version: 2.1
2+
references:
3+
objectrocket-docker-auth: &objectrocket-docker-auth
4+
auth:
5+
username: ${DOCKER_USERNAME}
6+
password: ${DOCKER_PASSWORD}
7+
context-to-use: &context-to-use
8+
context: objectrocket-shared
29
jobs:
310
lint_test:
411
docker:
5-
- image: circleci/python:2.7.13
12+
- <<: *objectrocket-docker-auth
13+
image: circleci/python:2.7.13
614
steps:
7-
- checkout
15+
- checkout
816

9-
- run:
10-
name: install test dependencies
11-
command: sudo pip install --upgrade pip tox
12-
- run:
13-
name: lint and test
14-
command: tox -r
17+
- run:
18+
name: install test dependencies
19+
command: sudo pip install --upgrade pip tox
20+
- run:
21+
name: lint and test
22+
command: tox -r
1523

1624
workflows:
1725
version: 2
1826
basic-workflow:
1927
jobs:
20-
- lint_test
28+
- lint_test: *context-to-use

0 commit comments

Comments
 (0)