Skip to content

Commit

Permalink
deps: update pgstac to v0.6.12
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
gadomski committed Jan 17, 2023
1 parent c3d7c14 commit 59e0517
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/cicd.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
name: stac-fastapi
on:
push:
branches: [ master ]
branches: [master]
pull_request:
branches: [ master ]
branches: [master]

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.8', '3.9', '3.10']
python-version: ["3.8", "3.9", "3.10"]
timeout-minutes: 10

services:
db_service:
image: bitner/pgstac:0.2.7
image: ghcr.io/stac-utils/pgstac:v0.6.12
env:
POSTGRES_USER: username
POSTGRES_PASSWORD: password
Expand Down Expand Up @@ -123,4 +123,4 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Test generating docs
run: make docs
run: make docs
8 changes: 3 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ services:
- ./scripts:/app/scripts
depends_on:
- database
command:
bash -c "./scripts/wait-for-it.sh database:5432 && python -m stac_fastapi.sqlalchemy.app"
command: bash -c "./scripts/wait-for-it.sh database:5432 && python -m stac_fastapi.sqlalchemy.app"

app-pgstac:
container_name: stac-fastapi-pgstac
Expand Down Expand Up @@ -58,12 +57,11 @@ services:
- ./scripts:/app/scripts
depends_on:
- database
command:
bash -c "./scripts/wait-for-it.sh database:5432 && python -m stac_fastapi.pgstac.app"
command: bash -c "./scripts/wait-for-it.sh database:5432 && python -m stac_fastapi.pgstac.app"

database:
container_name: stac-db
image: ghcr.io/stac-utils/pgstac:v0.6.10
image: ghcr.io/stac-utils/pgstac:v0.6.12
environment:
- POSTGRES_USER=username
- POSTGRES_PASSWORD=password
Expand Down

0 comments on commit 59e0517

Please sign in to comment.