Skip to content

Commit 361e190

Browse files
AdrieanKhisbegodu
authored andcommitted
Some final tweaks to the integration tests
1 parent 9bf5e18 commit 361e190

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

docker-compose.test.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ services:
1212
entrypoint: sh
1313
command: ./create-tables.sh
1414
volumes:
15-
- ./:/project
1615
- ./scripts/create-tables.sh:/project/create-tables.sh:ro
1716
environment:
1817
- AWS_ACCESS_KEY_ID=local
@@ -31,7 +30,6 @@ services:
3130
entrypoint: sh
3231
command: ./create-queues.sh
3332
volumes:
34-
- ./:/project
3533
- ./scripts/create-queues.sh:/project/create-queues.sh:ro
3634
environment:
3735
- AWS_ACCESS_KEY_ID=local
@@ -50,7 +48,6 @@ services:
5048
entrypoint: sh
5149
command: ./create-streams.sh
5250
volumes:
53-
- ./:/project
5451
- ./scripts/create-streams.sh:/project/create-streams.sh:ro
5552
environment:
5653
- AWS_ACCESS_KEY_ID=local

scripts/clean-start.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#!/bin/bash
22
set -e
33
service=$1
4-
4+
root=$( cd "$(dirname "${BASH_SOURCE[0]}")/.." ; pwd -P )
55
function dc () {
6-
docker-compose -f docker-compose.test.yml $@
6+
(cd $root && docker-compose -f docker-compose.test.yml $@)
77
}
88

99
dc stop $service

tests/serverless-plugins-integration/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Getting started
22

3-
4-
53
### Dynamodb
64
```shell
75
# Start containers

0 commit comments

Comments
 (0)