Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DEPLOYMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ cluster's tooling), NetworkPolicies, and a PodDisruptionBudget.
"version": "2.2.0",
"gpredomicspy_available": true,
"engine_version": "0.1.0",
"engine_ref": "faff348892ca…",
"engine_ref": "acc2a6bf08b1…",
"enginepy_ref": "d963ec310be7…",
"scitq_enabled": false
}
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# that this version of the app was built and tested against. Any git ref works
# (commit, tag or branch), but only a commit or tag gives a reproducible image.
# TODO: replace by release tags once both repositories are tagged.
ARG GPREDOMICS_REF=faff348892ca0047de560daf41ec89029861b4fe
ARG GPREDOMICS_REF=acc2a6bf08b140b6bac356cb8797e2141d0f98cc
ARG GPREDOMICSPY_REF=d963ec310be71afc7f9517084d6a348450160029

# =============================================================================
Expand Down Expand Up @@ -46,7 +46,7 @@

# System packages and the Rust toolchain are separate layers, so a failed
# toolchain download does not redo the apt step.
RUN apt-get update && apt-get install -y --no-install-recommends \

Check failure on line 49 in Dockerfile

View workflow job for this annotation

GitHub Actions / deploy-config

DL3008 warning: Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
build-essential ca-certificates curl git pkg-config libssl-dev && \
rm -rf /var/lib/apt/lists/*

Expand All @@ -58,7 +58,7 @@
ENV PATH="/root/.cargo/bin:${PATH}"

ARG MATURIN_VERSION=1.16.0
RUN --mount=type=cache,target=/root/.cache/pip \

Check failure on line 61 in Dockerfile

View workflow job for this annotation

GitHub Actions / deploy-config

DL3042 warning: Avoid use of cache directory with pip. Use `pip install --no-cache-dir <package>`
pip install "maturin==${MATURIN_VERSION}"

ARG GPREDOMICS_REF
Expand Down Expand Up @@ -107,7 +107,7 @@
MPLCONFIGDIR=/tmp/matplotlib \
XDG_CACHE_HOME=/tmp/.cache

RUN apt-get update && apt-get install -y --no-install-recommends \

Check failure on line 110 in Dockerfile

View workflow job for this annotation

GitHub Actions / deploy-config

DL3008 warning: Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
libgomp1 && \
rm -rf /var/lib/apt/lists/* && \
groupadd --gid 10001 app && \
Expand All @@ -118,11 +118,11 @@
# 1. Locked Python dependencies first (the big, rarely changing layer). Every
# file is checked against the SHA-256 recorded in the lock.
COPY backend/requirements.lock /tmp/requirements.lock
RUN --mount=type=cache,target=/root/.cache/pip \

Check failure on line 121 in Dockerfile

View workflow job for this annotation

GitHub Actions / deploy-config

DL3042 warning: Avoid use of cache directory with pip. Use `pip install --no-cache-dir <package>`
pip install --require-hashes -r /tmp/requirements.lock && rm /tmp/requirements.lock

# 2. The engine wheel on top, without letting it pull unpinned dependencies.
RUN --mount=type=bind,from=rust-builder,source=/build/wheels,target=/tmp/wheels \

Check failure on line 125 in Dockerfile

View workflow job for this annotation

GitHub Actions / deploy-config

DL3042 warning: Avoid use of cache directory with pip. Use `pip install --no-cache-dir <package>`
--mount=type=cache,target=/root/.cache/pip \
pip install --no-deps /tmp/wheels/*.whl

Expand Down Expand Up @@ -189,7 +189,7 @@
# =============================================================================
FROM runtime AS dev

RUN --mount=type=cache,target=/root/.cache/pip \

Check failure on line 192 in Dockerfile

View workflow job for this annotation

GitHub Actions / deploy-config

DL3042 warning: Avoid use of cache directory with pip. Use `pip install --no-cache-dir <package>`
pip install "pytest>=8,<10" "pytest-asyncio>=0.23" "pytest-cov>=5" "aiosqlite>=0.19" "ruff>=0.6" "pip-audit>=2.7"

# =============================================================================
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ x-backend-build: &backend-build
dockerfile: Dockerfile
target: dev
args:
- GPREDOMICS_REF=${GPREDOMICS_REF:-faff348892ca0047de560daf41ec89029861b4fe}
- GPREDOMICS_REF=${GPREDOMICS_REF:-acc2a6bf08b140b6bac356cb8797e2141d0f98cc}
- GPREDOMICSPY_REF=${GPREDOMICSPY_REF:-d963ec310be71afc7f9517084d6a348450160029}

services:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ services:
dockerfile: Dockerfile
args:
# Engine pin: leave unset to use the commits pinned in the Dockerfile.
- GPREDOMICS_REF=${GPREDOMICS_REF:-faff348892ca0047de560daf41ec89029861b4fe}
- GPREDOMICS_REF=${GPREDOMICS_REF:-acc2a6bf08b140b6bac356cb8797e2141d0f98cc}
- GPREDOMICSPY_REF=${GPREDOMICSPY_REF:-d963ec310be71afc7f9517084d6a348450160029}
- APP_VERSION=${APP_VERSION:-}
- VCS_REF=${VCS_REF:-unknown}
Expand Down
Loading