Skip to content

Commit

Permalink
[Release] Synchronize for release (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
reboot-dev-bot authored Nov 1, 2024
1 parent fb46686 commit cb47a32
Show file tree
Hide file tree
Showing 10 changed files with 31 additions and 38 deletions.
2 changes: 1 addition & 1 deletion .tests/serve_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ stop_container() {
}

perform_curl() {
local url="localhost:8787/hello.v1.HelloInterface/Messages"
local url="localhost:8787/hello.v1.HelloMethods/Messages"
local headers=(
"-H" "x-reboot-state-ref:hello.v1.Hello:reboot-hello"
)
Expand Down
9 changes: 7 additions & 2 deletions .tests/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,12 @@ fi
rye sync --no-lock
source .venv/bin/activate

rbt protoc
# When running in a Bazel test, our `.rbtrc` file ends up in a very deep
# directory structure, which can result in "path too long" errors from RocksDB.
# Explicitly specify a shorter path.
RBT_FLAGS="--state-directory=$(mktemp -d)"

rbt $RBT_FLAGS protoc

mypy backend/

Expand All @@ -70,7 +75,7 @@ pytest backend/
if [ -n "$EXPECTED_RBT_DEV_OUTPUT_FILE" ]; then
actual_output_file=$(mktemp)

rbt dev run --terminate-after-health-check > "$actual_output_file"
rbt $RBT_FLAGS dev run --terminate-after-health-check > "$actual_output_file"

check_lines_in_file "$EXPECTED_RBT_DEV_OUTPUT_FILE" "$actual_output_file"

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/reboot-dev/reboot-base:0.17.0
FROM ghcr.io/reboot-dev/reboot-base:0.18.0

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion api/hello/v1/hello.proto
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ message Hello {
repeated string messages = 1;
}

service HelloInterface {
service HelloMethods {
// Returns the current list of recorded messages.
rpc Messages(MessagesRequest) returns (MessagesResponse) {
option (rbt.v1alpha1.method).reader = {
Expand Down
2 changes: 1 addition & 1 deletion backend/src/hello_servicer.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from reboot.aio.contexts import ReaderContext, WriterContext


class HelloServicer(Hello.Interface):
class HelloServicer(Hello.Servicer):

async def Messages(
self,
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[project]
requires-python = ">= 3.10"
dependencies = [
"reboot==0.17.0",
"reboot==0.18.0",
]

[tool.rye]
dev-dependencies = [
"mypy==1.2.0",
"pytest>=7.4.2",
"types-protobuf>=4.24.0.20240129",
"reboot==0.17.0",
"reboot==0.18.0",
]

# This project only uses `rye` to provide `python` and its dependencies, so
Expand Down
8 changes: 1 addition & 7 deletions requirements-dev.lock
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ exceptiongroup==1.2.2
frozenlist==1.4.1
# via aiohttp
# via aiosignal
gitdb==4.0.11
# via gitpython
gitpython==3.1.31
# via reboot
googleapis-common-protos==1.65.0
# via grpcio-status
# via reboot
Expand Down Expand Up @@ -108,14 +104,12 @@ python-dateutil==2.9.0.post0
pyyaml==6.0.2
# via kubernetes-asyncio
# via reboot
reboot==0.17.0
reboot==0.18.0
setuptools==75.1.0
# via grpcio-tools
six==1.16.0
# via kubernetes-asyncio
# via python-dateutil
smmap==5.0.1
# via gitdb
tomli==2.0.1
# via mypy
# via pytest
Expand Down
8 changes: 1 addition & 7 deletions requirements.lock
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ cryptography==42.0.2
frozenlist==1.4.1
# via aiohttp
# via aiosignal
gitdb==4.0.11
# via gitpython
gitpython==3.1.31
# via reboot
googleapis-common-protos==1.65.0
# via grpcio-status
# via reboot
Expand Down Expand Up @@ -97,14 +93,12 @@ python-dateutil==2.9.0.post0
pyyaml==6.0.2
# via kubernetes-asyncio
# via reboot
reboot==0.17.0
reboot==0.18.0
setuptools==75.1.0
# via grpcio-tools
six==1.16.0
# via kubernetes-asyncio
# via python-dateutil
smmap==5.0.1
# via gitdb
types-protobuf==5.28.0.20240924
# via mypy-protobuf
typing-extensions==4.9.0
Expand Down
30 changes: 15 additions & 15 deletions web/package-lock.json

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

2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@reboot-dev/reboot-react": "^0.17.0",
"@reboot-dev/reboot-react": "^0.18.0",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
Expand Down

0 comments on commit cb47a32

Please sign in to comment.