Skip to content

Commit 1f223b9

Browse files
jasonwalshjasonwalsh
jasonwalsh
authored andcommitted
fix: begin updating CI config
1 parent 5246e76 commit 1f223b9

File tree

1 file changed

+8
-63
lines changed

1 file changed

+8
-63
lines changed

.circleci/config.yml

+8-63
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,9 @@
11
jobs:
2-
pre-commit:
3-
docker:
4-
- image: quay.io/mongodb-build/terratest
5-
steps:
6-
- checkout
7-
- restore_cache:
8-
key: v1-venv
9-
- run: |
10-
virtualenv venv
11-
. venv/bin/activate
12-
13-
pip install pre-commit
14-
pre-commit install
15-
pre-commit run --all-files
16-
- save_cache:
17-
key: v1-venv
18-
paths:
19-
- venv
20-
test:
21-
docker:
22-
- image: quay.io/mongodb-build/terratest
23-
steps:
24-
- checkout
25-
- restore_cache:
26-
key: gopkg-{{ checksum "Gopkg.lock" }}
27-
- run: |
28-
dep ensure
29-
go test -timeout 30m -v ./...
30-
- save_cache:
31-
key: gopkg-{{ checksum "Gopkg.lock" }}
32-
paths:
33-
- vendor
34-
working_directory: /go/src/github.com/10gen/terraform-mongohouse
35-
deploy:
36-
docker:
37-
- image: circleci/node:8
38-
steps:
39-
- checkout
40-
- restore_cache:
41-
key: v1-npm
42-
- run: |
43-
sudo npm install @semantic-release/changelog -D
44-
sudo npm install @semantic-release/git -D
45-
npx semantic-release
46-
- save_cache:
47-
key: v1-npm
48-
paths:
49-
- node_modules
50-
version: 2.0
51-
workflows:
52-
pre-commit-test-deploy:
53-
jobs:
54-
- pre-commit
55-
- test:
56-
requires:
57-
- pre-commit
58-
- deploy:
59-
filters:
60-
branches:
61-
only: master
62-
requires:
63-
- test
64-
version: 2
2+
jobs:
3+
build:
4+
steps:
5+
- go/install:
6+
version: 1.13.4
7+
orbs:
8+
go: circleci/[email protected]
9+
version: 2.1

0 commit comments

Comments
 (0)