Skip to content

Commit

Permalink
Use published eoapi.auth-utils pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
alukach committed Aug 20, 2024
1 parent a7e6333 commit f1037a9
Show file tree
Hide file tree
Showing 12 changed files with 3 additions and 236 deletions.
3 changes: 0 additions & 3 deletions dockerfiles/Dockerfile.raster
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ RUN python -m pip install psycopg[binary,pool]
COPY runtimes/eoapi/raster /tmp/raster
RUN python -m pip install /tmp/raster
RUN rm -rf /tmp/raster
COPY runtimes/eoapi/auth /tmp/auth
RUN python -m pip install /tmp/auth
RUN rm -rf /tmp/auth

ENV MODULE_NAME eoapi.raster.app
ENV VARIABLE_NAME app
3 changes: 0 additions & 3 deletions dockerfiles/Dockerfile.stac
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ ENV CURL_CA_BUNDLE /etc/ssl/certs/ca-certificates.crt
COPY runtimes/eoapi/stac /tmp/stac
RUN python -m pip install /tmp/stac
RUN rm -rf /tmp/stac
COPY runtimes/eoapi/auth /tmp/auth
RUN python -m pip install /tmp/auth
RUN rm -rf /tmp/auth

ENV MODULE_NAME eoapi.stac.app
ENV VARIABLE_NAME app
3 changes: 0 additions & 3 deletions dockerfiles/Dockerfile.vector
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ FROM ghcr.io/vincentsarago/uvicorn-gunicorn:${PYTHON_VERSION}
COPY runtimes/eoapi/vector /tmp/vector
RUN python -m pip install /tmp/vector
RUN rm -rf /tmp/vector
COPY runtimes/eoapi/auth /tmp/auth
RUN pip install /tmp/auth
RUN rm -rf /tmp/auth

ENV MODULE_NAME eoapi.vector.app
ENV VARIABLE_NAME app
Empty file removed runtimes/eoapi/auth/README.md
Empty file.
4 changes: 0 additions & 4 deletions runtimes/eoapi/auth/eoapi/auth/__init__.py

This file was deleted.

145 changes: 0 additions & 145 deletions runtimes/eoapi/auth/eoapi/auth/auth.py

This file was deleted.

22 changes: 0 additions & 22 deletions runtimes/eoapi/auth/eoapi/auth/config.py

This file was deleted.

14 changes: 0 additions & 14 deletions runtimes/eoapi/auth/eoapi/auth/types.py

This file was deleted.

42 changes: 0 additions & 42 deletions runtimes/eoapi/auth/pyproject.toml

This file was deleted.

1 change: 1 addition & 0 deletions runtimes/eoapi/raster/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ dependencies = [
"titiler.extensions",
"starlette-cramjam>=0.3,<0.4",
"importlib_resources>=1.1.0;python_version<'3.9'",
"eoapi.auth-utils",
]

[project.optional-dependencies]
Expand Down
1 change: 1 addition & 0 deletions runtimes/eoapi/stac/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ dependencies = [
"starlette-cramjam>=0.3,<0.4",
"importlib_resources>=1.1.0;python_version<'3.9'",
"psycopg_pool",
"eoapi.auth-utils",
]

[project.optional-dependencies]
Expand Down
1 change: 1 addition & 0 deletions runtimes/eoapi/vector/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ classifiers = [
dynamic = ["version"]
dependencies = [
"tipg==0.7.1",
"eoapi.auth-utils",
]

[project.optional-dependencies]
Expand Down

0 comments on commit f1037a9

Please sign in to comment.