Skip to content

Commit a8e0074

Browse files
committed
chore: separate build into multiple steps
1 parent d0e9594 commit a8e0074

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

.circleci/config.yml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,21 @@ workflows:
1818
version: 2
1919
ci:
2020
jobs:
21-
- build
21+
- build:
22+
name: build-chronograf
23+
product: chronograf
24+
- build:
25+
name: build-dockerlib
26+
product: dockerlib
27+
- build:
28+
name: build-influxdb
29+
product: influxdb
30+
- build:
31+
name: build-kapacitor
32+
product: kapacitor
33+
- build:
34+
name: build-telegraf
35+
product: telegraf
2236
- test-influxdb:
2337
matrix:
2438
parameters:
@@ -36,12 +50,16 @@ workflows:
3650

3751
jobs:
3852
build:
53+
parameters:
54+
product:
55+
type: string
3956
docker:
4057
- image: cimg/go:1.15.6
4158
steps:
4259
- checkout
4360
- setup_remote_docker
44-
- run: bash circle-test.sh
61+
- run: |
62+
./circle-test.sh "<< parameters.product >>"
4563
4664
test-influxdb:
4765
<<: *ubuntu_machine

0 commit comments

Comments
 (0)