Skip to content
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions oak_containers/system_image/base/push-base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@ xz --force "${TARGET_DIR}/${source}"
file="${TARGET_DIR}/${source}.xz"
hash=$(sha256sum "${file}" | cut -d " " -f 1)
# TODO: b/399705292 - In WORKSPACE, read from oak-files not from oak-bins.
gsutil cp "${file}" "gs://oak-bins/${static_dir}/${hash}.tar.xz"
gsutil cp "${file}" "gs://oak-files/sha2-256:${hash}"
gcloud storage cp "${file}" "gs://oak-bins/${static_dir}/${hash}.tar.xz"
gcloud storage cp "${file}" "gs://oak-files/sha2-256:${hash}"
2 changes: 1 addition & 1 deletion scripts/publish
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ usage_and_exit() {
}

copy_file() {
gsutil cp -n "$1" "$2"
gcloud storage cp --no-clobber "$1" "$2"
}

# Uploads a file and returns its SHA2_256 hash.
Expand Down
Loading