mirror of https://github.com/apache/superset.git
chore: Use redis 7 on tests and pin on local dev and non-dev (#22742)
This commit is contained in:
parent
3ed288d4ee
commit
6d37e66cd1
|
@ -32,7 +32,7 @@ jobs:
|
||||||
ports:
|
ports:
|
||||||
- 15432:5432
|
- 15432:5432
|
||||||
redis:
|
redis:
|
||||||
image: redis:5-alpine
|
image: redis:7-alpine
|
||||||
ports:
|
ports:
|
||||||
- 16379:6379
|
- 16379:6379
|
||||||
steps:
|
steps:
|
||||||
|
|
|
@ -30,7 +30,7 @@ jobs:
|
||||||
# GitHub action runner's default installations
|
# GitHub action runner's default installations
|
||||||
- 15432:5432
|
- 15432:5432
|
||||||
redis:
|
redis:
|
||||||
image: redis:5-alpine
|
image: redis:7-alpine
|
||||||
ports:
|
ports:
|
||||||
- 16379:6379
|
- 16379:6379
|
||||||
steps:
|
steps:
|
||||||
|
|
|
@ -38,7 +38,7 @@ jobs:
|
||||||
ports:
|
ports:
|
||||||
- 15432:5432
|
- 15432:5432
|
||||||
redis:
|
redis:
|
||||||
image: redis:5-alpine
|
image: redis:7-alpine
|
||||||
ports:
|
ports:
|
||||||
- 16379:6379
|
- 16379:6379
|
||||||
steps:
|
steps:
|
||||||
|
|
|
@ -29,7 +29,7 @@ jobs:
|
||||||
ports:
|
ports:
|
||||||
- 13306:3306
|
- 13306:3306
|
||||||
redis:
|
redis:
|
||||||
image: redis:5-alpine
|
image: redis:7-alpine
|
||||||
options: --entrypoint redis-server
|
options: --entrypoint redis-server
|
||||||
ports:
|
ports:
|
||||||
- 16379:6379
|
- 16379:6379
|
||||||
|
@ -97,7 +97,7 @@ jobs:
|
||||||
# GitHub action runner's default installations
|
# GitHub action runner's default installations
|
||||||
- 15432:5432
|
- 15432:5432
|
||||||
redis:
|
redis:
|
||||||
image: redis:5-alpine
|
image: redis:7-alpine
|
||||||
ports:
|
ports:
|
||||||
- 16379:6379
|
- 16379:6379
|
||||||
steps:
|
steps:
|
||||||
|
@ -156,7 +156,7 @@ jobs:
|
||||||
sqlite:///${{ github.workspace }}/.temp/unittest.db
|
sqlite:///${{ github.workspace }}/.temp/unittest.db
|
||||||
services:
|
services:
|
||||||
redis:
|
redis:
|
||||||
image: redis:5-alpine
|
image: redis:7-alpine
|
||||||
ports:
|
ports:
|
||||||
- 16379:6379
|
- 16379:6379
|
||||||
steps:
|
steps:
|
||||||
|
|
|
@ -41,7 +41,7 @@ jobs:
|
||||||
# GitHub action runner's default installations
|
# GitHub action runner's default installations
|
||||||
- 15433:8080
|
- 15433:8080
|
||||||
redis:
|
redis:
|
||||||
image: redis:5-alpine
|
image: redis:7-alpine
|
||||||
ports:
|
ports:
|
||||||
- 16379:6379
|
- 16379:6379
|
||||||
steps:
|
steps:
|
||||||
|
@ -110,7 +110,7 @@ jobs:
|
||||||
# GitHub action runner's default installations
|
# GitHub action runner's default installations
|
||||||
- 15432:5432
|
- 15432:5432
|
||||||
redis:
|
redis:
|
||||||
image: redis:5-alpine
|
image: redis:7-alpine
|
||||||
ports:
|
ports:
|
||||||
- 16379:6379
|
- 16379:6379
|
||||||
steps:
|
steps:
|
||||||
|
|
|
@ -26,7 +26,7 @@ x-superset-volumes: &superset-volumes
|
||||||
version: "3.7"
|
version: "3.7"
|
||||||
services:
|
services:
|
||||||
redis:
|
redis:
|
||||||
image: redis:latest
|
image: redis:7
|
||||||
container_name: superset_cache
|
container_name: superset_cache
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -34,7 +34,7 @@ services:
|
||||||
|
|
||||||
db:
|
db:
|
||||||
env_file: docker/.env-non-dev
|
env_file: docker/.env-non-dev
|
||||||
image: postgres:10
|
image: postgres:14
|
||||||
container_name: superset_db
|
container_name: superset_db
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -30,7 +30,7 @@ x-superset-volumes: &superset-volumes
|
||||||
version: "3.7"
|
version: "3.7"
|
||||||
services:
|
services:
|
||||||
redis:
|
redis:
|
||||||
image: redis:latest
|
image: redis:7
|
||||||
container_name: superset_cache
|
container_name: superset_cache
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
|
|
Loading…
Reference in New Issue