Skip to content

Commit

Permalink
Add private_memory_server to kokoro build.
Browse files Browse the repository at this point in the history
ACKNOWLEDGE_FAILING_COPYBARA_IMPORT=The failure is not caused my this
change. cl/726948285 can be used for fixing tests while importing.

BUG: 396479186
Change-Id: I1a61b559822d5fc467de26939a73dca445580ff9
  • Loading branch information
Changochen committed Mar 7, 2025
1 parent 90c5509 commit 74446a8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 8 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,13 @@ oak_client_android_app:
bazel-bin/java/src/main/java/com/google/oak/client/android/client_app.apk \
artifacts

oak_private_memory:
bazel build {{BAZEL_CONFIG_FLAG}} \
//oak_private_memory:private_memory_server
cp --force --preserve=timestamps --no-preserve=mode \
bazel-bin/oak_private_memory/private_memory_server \
artifacts

wasm_crate name:
cargo build --target=wasm32-unknown-unknown -p {{name}}

Expand Down Expand Up @@ -294,7 +301,7 @@ check-format:

kokoro_build_binaries_rust: build_all_enclave_apps oak_restricted_kernel_bin_virtio_console_channel \
oak_restricted_kernel_wrapper_simple_io_channel stage0_bin stage0_bin_tdx \
oak_client_android_app
oak_client_android_app oak_private_memory

kokoro_verify_buildconfigs:
./scripts/test_buildconfigs buildconfigs/*.sh
Expand Down
2 changes: 2 additions & 0 deletions kokoro/helpers/copy_binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ function copy_binaries_to_placer() {
artifacts/oak_restricted_kernel_wrapper_simple_io_channel_bin
artifacts/stage0_bin
artifacts/stage0_bin_tdx
artifacts/private_memory_server
)
readonly binary_names=(
oak_containers_agent
Expand All @@ -53,6 +54,7 @@ function copy_binaries_to_placer() {
oak_restricted_kernel_simple_io_init_rd_wrapper_bin
stage0_bin
stage0_bin_tdx
private_memory_server
)
for i in "${!binary_names[@]}"; do
cp --preserve=timestamps \
Expand Down

0 comments on commit 74446a8

Please sign in to comment.