forked from ConsultingMD/cube
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
61 lines (57 loc) · 1.44 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
version: 2.1
orbs:
aws-cli: circleci/[email protected]
aws-ecr: circleci/[email protected]
# Depends on the following ENV vars:
# * GITHUB_DEPLOY_TOKEN_USER
# * GITHUB_DEPLOY_TOKEN_SECRET
image-builder: included-health/image-builder@1
jobs:
build_and_push_cubestore:
environment:
DOCKER_BUILDKIT: 1
docker:
- image: $ECR_ENDPOINT/image-builder:master
resource_class: large
steps:
- checkout
- setup_remote_docker:
version: 20.10.6
docker_layer_caching: true
- run:
name: build docker image
command: |
cd rust/cubestore && build-and-push \
--image cubestore-base \
--file Dockerfile
build_and_push_cubejs:
environment:
DOCKER_BUILDKIT: 1
docker:
- image: $ECR_ENDPOINT/image-builder:master
resource_class: large
steps:
- checkout
- setup_remote_docker:
version: 20.10.6
docker_layer_caching: true
- run:
name: build docker image
command: |
build-and-push \
--image cube-base \
--file ./packages/cubejs-docker/dev.Dockerfile
workflows:
version: 2
build_and_test_workflow:
jobs:
- build_and_push_cubestore:
context:
- dod-pypi
- ecr
- grh-drone
- build_and_push_cubejs:
context:
- dod-pypi
- ecr
- grh-drone