Skip to content

Commit cdd26f5

Browse files
committed
[INFRA-3186] autotranslate CircleCI 1.0 -> 2.0
1 parent 0ece8d1 commit cdd26f5

2 files changed

Lines changed: 28 additions & 6 deletions

File tree

.circleci/config.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
version: 2
2+
jobs:
3+
build:
4+
working_directory: ~/Clever/discovery-python
5+
docker:
6+
- image: circleci/python:2.7.15
7+
environment:
8+
CIRCLE_ARTIFACTS: /tmp/circleci-artifacts
9+
CIRCLE_TEST_REPORTS: /tmp/circleci-test-results
10+
steps:
11+
- run:
12+
command: cd $HOME && git clone --depth 1 -v https://github.com/Clever/ci-scripts.git && cd ci-scripts && git show --oneline -s
13+
name: Clone ci-scripts
14+
- checkout
15+
- run:
16+
command: mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_REPORTS
17+
name: Set up CircleCI artifacts directories
18+
- run: make deps
19+
- run: make test
20+
- run:
21+
command: |-
22+
rm -rf ~/.local
23+
cd /tmp/ && wget https://bootstrap.pypa.io/get-pip.py && sudo python get-pip.py
24+
sudo apt-get update
25+
sudo apt-get install python-dev
26+
sudo pip install --upgrade awscli
27+
aws --version
28+
name: Install awscli for ECR publish

circle.yml

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)