Skip to content

Commit 7f7c36f

Browse files
committed
chore: upgrade uv and tidy up the docker folder
1 parent 3823b76 commit 7f7c36f

15 files changed

Lines changed: 30 additions & 1638 deletions

.github/workflows/docker.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- uses: actions/checkout@v4
2020

2121
- name: Lint
22-
run: hadolint --ignore DL3008 --ignore DL3013 --ignore DL3003 --ignore DL4006 --ignore DL3006 --ignore SC2086 --ignore SC2046 docker/Dockerfile* docker/**/Dockerfile*
22+
run: hadolint --ignore DL3008 --ignore DL4006 --ignore DL3006 --ignore SC2046 docker/Dockerfile
2323

2424
build-and-push:
2525
needs: lint

.github/workflows/main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Install uv and set Python to ${{ matrix.python-version }}
2525
uses: astral-sh/setup-uv@v6
2626
with:
27-
version: "0.8.10"
27+
version: "0.9.30"
2828
python-version: ${{ matrix.python-version }}
2929
- name: Install dependencies
3030
run: |

.github/workflows/release-gpu.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ jobs:
3636
- name: Install uv
3737
uses: astral-sh/setup-uv@v5
3838
with:
39-
version: "0.8.10"
39+
version: "0.9.30"
4040
python-version: "3.11"
4141
- name: Install dependencies
4242
run: |
43-
uv sync --extra dev --extra docs --extra llm
43+
uv sync --lock --extra dev --extra docs --extra llm
4444
uv run python -m ensurepip
4545
- name: Run unit tests
4646
run: |

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ jobs:
3737
- name: Install uv
3838
uses: astral-sh/setup-uv@v5
3939
with:
40-
version: "0.8.10"
40+
version: "0.9.30"
4141
python-version: "3.11"
4242
- name: Install dependencies
4343
run: |
44-
uv sync --extra dev --extra docs --extra llm
44+
uv sync --lock --extra dev --extra docs --extra llm
4545
uv run python -m ensurepip
4646
- name: Run unit tests
4747
run: |

docker-compose-celery.yml

Lines changed: 0 additions & 56 deletions
This file was deleted.

docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ RUN mkdir -p /app/model/model && \
6565

6666
RUN python3.11 -m pip install --require-hashes -r /uv-requirements.txt --no-cache-dir
6767
RUN if [ -z "$PIP_EXTRAS" ]; then \
68-
uv sync --no-dev --python 3.11; \
68+
uv sync --lock --no-dev --python 3.11; \
6969
else \
70-
uv sync --no-dev --python 3.11 $(printf "%s" "$PIP_EXTRAS" | tr ',' ' ' | sed 's/\([^ ]*\)/--extra \1/g'); \
70+
uv sync --lock --no-dev --python 3.11 $(printf "%s" "$PIP_EXTRAS" | tr ',' ' ' | sed 's/\([^ ]*\)/--extra \1/g'); \
7171
fi
7272
RUN /.venv/bin/python -m ensurepip && \
7373
chown -R $CMS_UID:$CMS_GID /.venv && \

docker/celery/.dockerignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

docker/celery/.env

Lines changed: 0 additions & 1 deletion
This file was deleted.

docker/celery/Dockerfile-Dashboard

Lines changed: 0 additions & 22 deletions
This file was deleted.

docker/celery/Dockerfile-Worker

Lines changed: 0 additions & 39 deletions
This file was deleted.

0 commit comments

Comments
 (0)