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

Add release scripts #2220

Merged
merged 1 commit into from
Jul 5, 2021
Merged

Conversation

tiziano88
Copy link
Collaborator

Note that currently the hashes do not actually match those in the checked in index, but there seems to be some other non-determinism involved. Anyways, that should probably be sorted out separately in a future PR.

echo ''
echo '[net]'
echo 'offline = true'
} >> .cargo/config
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.cargo/config here is inconsistent with the comment in line 35 (.cargo/config.toml). Also, what happens if this is run multiple times? Will appending this to the file multiple times break anything, or is it up to whoever is running it to roll back changes before running it again?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Renamed to config.toml. Also clarified that the script is not idempotent. The future playbook for releases will have more details about it.

Rename .cargo/config to .cargo/config.toml for consistency with
https://doc.rust-lang.org/cargo/reference/config.html#hierarchical-structure.
@tiziano88 tiziano88 merged commit 21f1183 into project-oak:main Jul 5, 2021
@tiziano88 tiziano88 deleted the tzn_release_scripts branch July 5, 2021 15:03
@github-actions
Copy link

github-actions bot commented Jul 5, 2021

Reproducibility Index:

408bd40fbe0b1cafb09c6394093ea4df4db23891e93eb6dfb5042338083a8d48  ./examples/bin/abitest_0_frontend.wasm
23a728473e184c18c7cfae03c16084dc304182c668c99d155d20ff34dee797d4  ./examples/bin/abitest_1_backend.wasm
6e3d0670f5e2fbb26ef107ddc0750e9ef21425bdd97352a103963bf012e09dea  ./examples/bin/abitest_linear_handles.wasm
61d6fd075bb65fc1481925c64b137e0b2db220e828cd03507f5944f36d56e5a3  ./examples/bin/aggregator.wasm
b6ae24a259fa663931abb1cd901dc42245f1433588872e5da20b6fa2cdf02b71  ./examples/bin/chat.wasm
307b6f5e8aabe87ee888a10cac15f02563264fa2d84915bd08ee4444bd6c782b  ./examples/bin/hello_world.wasm
e31ad04c7b60ea06ddf180efca9e445f439ac9a6f0cd9a301743c74d1faf3c5e  ./examples/bin/http_server.wasm
96e7616860b938ba1850b41ab6ddd5859875d6a6012a7824d6d0aa3e02cd5610  ./examples/bin/injection.wasm
5cfddf823912939f58025e2110d3d881402992c8e1852c69b7a80d2ea932137f  ./examples/bin/private_set_intersection.wasm
a66ae0cd273779a749283ca4ceb24248b1720552f0cb0e52e472de692fd908e9  ./examples/bin/private_set_intersection_handler.wasm
631bd7025cabd2fc74a0a266e889666df7fee6c928cb8fdd9abf338ed0d4425e  ./examples/bin/proxy_attestation_example.wasm
a40f2de5ad1423cb2f5d06e3bd07532a1e882c8da97e18f792df81b242ab6115  ./examples/bin/translator.wasm
40a07fbbabbeef9ff2dbd3a29b5c256977d7fad8a50d765ff9cc023146d0b1c9  ./examples/bin/trusted_database.wasm
2b8aaea534b5a97369f43920f0cec1e3d5e562d0192413ae67063256400958a1  ./oak_loader/bin/oak_loader
cb255dbbea86b128379995ff7dc805fd026e2d21c997a8df688ba9e5cb98e1c1  ./oak_functions/loader/bin/oak_functions_loader

Reproducibility Index diff:

diff --git a/reproducibility_index b/reproducibility_index
index 1a49cfa..ca65095 100644
--- a/reproducibility_index
+++ b/reproducibility_index
@@ -11,5 +11,5 @@ a66ae0cd273779a749283ca4ceb24248b1720552f0cb0e52e472de692fd908e9  ./examples/bin
 631bd7025cabd2fc74a0a266e889666df7fee6c928cb8fdd9abf338ed0d4425e  ./examples/bin/proxy_attestation_example.wasm
 a40f2de5ad1423cb2f5d06e3bd07532a1e882c8da97e18f792df81b242ab6115  ./examples/bin/translator.wasm
 40a07fbbabbeef9ff2dbd3a29b5c256977d7fad8a50d765ff9cc023146d0b1c9  ./examples/bin/trusted_database.wasm
-a672301e33bbd9926a5ebdba95069c42ae579c2f37446f7ce1b2913c45b23da7  ./oak_loader/bin/oak_loader
+2b8aaea534b5a97369f43920f0cec1e3d5e562d0192413ae67063256400958a1  ./oak_loader/bin/oak_loader
 cb255dbbea86b128379995ff7dc805fd026e2d21c997a8df688ba9e5cb98e1c1  ./oak_functions/loader/bin/oak_functions_loader

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants