File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 11name : stac-fastapi
22on :
33 push :
4- branches : [ master ]
4+ branches : [master]
55 pull_request :
6- branches : [ master ]
6+ branches : [master]
77
88jobs :
99 test :
1010 runs-on : ubuntu-latest
1111 strategy :
1212 matrix :
13- python-version : [ ' 3.8', ' 3.9', ' 3.10' ]
13+ python-version : [" 3.8", " 3.9", " 3.10" ]
1414 timeout-minutes : 10
1515
1616 services :
1717 db_service :
18- image : bitner/ pgstac:0.2.7
18+ image : ghcr.io/stac-utils/ pgstac:v0.6.12
1919 env :
2020 POSTGRES_USER : username
2121 POSTGRES_PASSWORD : password
2222 POSTGRES_DB : postgis
2323 POSTGRES_HOST : localhost
2424 POSTGRES_PORT : 5432
25+ PGUSER : username
26+ PGPASSWORD : password
27+ PGDATABASE : postgis
2528 ALLOW_IP_RANGE : 0.0.0.0/0
2629 # Set health checks to wait until postgres has started
2730 options : >-
@@ -123,4 +126,4 @@ jobs:
123126 steps :
124127 - uses : actions/checkout@v3
125128 - name : Test generating docs
126- run : make docs
129+ run : make docs
Original file line number Diff line number Diff line change @@ -26,8 +26,7 @@ services:
2626 - ./scripts:/app/scripts
2727 depends_on :
2828 - database
29- command :
30- bash -c "./scripts/wait-for-it.sh database:5432 && python -m stac_fastapi.sqlalchemy.app"
29+ command : bash -c "./scripts/wait-for-it.sh database:5432 && python -m stac_fastapi.sqlalchemy.app"
3130
3231 app-pgstac :
3332 container_name : stac-fastapi-pgstac
@@ -58,12 +57,11 @@ services:
5857 - ./scripts:/app/scripts
5958 depends_on :
6059 - database
61- command :
62- bash -c "./scripts/wait-for-it.sh database:5432 && python -m stac_fastapi.pgstac.app"
60+ command : bash -c "./scripts/wait-for-it.sh database:5432 && python -m stac_fastapi.pgstac.app"
6361
6462 database :
6563 container_name : stac-db
66- image : ghcr.io/stac-utils/pgstac:v0.6.10
64+ image : ghcr.io/stac-utils/pgstac:v0.6.12
6765 environment :
6866 - POSTGRES_USER=username
6967 - POSTGRES_PASSWORD=password
You can’t perform that action at this time.
0 commit comments