Skip to content

Commit 59e0517

Browse files
committed
deps: update pgstac to v0.6.12
We have a floating v0.6.* dependency in code, but our CI contains deps on (two different) older pgstac versions. This commit updates those references to point to https://github.com/stac-utils/pgstac/releases/tag/v0.6.12, and contains some sidecar yaml linting.
1 parent c3d7c14 commit 59e0517

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

.github/workflows/cicd.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
name: stac-fastapi
22
on:
33
push:
4-
branches: [ master ]
4+
branches: [master]
55
pull_request:
6-
branches: [ master ]
6+
branches: [master]
77

88
jobs:
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
@@ -123,4 +123,4 @@ jobs:
123123
steps:
124124
- uses: actions/checkout@v3
125125
- name: Test generating docs
126-
run: make docs
126+
run: make docs

docker-compose.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)