Skip to content
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

Make ingest-api pypgstac version configurable #372

Open
1 task
anayeaye opened this issue May 8, 2024 · 0 comments
Open
1 task

Make ingest-api pypgstac version configurable #372

anayeaye opened this issue May 8, 2024 · 0 comments
Assignees

Comments

@anayeaye
Copy link
Collaborator

anayeaye commented May 8, 2024

What

Pypgstac version should correspond to the configured PGSTAC_VERSION but is currently hard coded in the ingest-api requirements.txt. See the database/runtime/Dockerfile for how the environment variable can be used to install the same pypgstac version as the pgstac version used in postgres.

RUN pip install requests "urllib3<2" psycopg[binary,pool] pypgstac==${PGSTAC_VERSION} -t /asset

AC

  • the version of pypgstac used in the ingest-api corresponds to the pgstac version in the database.
sandrahoang686 added a commit that referenced this issue Aug 14, 2024
### Issue

#372

### What?

Make pypgstac and ENV var in dockerfile

### Why?

- Description of why the changes were made

### Testing?

Deployed without any errors to http://monitor.openveda.cloud/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants