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
10 changes: 9 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,20 @@ COPY ./${BIN_DEPLOY_HEALTH} /health.sh
WORKDIR /tmp/build
RUN bash /prep.sh && rm /prep.sh
RUN bash /req.sh && rm /req.sh
RUN rm -rf /tmp/build

HEALTHCHECK --interval=5m --timeout=3s CMD /health.sh

RUN chown ${USERNAME}:${USERNAME} -R /tmp/build

USER ${USERNAME}

RUN pip install --no-cache-dir shared_utils*.whl
RUN pip install --no-cache-dir pkg1*.whl

WORKDIR ${HOME_MAIN}

RUN rm -rf /tmp/build

ENV PATH="${HOME_MAIN}/.local/bin:${PATH}"

ENTRYPOINT ["/bin/sh", "/entry.sh"]
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ runTests:
$(UVE) run tox

runBuild:
$(UVE) build
$(UVE) build --package shared-utils
$(UVE) build --package pkg1

runBump: unstaged
$(UVE) run cz bump --files-only --yes --changelog
Expand Down
3 changes: 1 addition & 2 deletions bin/deploy/entry_prod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@
#
# SPDX-License-Identifier: Unlicense
set -euo pipefail

echo 'PROD'
pkg1
sleep infinity
5 changes: 3 additions & 2 deletions bin/deploy/req.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ set -euo pipefail
echo "update"
dnf -y update
echo "installing requirements"
dnf -y install python3 python3-pip git git-lfs make wget coreutils-single jq vim which
dnf -y install python3.13 python3.13-pip git git-lfs make wget coreutils-single jq vim which
dnf -y group install "Development Tools"
dnf -y install bzip2-devel ncurses-devel libffi-devel \
readline-devel openssl-devel sqlite-devel tk-devel
ln -s /usr/bin/python3 /usr/bin/python
ln -s /usr/bin/python3.13 /usr/bin/python
ln -s /usr/bin/pip3.13 /usr/bin/pip
dnf -y install nodejs libatomic
echo "requirements installed"
2 changes: 1 addition & 1 deletion packages/shared_utils/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[project]
classifiers = ["Private :: Do Not Upload"]
name = "shared_utils"
name = "shared-utils"
version = "0.9.4"
description = "Shared library for packages."
readme = "README.md"
Expand Down
24 changes: 12 additions & 12 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading