Skip to content

Commit 7106af5

Browse files
committed
[INFRA-3175] autotranslate CircleCI 1.0 -> 2.0
1 parent 22419ce commit 7106af5

File tree

2 files changed

+30
-11
lines changed

2 files changed

+30
-11
lines changed

.circleci/config.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
version: 2
2+
jobs:
3+
build:
4+
working_directory: ~/Clever/clever-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+
- setup_remote_docker
16+
- run:
17+
command: mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_REPORTS
18+
name: Set up CircleCI artifacts directories
19+
- run: pip install -r test-requirements.txt
20+
- run: make test
21+
- run: $HOME/ci-scripts/circleci/report-card $RC_DOCKER_USER $RC_DOCKER_PASS "$RC_DOCKER_EMAIL" $RC_GITHUB_TOKEN
22+
- run:
23+
command: |-
24+
rm -rf ~/.local
25+
cd /tmp/ && wget https://bootstrap.pypa.io/get-pip.py && sudo python get-pip.py
26+
sudo apt-get update
27+
sudo apt-get install python-dev
28+
sudo pip install --upgrade awscli
29+
aws --version
30+
name: Install awscli for ECR publish

circle.yml

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

0 commit comments

Comments
 (0)