diff --git a/release/README.md b/release/README.md index 031f888d93..e100759e23 100644 --- a/release/README.md +++ b/release/README.md @@ -3,9 +3,9 @@ ## terms -- `channel` - a named version of openpilot (git branch, casync caidx) which receives updates
-- `prebuilt` - a channel which is already built for the comma 3/3x and contains only required files for running openpilot and identifying the channel
-- `release` - a `prebuilt` channel with `ALLOW_DEBUG=false` (`RELEASE=1` when building panda, ex: `nightly`, `release3`)
+- `channel` - a named version of openpilot (git branch, casync caidx) which receives updates +- `prebuilt` - a release which is already built for the comma 3/3x and contains only required files for running openpilot and identifying the release +- `release` - a `prebuilt` release with `ALLOW_DEBUG=false` (`RELEASE=1` when building panda, ex: `nightly`, `release3`) ## openpilot channels @@ -19,23 +19,23 @@ | git branches | `git` | installed manually, experimental features enabled, build required | -## creating casync channel +## creating casync build -`create_casync_prebuilt.sh` - creates a `prebuilt` casync openpilot channel, ready to upload to `openpilot-channels` +`create_casync_prebuilt.sh` - creates a `prebuilt` casync openpilot build, ready to upload to `openpilot-releases` ```bash -# run on a tici, within the directory you want to create the channel from. +# run on a tici, within the directory you want to create the build from. # creates a prebuilt version of openpilot into BUILD_DIR and outputs the caidx -# and other casync files into CASYNC_DIR for uploading to openpilot-channels. +# and other casync files into CASYNC_DIR for uploading to openpilot-releases. BUILD_DIR=/data/openpilot_build \ CASYNC_DIR=/data/casync \ OPENPILOT_CHANNEL=nightly \ release/create_casync_prebuilt.sh ``` -`upload_casync_channel.sh` - helper for uploading a casync channel to `openpilot-channels` +`upload_casync_release.sh` - helper for uploading a casync release to `openpilot-releases` -## release channel +## release builds to create a release build, set `RELEASE=1` environment variable when running the build script diff --git a/release/upload_casync_channel.sh b/release/upload_casync_channel.sh deleted file mode 100755 index cfa321daec..0000000000 --- a/release/upload_casync_channel.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash - -CASYNC_DIR="${CASYNC_DIR:=/tmp/casync}" - -OPENPILOT_CHANNELS="https://commadist.blob.core.windows.net/openpilot-channels/" - -SAS="$(python -c 'from tools.lib.azure_container import get_container_sas;print(get_container_sas("commadist","openpilot-channels"))')" - -azcopy cp "$CASYNC_DIR*" "$OPENPILOT_CHANNELS?$SAS" --recursive diff --git a/release/upload_casync_release.sh b/release/upload_casync_release.sh new file mode 100755 index 0000000000..02ced8338e --- /dev/null +++ b/release/upload_casync_release.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +CASYNC_DIR="${CASYNC_DIR:=/tmp/casync}" + +OPENPILOT_RELEASES="https://commadist.blob.core.windows.net/openpilot-releases/" + +SAS="$(python -c 'from tools.lib.azure_container import get_container_sas;print(get_container_sas("commadist","openpilot-releases"))')" + +azcopy cp "$CASYNC_DIR*" "$OPENPILOT_RELEASES?$SAS" --recursive