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
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ build:
stage: build
image: harbor.dataknife.net/dockerhub/library/python:3.14-slim
script:
- apt-get update && apt-get install -y --no-install-recommends git build-essential
- apt-get update && apt-get install -y --no-install-recommends make git build-essential
- pip install --upgrade pip build
- python -m build
- make build
artifacts:
paths:
- dist/
Expand Down
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: help install dev test lint format clean docker-build docker-login docker-push docker-pull docker-run run check check-all commit-changes release venv
.PHONY: help install dev test lint format clean build docker-build docker-login docker-push docker-pull docker-run run check check-all commit-changes release venv

# Force use of bash shell (required for make to work properly with line continuations)
SHELL := /bin/bash
Expand Down Expand Up @@ -67,6 +67,10 @@ format:
$(BLACK) src tests
$(RUFF) check --fix src tests

build: clean
pip install --upgrade pip build
python -m build

clean:
find . -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null || true
find . -type f -name "*.pyc" -delete
Expand Down