Skip to content

Commit ed2fa13

Browse files
committed
test: infrastructure for testing cloudwatch (via moto server)
1 parent 4d60270 commit ed2fa13

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

Dockerfile-test

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ ENV \
88
RUN \
99
apk add --no-cache \
1010
build-base \
11-
libffi-dev \
1211
py3-pip \
1312
python3 \
1413
python3-dev && \

docker-compose.yml

+8
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ services:
2424
ipv4_address: '169.254.170.3'
2525
depends_on:
2626
- minio
27+
- motoserver
2728
- ecs-credentials-endpoint
2829
minio:
2930
build:
@@ -43,6 +44,13 @@ services:
4344
ecs_emulation:
4445
ipv4_address: '169.254.170.4'
4546

47+
motoserver:
48+
image: motoserver/moto:latest
49+
ports:
50+
- "3000:3000"
51+
environment:
52+
- MOTO_PORT=3000
53+
4654
ecs-credentials-endpoint:
4755
build:
4856
context: .

pyproject.toml

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ dependencies = [
2525
dev = [
2626
'aiohttp==3.*',
2727
'sentry-sdk>=1.11.1',
28-
'moto[proxy]>=5.0.3'
2928
]
3029

3130
[project.urls]

0 commit comments

Comments
 (0)