-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbatect.yml
30 lines (28 loc) · 895 Bytes
/
batect.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
# enables ./batect diagrams
include:
- type: git
repo: git@github.com:compoze-labs/batect-architecture-diagrams.git
ref: 1.0.0 # or other tagged version in the repo
containers:
shell:
dockerfile: Dockerfile.shell
build_directory: .batect
build_target: final
working_directory: /home/container-user/code
volumes:
- local: <{batect.project_directory}
container: /home/container-user/code
- local: ~/.ssh # to load ssh keys for git
container: /home/container-user/.ssh
- type: cache # macos save dependencies inside container
name: node_modules
container: /code/node_modules
- local: ~/.aws # load aws credentials for profiles
container: /home/container-user/.aws
run_as_current_user:
enabled: true
home_directory: /home/container-user
tasks:
shell:
run:
container: shell