Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove internal bazel build and Circle CI #1145

Merged
merged 8 commits into from
Jan 8, 2025
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
1 change: 0 additions & 1 deletion .bazelignore

This file was deleted.

4 changes: 0 additions & 4 deletions .bazelrc

This file was deleted.

163 changes: 0 additions & 163 deletions .circleci/config.yml

This file was deleted.

27 changes: 0 additions & 27 deletions .circleci/retry

This file was deleted.

76 changes: 0 additions & 76 deletions BUILD

This file was deleted.

28 changes: 2 additions & 26 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ migrate_down_sqlite:
clear_sqlite:
sqlite3 ~/.sematic/db.sqlite3 < sematic/db/scripts/clear_all.sql

install-dev-deps:
pip3 install -r requirements/ci-requirements.txt

pre-commit:
uvx ruff format --check
uvx ruff check --fix sematic
Expand Down Expand Up @@ -63,22 +60,6 @@ worker-image:
sematic/ui/build:
@$(MAKE) ui

wheel : sematic/ui/build
rm -f bazel-bin/sematic/*.whl
rm -f bazel-bin/sematic/ee/*.whl
cat README.md | \
grep -v "<img" | \
grep -v "<p" | \
grep -v "/p>" | \
grep -v "<h2" | \
grep -v "/h2>" | \
grep -v "<h3" | \
grep -v "/h3>" | \
grep -v "<a" | \
grep -v "/a>" | \
grep -v "/img>" > README.nohtml
bazel build //sematic:wheel

uv-wheel:
cat README.md | \
grep -v "<img" | \
Expand All @@ -91,10 +72,8 @@ uv-wheel:
grep -v "<a" | \
grep -v "/a>" | \
grep -v "/img>" > README.nohtml
# source .venv/bin/activate && python3 -m pandoc read --format=markdown README.nohtml
cp BUILD tmp.BUILD
rm -rf dist build src/*.egg-info
uvx pip wheel -w dist . && rm -rf build && mv tmp.BUILD BUILD
uvx pip wheel -w dist . && rm -rf build
rm README.nohtml

test-release:
Expand All @@ -113,7 +92,4 @@ release-server:
docker push sematic/sematic-server-ee:${TAG}

test:
bazel test //sematic/... --test_tag_filters=nocov --test_output=all

coverage:
bazel coverage //sematic/... --combined_report=lcov --test_tag_filters=cov --test_output=all
source .venv/bin/activate && pytest
Loading
Loading