-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Makefile
19 lines (14 loc) · 676 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
test: export AWS_REGION=us-east-1
test: export AWS_ACCESS_KEY_ID=AKIAIOSFODNN7EXAMPLE
test: export AWS_SECRET_ACCESS_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
test: export S3_ENDPOINT_URL=http://localhost:9000
test:
docker-compose up -d
aws --endpoint-url=http://localhost:9000 s3 rm --recursive s3://test || true
aws --endpoint-url=http://localhost:9000 s3 rb s3://test || true
aws --endpoint-url=http://localhost:9000 s3 mb s3://test
aws --endpoint-url=http://localhost:9000 s3 rm --recursive s3://create-bucket-test || true
aws --endpoint-url=http://localhost:9000 s3 rb s3://create-bucket-test || true
deno test -A ${DENO_ARGS}
cleanup:
docker-compose down