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

Stable Fides Version #166

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
40 changes: 40 additions & 0 deletions .asf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

github:
description: Global-Scale Sustainable Blockchain Fabric
#homepage: resilientdb.apache.org
labels:
- crypto
- smart-contracts
- blockchain
- solidity
- distributed-database
- key-value-database
- distributed-ledger
- blockchain-platform
- utxo
enabled_merge_buttons:
squash: true
merge: false
rebase: false
protected_branches:
master:

notifications:
commits: [email protected]
issues: [email protected]
pullrequests: [email protected]
1 change: 1 addition & 0 deletions .bazelversion
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6.3.2
4 changes: 3 additions & 1 deletion .github/workflows/build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
with:
file: ./Docker/Dockerfile
context: .
platforms: linux/amd64
push: true
tags: expolab/resdb:amd64

Expand All @@ -39,5 +40,6 @@ jobs:
with:
file: ./Docker/Dockerfile_mac
context: .
platforms: linux/arm64
push: true
tags: expolab/resdb:arm64
tags: expolab/resdb:arm64
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
deps/*/
scripts/deploy/config/key.conf
scripts/deploy/config_out/
deploy/kv_server/output/
.idea/
.vscode/
Expand All @@ -9,3 +11,6 @@ bazel-*
venv
sdk_validator/venv
__pycache__
build
enclave/sgxcode/test

8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Change Log

### NexRes v1.9.0 ([2023-11-29](https://github.com/resilientdb/resilientdb/releases/tag/nexres-v1.9.0))

Support Multi-version Key-Value Interface. ([Junchao Chen](https://github.com/cjcchen))

* Get and Set need to provide a version number to fetch the correct version of the data (if exists) or write to the correct version of data (if not overwritten already), respectively.
* Provide interfaces to obtain historical data with a specific version or a range of versions.


### NexRes v1.8.0 ([2023-08-21](https://github.com/resilientdb/resilientdb/releases/tag/nexres-v1.8.0))

**Implemented Enhancements:** The view-change recovery protocol was extensively expanded to support the following Byzantine failures through primary/leader replacement and replica recovery. ([Dakai Kang](https://github.com/DakaiKang))
Expand Down
2 changes: 2 additions & 0 deletions Docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@ COPY . /app
RUN bazel --version
RUN bazel build @com_github_bazelbuild_buildtools//buildifier:buildifier
RUN bazel build service/tools/kv/api_tools/kv_service_tools

ENTRYPOINT ["./entrypoint.sh"]
2 changes: 2 additions & 0 deletions Docker/Dockerfile_mac
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,5 @@ COPY . /app
RUN bazel --version
RUN bazel build @com_github_bazelbuild_buildtools//buildifier:buildifier
RUN bazel build service/tools/kv/api_tools/kv_service_tools

ENTRYPOINT ["./entrypoint.sh"]
Binary file added Fides_extended_version.pdf
Binary file not shown.
15 changes: 13 additions & 2 deletions INSTALL.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor > bazel.gpg
sudo mv bazel.gpg /etc/apt/trusted.gpg.d/
echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list
curl https://bazel.build/bazel-release.pub.gpg | sudo apt-key add -
sudo apt update && sudo apt install bazel=5.0.0 -y
sudo apt update && sudo apt install bazel=6.3.2 -y
sudo apt install clang-format -y
rm $PWD/.git/hooks/pre-push
ln -s $PWD/hooks/pre-push $PWD/.git/hooks/pre-push
Expand All @@ -27,7 +27,7 @@ cd bazel_build

unzip bazel-6.0.0-dist.zip

export JAVA_HOME='/usr/lib/jvm/java-1.11.0-openjdk-arm64/'
export JAVA_HOME='/usr/lib/jvm/java-1.11.0-openjdk-amd64'
env EXTRA_BAZEL_ARGS="--host_javabase=@local_jdk//:jdk" bash ./compile.sh
sudo cp output/bazel /usr/local/bin/
cd ..
Expand All @@ -40,3 +40,14 @@ bazel build @com_github_bazelbuild_buildtools//buildifier:buildifier

sudo apt-get install python3.10-dev -y
sudo apt-get install python3-dev -y

# Build sgx code
cd enclave/
rm ./sgx_cpp_*
cd sgxcode/
rm -rf build || true
mkdir build && cd build/
cmake .. && make
cd ../..
cp sgxcode/build/host/sgx_cpp_* ./
ldconfig /usr/local/lib64/
5 changes: 5 additions & 0 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Apache ResilientDB
Copyright 2023-2024 The Apache Software Foundation

This product includes software developed at
The Apache Software Foundation (/).
Loading