File tree Expand file tree Collapse file tree 3 files changed +2
-7
lines changed
tests/serverless-plugins-integration Expand file tree Collapse file tree 3 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ services:
12
12
entrypoint : sh
13
13
command : ./create-tables.sh
14
14
volumes :
15
- - ./:/project
16
15
- ./scripts/create-tables.sh:/project/create-tables.sh:ro
17
16
environment :
18
17
- AWS_ACCESS_KEY_ID=local
@@ -31,7 +30,6 @@ services:
31
30
entrypoint : sh
32
31
command : ./create-queues.sh
33
32
volumes :
34
- - ./:/project
35
33
- ./scripts/create-queues.sh:/project/create-queues.sh:ro
36
34
environment :
37
35
- AWS_ACCESS_KEY_ID=local
@@ -50,7 +48,6 @@ services:
50
48
entrypoint : sh
51
49
command : ./create-streams.sh
52
50
volumes :
53
- - ./:/project
54
51
- ./scripts/create-streams.sh:/project/create-streams.sh:ro
55
52
environment :
56
53
- AWS_ACCESS_KEY_ID=local
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -e
3
3
service=$1
4
-
4
+ root= $( cd " $( dirname " ${BASH_SOURCE[0]} " ) /.. " ; pwd -P )
5
5
function dc () {
6
- docker-compose -f docker-compose.test.yml $@
6
+ (cd $root && docker-compose -f docker-compose.test.yml $@ )
7
7
}
8
8
9
9
dc stop $service
Original file line number Diff line number Diff line change 1
1
# Getting started
2
2
3
-
4
-
5
3
### Dynamodb
6
4
``` shell
7
5
# Start containers
You can’t perform that action at this time.
0 commit comments