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

Release pre release corrections builds tests warnings docs #416

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
583 commits
Select commit Hold shift + click to select a range
40e1a80
Fix: No url found for submodule path 'go-ukv'
gurgenyegoryan Jul 11, 2023
1b3c104
Make: Create and update conan default profile
gurgenyegoryan Jul 11, 2023
6410f02
Fix: Invalid package name
gurgenyegoryan Jul 11, 2023
f92d1e5
Fix: java installation failed
gurgenyegoryan Jul 11, 2023
a54bc55
Make: Export downloaded packages
gurgenyegoryan Jul 11, 2023
576e3a0
Fix:Disable tar output
gurgenyegoryan Jul 11, 2023
11c9639
Fix: Disable shared arrow
gurgenyegoryan Jul 11, 2023
06edaa3
Fix: No such file or directory
gurgenyegoryan Jul 11, 2023
edb1d84
Fix: full path for make
gurgenyegoryan Jul 11, 2023
0c1fc06
Make: enable python builds
gurgenyegoryan Jul 11, 2023
99610fa
Refactor: get conan archive
gurgenyegoryan Jul 12, 2023
f3c2ba0
Temporary disable ucset build
gurgenyegoryan Jul 12, 2023
bb19a49
Fix: compiler version for conan
gurgenyegoryan Jul 12, 2023
d7ec67c
Refactor: configure cmake and make
gurgenyegoryan Jul 12, 2023
7c66dd9
Refactor
gurgenyegoryan Jul 12, 2023
079c1db
Refactor: Cmake and build commands
gurgenyegoryan Jul 12, 2023
d9d282c
Fix: Illegal character
gurgenyegoryan Jul 12, 2023
3480c61
Refactor: CHange wheel build commands
gurgenyegoryan Jul 12, 2023
cbd6374
Make: Test with shared libraries
gurgenyegoryan Jul 12, 2023
e2726d5
Fix: Invalid name
gurgenyegoryan Jul 12, 2023
78a289d
Fix: Test python and build
gurgenyegoryan Jul 12, 2023
b0323f1
Fix: Invalid package name
gurgenyegoryan Jul 12, 2023
b3b704a
Fix: conan path
gurgenyegoryan Jul 12, 2023
b8dd2c2
Make: Detect conan profile
gurgenyegoryan Jul 12, 2023
10a1927
Refactor: Number of cpu
gurgenyegoryan Jul 12, 2023
5616165
Fix: Remove keys
gurgenyegoryan Jul 12, 2023
e16b1c4
Disable python builds
gurgenyegoryan Jul 12, 2023
c48eb51
Make: Get leveldb with conan
gurgenyegoryan Jul 12, 2023
4cc8db1
Build with shared libraries
gurgenyegoryan Jul 13, 2023
829c2ae
Make: Build dependency static
gurgenyegoryan Jul 13, 2023
700a4b4
Fix: undefined references for dependency
gurgenyegoryan Jul 13, 2023
b51135d
Fix: Invalid options
gurgenyegoryan Jul 13, 2023
9cefb9f
Refactor: Install dependency using github lfs
gurgenyegoryan Jul 13, 2023
d3f3cd1
Refactor: Install dependency using github lfs
gurgenyegoryan Jul 13, 2023
dadf9c8
Fix: temporary disable wheels build
gurgenyegoryan Jul 13, 2023
416e19a
Refactor: Get binaries from Github
gurgenyegoryan Jul 13, 2023
4d21f0f
Make: fPIC for leveldb
gurgenyegoryan Jul 13, 2023
9e7376a
Refactor: Get binaries from Github
gurgenyegoryan Jul 13, 2023
c82f972
Make: java, go tests
gurgenyegoryan Jul 13, 2023
0761dbe
Fix: Build_test target link arrow libs
gurgenyegoryan Jul 13, 2023
7c7391d
Add: Release workflow for publish ustore
gurgenyegoryan Jul 13, 2023
99c8411
Make: Golang publisht steps
gurgenyegoryan Jul 13, 2023
c19873c
Fix: Invalid path
gurgenyegoryan Jul 14, 2023
8c3b408
Fix: Invalid tests path
gurgenyegoryan Jul 14, 2023
4434f66
Fix: Disable workflow on main-dev
gurgenyegoryan Jul 14, 2023
0a14f67
Fix: Correct libraries name
gurgenyegoryan Jul 14, 2023
fd1dfc3
Test workflow
gurgenyegoryan Jul 14, 2023
9f1606e
Fix: re2 utf8proc not found
gurgenyegoryan Jul 14, 2023
3cd7fd5
Fix: leveldb undefined
gurgenyegoryan Jul 14, 2023
0292e6c
Fix: rocksdb undefined references re2 utf8proc
gurgenyegoryan Jul 14, 2023
0cdaf0a
Make: -j add 4
gurgenyegoryan Jul 14, 2023
08dc0c6
Make: arrow_python for sdk
gurgenyegoryan Jul 14, 2023
ec86fe0
Fix: Invalid dependecies tags
gurgenyegoryan Jul 14, 2023
761097e
Make: All addiction aws
gurgenyegoryan Jul 15, 2023
482ba60
Fix: pyarrow version"
gurgenyegoryan Jul 15, 2023
b2b87e0
Add: docker login and push
gurgenyegoryan Jul 15, 2023
23da844
Add: Dockerfile with conan
gurgenyegoryan Jul 15, 2023
8ae8ea7
Fix: invalid tag
gurgenyegoryan Jul 15, 2023
bce3b19
Fix: version in buildx command
gurgenyegoryan Jul 15, 2023
0eea915
Fix: REmove README from dockerignore for conan
gurgenyegoryan Jul 15, 2023
c9339ab
Make: set make argument to -j4
gurgenyegoryan Jul 15, 2023
7f006d7
Add: build and publish docker
gurgenyegoryan Jul 15, 2023
f9f3ad8
Make: Only build and test
gurgenyegoryan Jul 15, 2023
d16e88e
Fix: -j count for setup.py
gurgenyegoryan Jul 15, 2023
f08b2d8
Make: Disable wget output
gurgenyegoryan Jul 15, 2023
87d4d75
Fix: Names for actions
gurgenyegoryan Jul 15, 2023
def5254
Refactor: remove -j4 from setup.py
gurgenyegoryan Jul 15, 2023
b5a9db3
Improve: Rocksdb in conanfile
gurgenyegoryan Jul 16, 2023
9ef13de
Refactor: Get librocksdb from conan
gurgenyegoryan Jul 16, 2023
9b9f1ce
Make: New link to deps
gurgenyegoryan Jul 16, 2023
9e72600
Make: New link to deps
gurgenyegoryan Jul 16, 2023
d27eb2c
Make: Test without conan export
gurgenyegoryan Jul 16, 2023
8856f5f
Make: Test without conan export
gurgenyegoryan Jul 16, 2023
9421fe6
Fix: missing binaries
gurgenyegoryan Jul 16, 2023
4e497fc
Make test
gurgenyegoryan Jul 16, 2023
0c2d189
Resolve all tests
gurgenyegoryan Jul 16, 2023
24b3a63
Make: add conan export stage
gurgenyegoryan Jul 16, 2023
8da1371
Add: DiGraph class
davvard Jul 17, 2023
9484adc
Add: DataBase digraph function
davvard Jul 17, 2023
ee2296f
Add: Typed graph
davvard Jul 17, 2023
1e95361
Add: Tests for DiGraph
davvard Jul 17, 2023
3fb5975
Add: install rocksdb with conan
gurgenyegoryan Jul 17, 2023
56cf9d5
Fix: Remove docker test and disable golang test
gurgenyegoryan Jul 17, 2023
019b53c
Fix: rocksdb fPIC error
gurgenyegoryan Jul 17, 2023
8bdc61f
Refactor: New dependecies release link
gurgenyegoryan Jul 17, 2023
8cae408
Add: Struct logger
davvard Jul 17, 2023
0550e4e
Refactor: Getting metadata
davvard Jul 17, 2023
53597ba
Refactor: Make new test
gurgenyegoryan Jul 17, 2023
14532e3
Make: Bundle libraries and set in engines
gurgenyegoryan Jul 17, 2023
c8f08da
Make: If else for old build
gurgenyegoryan Jul 17, 2023
7f21be6
Fix: Old urls
gurgenyegoryan Jul 17, 2023
22ed242
Make: ucset build
gurgenyegoryan Jul 17, 2023
1cc56c4
Fix: Rocksdb invalig tag
gurgenyegoryan Jul 17, 2023
9af5399
Make: Create arrow bundled from conan packages
gurgenyegoryan Jul 17, 2023
9216f2a
Fix: engines build
gurgenyegoryan Jul 17, 2023
745df75
Fix: jemalloc link erro
gurgenyegoryan Jul 17, 2023
53fc05b
Fix: Python sdk build target links
gurgenyegoryan Jul 17, 2023
e037685
Refactor: Enable python and java tests
gurgenyegoryan Jul 17, 2023
737da43
Refactor: Enable build_pyi for testing
gurgenyegoryan Jul 17, 2023
a3f7b09
Perf: Catching metada once on DataBase open
davvard Jul 18, 2023
ac896d7
Fix: Export Snapshot test
davvard Jul 18, 2023
d3de241
Form: Appropriate format
davvard Jul 18, 2023
f53a1a8
Form: flight_server.cpp
davvard Jul 18, 2023
81beb2c
Form: flight_server.cpp
davvard Jul 18, 2023
d81b1c3
Form: Appropriate format
davvard Jul 18, 2023
accb272
Add: All Graph types
davvard Jul 18, 2023
86bcccf
Fix: Specific functions for graph types
davvard Jul 18, 2023
dbf50d0
Add: MultiGraph test
davvard Jul 18, 2023
12204fe
Refactor: Creating class names
davvard Jul 18, 2023
15d1865
Add: Build glibc 2.32
gurgenyegoryan Jul 18, 2023
e13aa4e
Fix: Polish code and remove conan on
gurgenyegoryan Jul 18, 2023
ce401cf
Make: Set conan on from cmake command
gurgenyegoryan Jul 18, 2023
4805c6e
Polish code
gurgenyegoryan Jul 18, 2023
2e52acb
Fix: Url and polish
gurgenyegoryan Jul 18, 2023
e928394
Make: Enable conan with cmake argument
gurgenyegoryan Jul 18, 2023
87f6bc8
Make: Enable conan with cmake argument
gurgenyegoryan Jul 18, 2023
c394ea8
Refactor: Disable golang build and publish
gurgenyegoryan Jul 18, 2023
e2d3d81
Refactor: Disable golang build test
gurgenyegoryan Jul 18, 2023
059f2b1
Make: Addiction from versioning action
gurgenyegoryan Jul 18, 2023
656098d
Polish: Remove unnecessary comments
gurgenyegoryan Jul 18, 2023
c0c6215
Polish: Correct action names
gurgenyegoryan Jul 18, 2023
7219292
Refactor: Checkout with ref main
gurgenyegoryan Jul 18, 2023
0e05f52
Polish: Remove unnecessary comment
gurgenyegoryan Jul 18, 2023
0999570
Make: Fix formatting
gurgenyegoryan Jul 18, 2023
ac9ecf4
Refactor: Change CONAN variable name to USE_CONAN
gurgenyegoryan Jul 18, 2023
597863d
Refactor: Update openssl version
gurgenyegoryan Jul 18, 2023
1a62e4a
Merge pull request #390 from unum-cloud/386-feature-add-logging-mecha…
ashvardanian Jul 19, 2023
f8d1f71
Merge branch 'main-dev' into 395-feature-retrieve-metadata-from-server
ashvardanian Jul 19, 2023
6ffea35
Merge pull request #396 from unum-cloud/395-feature-retrieve-metadata…
ashvardanian Jul 19, 2023
101d465
Upgrade: Unum/x86_linux conan package version
gurgenyegoryan Jul 19, 2023
c3c8e25
Format: modality_docs.cpp
davvard Jul 24, 2023
731fced
Fix: ustore_docs_write
davvard Jul 24, 2023
54e0f5e
Docs: Set default cpp formatter
davvard Jul 24, 2023
e86c500
Merge pull request #403 from unum-cloud/401-bug-docs_ref-clear-throws…
ashvardanian Jul 24, 2023
74fe771
Merge pull request #404 from unum-cloud/402-feature-set-c++-default-f…
ashvardanian Jul 24, 2023
5336b9a
Upgrade: 'Conan' version to 1.60.1
gurgenyegoryan Jul 24, 2023
fdea566
Add: Edge id generation
davvard Jul 24, 2023
aaca207
Add: Test add remove edges
davvard Jul 24, 2023
357d24e
Add: Test edge iteration
davvard Jul 24, 2023
0da6a8c
Add: Test edge id
davvard Jul 24, 2023
96ddefb
Add: Edges iteration with keys
davvard Jul 24, 2023
18c9689
Fix: Set keys to false if not multigraph
davvard Jul 24, 2023
bdcbdf7
Refactor: networkx.cpp
davvard Jul 25, 2023
4979b63
Refactor: networkx_test.cpp
davvard Jul 25, 2023
9508eb9
Fix: add_edge
davvard Jul 25, 2023
4b8f0d3
Add: Test add overwrite edges
davvard Jul 25, 2023
e0b33e5
Fix: Start keys from 0
davvard Jul 25, 2023
0df5828
Refactor: remove_edge
davvard Jul 25, 2023
616e65f
Merge pull request #405 from unum-cloud/398-feature-add-digraph-multi…
ashvardanian Jul 25, 2023
c8069d6
Fix: Edges and nodes ranges
davvard Jul 25, 2023
0acbfc2
Fix: Test batch attributes
davvard Jul 25, 2023
5f3f048
Merge pull request #406 from unum-cloud/398-feature-add-digraph-multi…
ashvardanian Jul 25, 2023
a53df3b
Refactor: Set conan include_directories directly
gurgenyegoryan Jul 26, 2023
d1d78ca
Refactor: Dependencies list and versions in conanfile.py
gurgenyegoryan Jul 26, 2023
41386ac
Upgrade: Version of gRPC with 'arrow' compatible
gurgenyegoryan Jul 27, 2023
699e3c6
Make: Add arrow source
gurgenyegoryan Jul 27, 2023
fa4ccf1
Make: Change arrow links
gurgenyegoryan Jul 27, 2023
54ef4c2
Make: Temporary disable rocksdb and leveldb
gurgenyegoryan Jul 27, 2023
b56d6f9
Refactor: Export cxx and cc
gurgenyegoryan Jul 27, 2023
a8303ba
Fix: Invalid condition
gurgenyegoryan Jul 27, 2023
33e750e
Fix: Invalid condition
gurgenyegoryan Jul 27, 2023
5c3a2dc
Refactor: Separate tags for Python and C++
gurgenyegoryan Jul 27, 2023
d528888
Make: Add bundled variable for arrow
gurgenyegoryan Jul 27, 2023
43ba4e2
Make: Remove archvies after unpack
gurgenyegoryan Jul 27, 2023
b2c5932
Make: New link for arrow source
gurgenyegoryan Jul 27, 2023
57083d1
Fix: Correct path for arrow libs
gurgenyegoryan Jul 27, 2023
c8b3a02
Fix: Uncomment openssl
gurgenyegoryan Jul 27, 2023
2cc4184
Refactor: Disable wget and tar output
gurgenyegoryan Jul 27, 2023
2e1de96
Refactor: Openssl link libs
gurgenyegoryan Jul 27, 2023
4d1eba2
Fix: Undefined name crypto
gurgenyegoryan Jul 27, 2023
a4ada79
Make: Add openssl deps to openssl-external
gurgenyegoryan Jul 27, 2023
e633b82
Make: Update manylinux version
gurgenyegoryan Jul 27, 2023
ea3d5f6
Make: Add conda libs to LD_LIBRARY_PATH
gurgenyegoryan Jul 27, 2023
adad9a5
Fix: Link error
gurgenyegoryan Jul 27, 2023
b4d6960
Refactor: manylinux version
gurgenyegoryan Jul 27, 2023
24cbc44
Fix: yum not found
gurgenyegoryan Jul 27, 2023
bdecf64
Refactor: Manual add gcc and g++ path
gurgenyegoryan Jul 27, 2023
6c9b038
Refactor: Url for arrow source
gurgenyegoryan Jul 27, 2023
1c8b3c7
Make: Include pyarrow in miniconda
gurgenyegoryan Jul 27, 2023
c779369
Fix: arrow source
gurgenyegoryan Jul 27, 2023
3f0876f
Make: Static link to arrow libs
gurgenyegoryan Jul 27, 2023
93cdbd9
Fix: arrow::bundled not found
gurgenyegoryan Jul 27, 2023
73e1227
Make: Temporary set pyarrow_dir in setup.py
gurgenyegoryan Jul 27, 2023
ff80647
Refactor
gurgenyegoryan Jul 27, 2023
7b21554
Make: build on manylinux_2_28
gurgenyegoryan Jul 27, 2023
22730ac
Fix: pyarrow version
gurgenyegoryan Jul 27, 2023
8825f5d
Fix: pyarrow version
gurgenyegoryan Jul 27, 2023
13414e0
Fix: Invalid install command
gurgenyegoryan Jul 27, 2023
f81e452
Fix: Invalid install command
gurgenyegoryan Jul 27, 2023
7910528
Fix: PYARROW_DIR
DarvinHarutyunyan Jul 28, 2023
43ec0b1
Fix: setup.py cmake_args
DarvinHarutyunyan Jul 28, 2023
5fdbcba
Fix: setup.py cmake_args
DarvinHarutyunyan Jul 28, 2023
4a08bf3
Make: Fox libraries path of 'arrow'
DarvinHarutyunyan Jul 28, 2023
f0d0265
Refactor: pyproject before-build step
DarvinHarutyunyan Jul 28, 2023
088155e
Refactor: conanfile.py list of requirements
DarvinHarutyunyan Jul 28, 2023
3b25425
Upgrade: pyarrow version to 10.0.1 in setup.py
DarvinHarutyunyan Jul 28, 2023
98ca517
Make: Fix pyarrow dependencies for 'USTORE_BUILD_SDK_PYTHON' step
DarvinHarutyunyan Jul 28, 2023
6f22c18
Upgrade: pyarrow to 10.0.1 in pyproject
DarvinHarutyunyan Jul 28, 2023
2da391d
Make: Fx incorrect USTORE_BUILD_SDK_PYTHON flag check
DarvinHarutyunyan Jul 28, 2023
b8a4b34
Fix: Cmake list FILTER behavior
DarvinHarutyunyan Jul 28, 2023
f320fcf
Refactor: Remove unnecessary lines
DarvinHarutyunyan Jul 28, 2023
95e46f9
Fix: Library paths for pyarrow
DarvinHarutyunyan Jul 28, 2023
ee2db1d
Fix: Invalid array element
DarvinHarutyunyan Jul 28, 2023
b399f16
Fix: Wrong conan package name
DarvinHarutyunyan Jul 28, 2023
4bbcf13
Refactor: Set conan default profile compiler
DarvinHarutyunyan Jul 28, 2023
e92fd9e
Fix: Conan default profile compiler version
DarvinHarutyunyan Jul 28, 2023
553900d
Fix: OpenSSL missing parts for arrow
DarvinHarutyunyan Jul 28, 2023
5aa6e8c
Fix: Variables case sensitive names
DarvinHarutyunyan Jul 28, 2023
be7d520
Fix: Include arrow.cmake when USE_CONAN is not set
DarvinHarutyunyan Jul 28, 2023
b15b6fa
Make: Disable 'USTORE_BUILD_SDK_PYTHON'
gurgenyegoryan Jul 29, 2023
ed607d9
Make: Backward compatible CMakeLists.txt
gurgenyegoryan Jul 29, 2023
5f7e99c
Make: Backward compatible CMakeLists.txt
gurgenyegoryan Jul 29, 2023
8f1652a
Make: Python wheels build on default manylinux of pyproject
gurgenyegoryan Jul 30, 2023
fd2753d
Make: Enable leveldb and rocksdb python modules
DarvinHarutyunyan Jul 31, 2023
917b637
Refactor: Upgrade ustore version of conan package in pyproject and re…
DarvinHarutyunyan Jul 31, 2023
022f788
Fix: Invalid url for package
gurgenyegoryan Jul 31, 2023
1eee422
Fix: Undefined reference to absl
gurgenyegoryan Jul 31, 2023
5370d92
Fix: Rocksdb undefined reference to bundled libs
gurgenyegoryan Jul 31, 2023
51b2775
Refactor: Disable conan from pyproject
gurgenyegoryan Jul 31, 2023
6b48cb3
Make: New conan url for java build
gurgenyegoryan Jul 31, 2023
cc36d66
Merge pull request #399 from gurgenyegoryan/main-dev
ashvardanian Aug 1, 2023
73024d2
Build: Released 0.13.0 [skip ci]
semantic-release-bot Aug 1, 2023
6039af1
Refactor: Reducing 'Python Wheels Build' time
DarvinHarutyunyan Aug 2, 2023
680dd71
Refactor: 'USTORE_USE_PYARROW' flag usage
DarvinHarutyunyan Aug 3, 2023
1cbb1b0
Refactor: Remove unnecessary parts of the code
DarvinHarutyunyan Aug 3, 2023
8047c8b
Merge pull request #408 from unum-cloud/407-feature-improve-build-and…
ashvardanian Aug 3, 2023
bdcd17f
Merge branch 'main' into main-dev
ashvardanian Aug 3, 2023
ae36390
Build: Released 0.13.1 [skip ci]
semantic-release-bot Aug 3, 2023
7288203
release-pre-release-corrections-builds-tests-warnings-docs
DarvinHarutyunyan Aug 3, 2023
316205f
Build: Fix build with 'USE_CONAN' flag
DarvinHarutyunyan Aug 3, 2023
a388620
Build: Ustore python wheels by 'USE_CONAN' flag
DarvinHarutyunyan Aug 3, 2023
b7bebf6
Make: Split the execution paths of 'USTORE_BUILD_SDK_PYTHON' and 'USE…
DarvinHarutyunyan Aug 4, 2023
9749262
Make: Аppropriate RocksDB version in rocksdb.cmake
DarvinHarutyunyan Aug 4, 2023
9d30b04
Fix: Not found default-jdk
gurgenyegoryan Aug 4, 2023
d920172
Refactor: Extract ustore_deps_x86_linux.tar.gz in not verbose mode
DarvinHarutyunyan Aug 4, 2023
417c97e
Merge branch 'release-pre-release-corrections-builds-tests-warnings-d…
DarvinHarutyunyan Aug 4, 2023
6fb16fb
Refacotr: Disable tar verbose output
gurgenyegoryan Aug 4, 2023
ec01045
Merge branch 'release-pre-release-corrections-builds-tests-warnings-d…
gurgenyegoryan Aug 4, 2023
eaffab4
Make: New conan package url for python
gurgenyegoryan Aug 4, 2023
f19602f
Refactor: Name corrections (ustore -> UStore)
DarvinHarutyunyan Aug 4, 2023
49d1df3
Merge branch 'release-pre-release-corrections-builds-tests-warnings-d…
DarvinHarutyunyan Aug 4, 2023
4b00e6b
Fix: Prepare a temporary directory for UStore unit tests
DarvinHarutyunyan Aug 4, 2023
abf2f9d
Fix: Flight client test
gurgenyegoryan Aug 8, 2023
03a020f
Refactor: Passing CLI arguments to the server during a test run
DarvinHarutyunyan Aug 8, 2023
2b85a0a
Merge branch 'release-pre-release-corrections-builds-tests-warnings-d…
DarvinHarutyunyan Aug 8, 2023
4077fcf
Fix: Config file path in ustore_server CLI
DarvinHarutyunyan Aug 8, 2023
463b351
Fix: Terminate 'fmt::v9::format_error' string pointer is null
DarvinHarutyunyan Aug 8, 2023
055227f
Fix: Empty space in Server CLI arguments for clipp parser
DarvinHarutyunyan Aug 8, 2023
d993a45
Fix: Configuration structure and directory path in JAVA
DarvinHarutyunyan Aug 10, 2023
9ba4f66
Fix: "Build and Test JAVA" job of pipeline
DarvinHarutyunyan Aug 11, 2023
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 .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ golang
java
javascript

README.md
# README.md
CHANGELOG.md
presentation.md
build.gradle
Expand Down
130 changes: 129 additions & 1 deletion .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ on:

env:
GH_TOKEN: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
BUILD_TYPE: Release


jobs:

versioning:
name: Semantic Release
runs-on: ubuntu-latest
Expand All @@ -20,3 +20,131 @@ jobs:
ref: 'main-dev'
- uses: actions/setup-node@v3
- run: cp .github/workflows/package.json . && npm install && npx semantic-release


build_ustore:
name: Build UStore
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
ref: 'main-dev'

- run: git submodule update --init --recursive

- name: Prepare CMake, Conan and PyArrow
run: python -m pip install --force-reinstall numpy pyarrow cmake conan==1.60.1

- name: Install UStore dependencies using conan
run: |
wget -q https://github.com/unum-cloud/ustore-deps/releases/download/v0.1.3/ustore_deps_x86_linux.tar.gz
conan profile new --detect default
conan profile update settings.compiler.libcxx=libstdc++11 default
tar -xzf ./ustore_deps_x86_linux.tar.gz -C ~/.conan
conan install ustore_deps/0.12.1@unum/x86_linux -g cmake -s compiler.version=11
rm -rf ./ustore_deps_x86_linux.tar.gz

- name: Configure cmake
run: |
cmake -DCMAKE_BUILD_TYPE="$BUILD_TYPE" \
-DUSTORE_BUILD_ENGINE_UCSET=1 \
-DUSTORE_BUILD_ENGINE_LEVELDB=1 \
-DUSTORE_BUILD_ENGINE_ROCKSDB=1 \
-DUSTORE_BUILD_API_FLIGHT=1 \
-DUSTORE_BUILD_TESTS=1 \
-DUSE_CONAN=1 \
-B ./build_release .

- name: Build
run: make -j 4 -C ./build_release

- name: Upload Binaries
uses: actions/upload-artifact@v3.1.1
with:
name: binaries
path: build_release/build/bin/*


test_ustore:
name: Test UStore
runs-on: ubuntu-latest
needs: build_ustore
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
ref: 'main-dev'

- name: Download a Build Artifact
uses: actions/download-artifact@v3.0.1
with:
name: binaries

- name: Change Permissions
run: chmod +x /home/runner/work/ustore/ustore/*

- name: Run Embeded servers unit tests
run: |
mkdir -p ./tmp/ustore/
export USTORE_TEST_PATH="./tmp/"
for test in $(ls /home/runner/work/ustore/ustore/*test_units_ustore_embedded*); do
echo -e "------ \e[93mRunning $test\e[0m ------"
timeout -v --kill-after=5 300 $test
done

- name: Run flight client test
run: /home/runner/work/ustore/ustore/test_units_ustore_flight_client


build_test_wheel:
name: Build and test Python wheels
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
ref: 'main-dev'

- name: Prepare CMake, Conan and PyArrow
run: python -m pip install --force-reinstall numpy pyarrow cmake conan==1.60.1

- name: Build wheel
run: |
pip install cibuildwheel twine
CIBW_BUILD="cp39-*" cibuildwheel --platform linux
CIBW_BUILD="cp310-*" cibuildwheel --platform linux


build_test_java:
name: Build and test java
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
persist-credentials: false
ref: 'main-dev'

- name: Prepare CMake, Conan and PyArrow
run: python -m pip install --force-reinstall numpy pyarrow cmake conan==1.60.1

- name: Install default jdk
run: |
sudo apt update
sudo apt install default-jdk -y

- name: Install UStore dependencies using conan
run: |
wget -q https://github.com/unum-cloud/ustore-deps/releases/download/v0.1.3/ustore_deps_x86_linux.tar.gz
conan profile new --detect default
conan profile update settings.compiler.libcxx=libstdc++11 default
tar -xzf ./ustore_deps_x86_linux.tar.gz -C ~/.conan
conan install ustore_deps/0.12.1@unum/x86_linux -g cmake -s compiler.version=11
rm -rf ./ustore_deps_x86_linux.tar.gz

- name: Build and test java
run: |
sed -i 's/make -j/make -j4/' /home/runner/work/ustore/ustore/java/pack.sh
export JAVA_HOME="/usr/lib/jvm/java-11-openjdk-amd64"
bash /home/runner/work/ustore/ustore/java/pack.sh
125 changes: 121 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ env:


jobs:

versioning:
name: Semantic Release
runs-on: ubuntu-latest
Expand All @@ -36,14 +35,13 @@ jobs:
- uses: actions/setup-node@v3
- run: cp .github/workflows/package.json . && npm install && npx semantic-release


# Single deploy job since we're just deploying
deploy:
name: Deploy Docs
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
needs: versioning
steps:
- name: Checkout
Expand All @@ -67,8 +65,127 @@ jobs:
- name: Upload artifacts
uses: actions/upload-pages-artifact@v1
with:
# Upload entire repository
path: "./build/docs/html/"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1


build_wheel:
name: Build python
runs-on: ubuntu-latest
needs: versioning
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
ref: 'main'
- name: Prepare CMake, Conan and PyArrow
run: python -m pip install --force-reinstall numpy pyarrow cmake conan==1.60.1

- name: Build wheel
run: |
pip install cibuildwheel twine
CIBW_BUILD="cp39-*" cibuildwheel --platform linux
CIBW_BUILD="cp310-*" cibuildwheel --platform linux

- uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl


publish_python:
name: Publish Python
needs: build_wheels
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/usearch
permissions:
id-token: write
steps:
- name: Download artifacts
uses: actions/download-artifact@v3.0.2
with:
path: ./dist/

- name: Publish to PyPi
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: ./dist/artifact
verbose: true
print-hash: true


build_publish_java:
name: Build and publish Java
needs: versioning
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
persist-credentials: false
ref: 'main'
- name: Prepare CMake, Conan and PyArrow
run: python -m pip install --force-reinstall numpy pyarrow cmake conan==1.60.1

- name: Install UStore dependencies using conan
run: |
wget -q https://github.com/unum-cloud/ustore-deps/releases/download/v0.1.3/ustore_deps_x86_linux.tar.gz
conan profile new --detect default
conan profile update settings.compiler.libcxx=libstdc++11 default
tar -xzf ./ustore_deps_x86_linux.tar.gz -C ~/.conan
conan install ustore_deps/0.12.1@unum/x86_linux -g cmake -s compiler.version=11
rm -rf ./ustore_deps_x86_linux.tar.gz

- name: Install default jdk
run: |
sudo apt update
sudo apt install default-jdk -y

- name: Build and test java
run: |
export JAVA_HOME="/usr/lib/jvm/java-11-openjdk-amd64"
bash java/pack.sh

- name: Publish java
run: ./java/gradlew publish


build_publish_docker:
name: Build and publish docker
needs: versioning
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
persist-credentials: false
ref: 'main'

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: docker login
uses: azure/docker-login@v1
with:
login-server: index.docker.io
username: ${{ secrets.DOCKERIO_USERNAME }}
password: ${{ secrets.DOCKERIO_PASSWORD }}

- name: Build Docker
run: |
export version=$(cat VERSION)
sed -i 's/make -j32/make -j4/' ./Dockerfile
docker buildx create --use
docker buildx build \
--platform "linux/amd64,linux/arm64" \
--build-arg version=$version \
--file ./Dockerfile \
--tag unum/ustore:$version-jammy \
--tag unum/ustore:latest \
--push .
36 changes: 31 additions & 5 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -297,20 +297,25 @@
"miDebuggerPath": "/usr/bin/gdb"
},
{
"name": "C++: Test Arrow Client",
"name": "C++: Test Arrow Client Server",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/build_debug/build/bin/test_units_ustore_flight_client",
"args": [
"--gtest_break_on_failure",
"--gtest_catch_exceptions=0"
],
"environment": [
{
"name": "USTORE_ENGINE_NAME",
"value": "${input:USTORE_ENGINE_NAME}"
}
],
"cwd": "${workspaceFolder}",
"environment": [],
"showDisplayString": true,
"stopAtEntry": false,
"externalConsole": false,
"preLaunchTask": "Build Debug Arrow Client",
"preLaunchTask": "Build Debug Arrow Client Server",
"MIMode": "gdb",
"miDebuggerPath": "/usr/bin/gdb"
},
Expand Down Expand Up @@ -378,7 +383,7 @@
"showDisplayString": true,
"stopAtEntry": false,
"externalConsole": false,
"preLaunchTask": "Build Debug Tools Test",
"preLaunchTask": "Build Debug Test Tools",
"MIMode": "gdb",
"miDebuggerPath": "/usr/bin/gdb"
}
Expand All @@ -391,6 +396,27 @@
"C++: Test Arrow Server",
"C++: Test Arrow Client"
]
},
{
"name": "C++: Test All Tools",
"stopAll": true,
"configurations": [
"C++: Test Arrow Server",
"C++: Test Tools"
]
}
],
"inputs": [
{
"id": "USTORE_ENGINE_NAME",
"type": "pickString",
"description": "Enter the engine name:",
"default": "ucset",
"options": [
"ucset",
"rocksdb",
"leveldb"
]
}
]
],
}
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@
"__bits": "cpp",
"__std_stream": "cpp"
},
"[cpp]": {
"editor.defaultFormatter": "xaver.clang-format"
},
"java.configuration.updateBuildConfiguration": "automatic",
"python.testing.pytestEnabled": true,
"python.testing.pytestArgs": [
Expand Down
Loading