forked from ontoportal/ncbo_cron
-
Notifications
You must be signed in to change notification settings - Fork 8
/
dip.yml
54 lines (45 loc) · 1.43 KB
/
dip.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
version: '7.1'
# Define default environment variables to pass
# to Docker Compose
#environment:
# RAILS_ENV: development
compose:
files:
- docker-compose.yml
# project_name: ncbo_cron
interaction:
# This command spins up a ncbo_cron container with the required dependencies (solr, 4store, etc),
# and opens a terminal within it.
runner:
description: Open a Bash shell within a ncbo_cron container (with dependencies up)
service: ncbo_cron
command: /bin/bash
# Run a container without any dependent services
bash:
description: Run an arbitrary script within a container (or open a shell without deps)
service: ncbo_cron
command: /bin/bash
compose_run_options: [ no-deps ]
# A shortcut to run Bundler commands
bundle:
description: Run Bundler commands within ncbo_cron container (with depencendies up)
service: ncbo_cron
command: bundle
# A shortcut to run unit tests
test:
description: Run unit tests with 4store triplestore
service: ncbo_cron
command: bundle exec rake test TESTOPTS='-v'
test-ag:
description: Run unit tests with AllegroGraph triplestore
service: ncbo_cron-agraph
command: bundle exec rake test TESTOPTS='-v'
'redis-cli':
description: Run Redis console
service: redis-ut
command: redis-cli -h redis-ut
#provision:
#- dip compose down --volumes
#- dip compose up -d solr 4store
#- dip bundle install
#- dip bash -c bin/setup