upload manifest to r2 before starting container (#3767)

## Description:

It first sends the manifest to the worker to get a list of missing
files, then for each missing file it uploads them to r2 via cf worker.

This PR also has us write out the manifest in plan json instead of an
mjs file. This makes it easier for the shell script to parse

## Please complete the following:

- [x] I have added screenshots for all UI updates
- [ ] I process any text displayed to the user through translateText()
and I've added it to the en.json file
- [ ] I have added relevant tests to the test directory
- [ ] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced

## Please put your Discord username so you can be contacted if a bug or
regression is found:

evan
This commit is contained in:
Evan
2026-04-25 21:15:49 -06:00
committed by GitHub
parent 32a254b375
commit a5c346bd4a
5 changed files with 144 additions and 34 deletions
+8
View File
@@ -39,6 +39,14 @@ fi
echo "🔄 Updating system..."
apt update && apt upgrade -y
# Install jq (used by update.sh for asset upload)
if command -v jq &> /dev/null; then
echo "jq is already installed"
else
echo "📦 Installing jq..."
apt install -y jq
fi
# Check if Docker is already installed
if command -v docker &> /dev/null; then
echo "Docker is already installed"