-
Notifications
You must be signed in to change notification settings - Fork 111
Update pgstac to v0.7.1 #535
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
83679f9
deps: bump pgstac to v0.7.1
gadomski d26c5ef
ci: only build packages on main or tags
gadomski c83f040
ci: don't log on services
gadomski 3e927de
ci: up timeout minutes
gadomski b6405ce
chore: update changelog
gadomski 40bbcda
test: add sorting test
gadomski 1234d29
Merge branch 'master' into pgstac-v0.7.1
gadomski File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,11 +11,11 @@ jobs: | |
strategy: | ||
matrix: | ||
python-version: ["3.8", "3.9", "3.10", "3.11"] | ||
timeout-minutes: 10 | ||
timeout-minutes: 20 | ||
|
||
services: | ||
db_service: | ||
image: ghcr.io/stac-utils/pgstac:v0.6.13 | ||
image: ghcr.io/stac-utils/pgstac:v0.7.1 | ||
env: | ||
POSTGRES_USER: username | ||
POSTGRES_PASSWORD: password | ||
|
@@ -32,6 +32,7 @@ jobs: | |
--health-interval 10s | ||
--health-timeout 10s | ||
--health-retries 10 | ||
--log-driver none | ||
ports: | ||
# Maps tcp port 5432 on service container to the host | ||
- 5432:5432 | ||
|
@@ -130,7 +131,7 @@ jobs: | |
backend: ["sqlalchemy", "pgstac"] | ||
services: | ||
pgstac: | ||
image: ghcr.io/stac-utils/pgstac:v0.6.13 | ||
image: ghcr.io/stac-utils/pgstac:v0.7.1 | ||
env: | ||
POSTGRES_USER: username | ||
POSTGRES_PASSWORD: password | ||
|
@@ -143,6 +144,7 @@ jobs: | |
--health-interval 10s | ||
--health-timeout 5s | ||
--health-retries 5 | ||
--log-driver none | ||
ports: | ||
- 5432:5432 | ||
steps: | ||
|
@@ -176,7 +178,6 @@ jobs: | |
POSTGRES_PORT: 5432 | ||
PGUSER: username | ||
PGPASSWORD: password | ||
PGHOST: localhost | ||
PGDATABASE: postgis | ||
APP_HOST: 0.0.0.0 | ||
APP_PORT: 8080 | ||
|
@@ -187,41 +188,3 @@ jobs: | |
- uses: actions/checkout@v3 | ||
- name: Test generating docs | ||
run: make docs | ||
|
||
docker-build-push: | ||
runs-on: ubuntu-latest | ||
needs: [test, validate, test-docs] | ||
permissions: | ||
contents: read | ||
packages: write | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
backend: ["sqlalchemy", "pgstac"] | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
- name: Log in to the Container registry | ||
uses: docker/[email protected] | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Extract metadata (tags, labels) for Docker | ||
id: meta | ||
uses: docker/[email protected] | ||
with: | ||
images: ghcr.io/stac-utils/stac-fastapi | ||
tags: | | ||
type=schedule,suffix=-${{ matrix.backend }} | ||
type=ref,event=branch,suffix=-${{ matrix.backend }} | ||
type=ref,event=tag,suffix=-${{ matrix.backend }} | ||
type=ref,event=pr,suffix=-${{ matrix.backend }} | ||
- name: Build and push Docker image | ||
uses: docker/[email protected] | ||
with: | ||
context: . | ||
file: docker/Dockerfile.${{ matrix.backend }} | ||
push: true | ||
tags: ${{ steps.meta.outputs.tags }} | ||
labels: ${{ steps.meta.outputs.labels }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: packages | ||
on: | ||
push: | ||
branches: | ||
- master | ||
tags: | ||
- "*" | ||
|
||
jobs: | ||
docker-build-push: | ||
runs-on: ubuntu-latest | ||
needs: [test, validate, test-docs] | ||
permissions: | ||
contents: read | ||
packages: write | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
backend: ["sqlalchemy", "pgstac"] | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
- name: Log in to the Container registry | ||
uses: docker/[email protected] | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Extract metadata (tags, labels) for Docker | ||
id: meta | ||
uses: docker/[email protected] | ||
with: | ||
images: ghcr.io/stac-utils/stac-fastapi | ||
tags: | | ||
type=schedule,suffix=-${{ matrix.backend }} | ||
type=ref,event=branch,suffix=-${{ matrix.backend }} | ||
type=ref,event=tag,suffix=-${{ matrix.backend }} | ||
type=ref,event=pr,suffix=-${{ matrix.backend }} | ||
- name: Build and push Docker image | ||
uses: docker/[email protected] | ||
with: | ||
context: . | ||
file: docker/Dockerfile.${{ matrix.backend }} | ||
push: true | ||
tags: ${{ steps.meta.outputs.tags }} | ||
labels: ${{ steps.meta.outputs.labels }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.