-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into enh/let-me-logout
- Loading branch information
Showing
60 changed files
with
636 additions
and
615 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -8,7 +8,7 @@ ops/ | |
*.py[cod] | ||
|
||
# virtualenv | ||
.venv | ||
**/.venv | ||
|
||
#python eggs | ||
**/*.egg-info | ||
|
This file contains 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 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 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 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 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 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 |
---|---|---|
@@ -1,21 +1,27 @@ | ||
# syntax=docker/dockerfile:1 | ||
ARG UV_VERSION="0.4" | ||
FROM ghcr.io/astral-sh/uv:${UV_VERSION} AS uv_build | ||
# we docker image is built based on debian | ||
FROM python:3.11.9-buster | ||
|
||
RUN curl https://rclone.org/install.sh | bash && \ | ||
rclone --version | ||
|
||
# install UV https://docs.astral.sh/uv/guides/integration/docker/#installing-uv | ||
COPY --from=uv_build /uv /uvx /bin/ | ||
|
||
WORKDIR /scripts | ||
|
||
COPY packages/postgres-database postgres-database | ||
RUN --mount=type=cache,mode=0755,target=/root/.cache/pip \ | ||
cd postgres-database && pip install . | ||
RUN --mount=type=cache,target=/root/.cache/uv \ | ||
cd postgres-database && uv pip install . | ||
|
||
COPY packages/settings-library settings-library | ||
RUN --mount=type=cache,mode=0755,target=/root/.cache/pip \ | ||
cd settings-library && pip install . | ||
RUN --mount=type=cache,target=/root/.cache/uv \ | ||
cd settings-library && uv pip install . | ||
|
||
COPY scripts/maintenance/migrate_project/requirements.txt /scripts/requirements.txt | ||
RUN --mount=type=cache,mode=0755,target=/root/.cache/pip \ | ||
pip install -r /scripts/requirements.txt | ||
RUN --mount=type=cache,target=/root/.cache/uv \ | ||
uv pip install -r /scripts/requirements.txt | ||
|
||
COPY scripts/maintenance/migrate_project/src/*.py /scripts/ |
This file contains 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 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 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
Oops, something went wrong.