-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdjin.yml
46 lines (41 loc) · 888 Bytes
/
djin.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
djin_version: '0.11.6'
_default_run_options: &default_run_options
options: "--rm --entrypoint=''"
tasks:
test:
description: Runs Specs
docker-compose:
service: app
run:
commands: "rspec {{args}}"
<<: *default_run_options
aliases:
- rspec
lint:
description: Lint
docker-compose:
service: app
run:
commands: "rubocop {{args}}"
<<: *default_run_options
aliases:
- rubocop
sh:
description: Enter app service shell
docker-compose:
service: app
run:
commands: "sh"
<<: *default_run_options
run:
docker-compose:
service: app
run:
commands: "sh -c '{{args}}'"
<<: *default_run_options
release:
local:
run:
- (source ~/.zshrc || true)
- verto tag up {{args}}
- bundle exec rake release