-
Notifications
You must be signed in to change notification settings - Fork 114
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
Move the remaining crates to separate workspaces #1122
Conversation
14b65bd
to
b6e2075
Compare
"third_party/roughenough", | ||
] | ||
exclude = ["oak_abi", "oak_utils"] | ||
members = ["oak/server/rust/oak_loader", "oak/server/rust/oak_runtime"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It feels we should just move this file under oak/server?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought this change might break too many things and would be better to be done in a separate PR. But I can give it a try here :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are dependency issues... I'll do this in a separate PR.
scripts/run_tests
Outdated
@@ -15,7 +15,7 @@ export RUST_BACKTRACE=1 | |||
|
|||
for crate in "${ALL_CRATES[@]}"; do | |||
# Skip the experimental crates. They are covered in `build_experimental`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps update the comment to explain why runner is also being skipped?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. Updated the script. Too many if
blocks already.
scripts/common
Outdated
@@ -17,7 +17,7 @@ readonly SERVER_DOCKER_IMAGE_NAME='gcr.io/oak-ci/oak-server' | |||
readonly CACHE_DIR='bazel-cache' | |||
|
|||
# List all workspaces, and standalone crates. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are there any standalone crates left?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Edit: yes, I think so – expect
and roughenough
.
./Cargo.toml
:./oak/server/rust/oak_loader/Cargo.toml
./oak/server/rust/oak_runtime/Cargo.toml
./examples/Cargo.toml
:./examples/abitest/abitest_common/Cargo.toml
./examples/abitest/module_0/rust/Cargo.toml
./examples/abitest/module_1/rust/Cargo.toml
./examples/abitest/tests/Cargo.toml
./examples/aggregator/backend/Cargo.toml
./examples/aggregator/common/Cargo.toml
./examples/aggregator/module/rust/Cargo.toml
./examples/authentication/client/Cargo.toml
./examples/chat/module/rust/Cargo.toml
./examples/hello_world/module/rust/Cargo.toml
./examples/machine_learning/module/rust/Cargo.toml
./examples/private_set_intersection/module/rust/Cargo.toml
./examples/running_average/module/rust/Cargo.toml
./examples/translator/common/Cargo.toml
./examples/translator/module/rust/Cargo.toml
./examples/trusted_information_retrieval/client/rust/Cargo.toml
./examples/trusted_information_retrieval/module/rust/Cargo.toml
./experimental/Cargo.toml
:./experimental/split_grpc/client/Cargo.toml
./experimental/split_grpc/proxy/Cargo.toml
./experimental/split_grpc/server/Cargo.toml
./oak_abi/Cargo.toml
./oak_utils/Cargo.toml
./runner/Cargo.toml
./sdk/Cargo.toml
:./sdk/rust/oak/Cargo.toml
./sdk/rust/oak_tests/Cargo.toml
./third_party/expect/Cargo.toml
./third_party/roughenough/Cargo.toml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Updated the comment, since expect
and roughenough
are not currently in the list. Should I add them to the list, and run all the scripts for them too?
* Moved `sdk`, and `runner` to separate workspaces * Updated scripts so that the checks run for the new workspaces too
Reproducibility Index:
Reproducibility Index diff: |
Ref #971
Checklist
Cloudbuild
cover any TODOs and/or unfinished work.
construction.