mirror of
https://github.com/django-q2/django-q2.git
synced 2026-09-21 18:48:11 +08:00
swap localstorage to ministack
This commit is contained in:
@@ -68,6 +68,19 @@ jobs:
|
||||
ports:
|
||||
- 6379:6379
|
||||
options: --entrypoint redis-server
|
||||
aws:
|
||||
image: redis
|
||||
env:
|
||||
SERVICES: sqs
|
||||
MINISTACK_HOST: aws
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "-qO-", "http://localhost:4566/_ministack/ready"]
|
||||
interval: 2s
|
||||
retries: 15
|
||||
ports:
|
||||
- 4566:4566
|
||||
volumes:
|
||||
- ./containers/ministack:/docker-entrypoint-initaws.d
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
@@ -85,6 +98,11 @@ jobs:
|
||||
env:
|
||||
MONGO_HOST: "127.0.0.1"
|
||||
REDIS_HOST: "127.0.0.1"
|
||||
AWS_ENDPOINT_URL: http://aws:4566
|
||||
AWS_REGION: "us-east-1"
|
||||
AWS_ACCESS_KEY_ID: "test"
|
||||
AWS_SECRET_ACCESS_KEY: "test"
|
||||
AWS_DEFAULT_REGION: "us-east-1"
|
||||
- name: Upload to coveralls
|
||||
run: |
|
||||
python -m pip install coveralls
|
||||
|
||||
Reference in New Issue
Block a user