1
0
Fork 0
mirror of https://github.com/VSadov/Satori.git synced 2025-06-09 17:44:48 +09:00

[wasm] Codespaces need more disc to succeed building on container creation (#99803)

* Debug

* Building steps logging.

* Chop up restore and clean cache in between

* Restore does not take as much space as codespaces setup files in "/workspaces/.codespaces".

* Try removing the biggest offender.

* Cannot see the impact of cleanup on the size check logs.

* Move setup code into post-create

* Pass arg to the script, otherwise nothing is triggered

* Move all commands up to restore to onCreate. Restore should be done after codespaces setup when occupied disc space drops.

* Fix: wasm does not have artifacts dir on writing to this file.

* This would work but is not 100% reliable - user can interact with the VM before the command finishes.

* Build subset by subset.

* Easy fix - requre bigger disc.
This commit is contained in:
Ilona Tomkowicz 2024-03-16 11:59:18 +01:00 committed by GitHub
parent 55273a1c5d
commit ca48a0d0f7
Signed by: github
GPG key ID: B5690EEEBB952194
4 changed files with 8 additions and 6 deletions

View file

@ -49,4 +49,4 @@ case "$opt" in
esac
# save the commit hash of the currently built assemblies, so developers know which version was built
git rev-parse HEAD > ./artifacts/prebuild.sha
git rev-parse HEAD > ./artifacts/prebuild.sha

View file

@ -11,4 +11,4 @@ case "$opt" in
esac
# reset the repo to the commit hash that was used to build the prebuilt Codespace
git reset --hard $(cat ./artifacts/prebuild.sha)
git reset --hard $(cat ./artifacts/prebuild.sha)