Files
sunnypilot/release
Justin Newberry 6cc3c1ee0f jenkins: publish casync releases from device (#32142)
* publish in ci

* overwrite

* publish in ci

* fix

* test it

* Revert "test it"

This reverts commit b3de51dc693df79b980d7dffc18bcc3c88d83375.

* use right token

* cleanup after uploading

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 8364cd2f2c
2024-04-09 11:38:18 -07:00
..
2024-03-10 16:44:21 -07:00
2024-03-08 13:18:55 -08:00
2024-02-01 13:37:22 -08:00
2024-02-01 13:37:22 -08:00

openpilot releases

terms

  • channel - a named version of openpilot (git branch, casync caibx) which receives updates

  • build - a release which is already built for the comma 3/3x and contains only required files for running openpilot and identifying the release

  • build_style - type of build, either debug or release

    • debug - build with ALLOW_DEBUG=true, can test experimental features like longitudinal on alpha cars
    • release - build with ALLOW_DEBUG=false, experimental features disabled

openpilot channels

channel build_style description
release release stable release of openpilot
staging release release candidate of openpilot for final verification
nightly release generated nightly from last commit passing CI tests
master debug current master commit with experimental features enabled
git branches debug installed manually, experimental features enabled, build required

creating casync build

create_casync_build.sh - creates a casync openpilot build, ready to upload to openpilot-releases

# 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 caibx
# of a tarball containing the full prebuilt openpilot release
BUILD_DIR=/data/openpilot_build    \
CASYNC_DIR=/data/casync            \
OPENPILOT_CHANNEL=nightly          \
release/create_casync_build.sh

upload_casync_release.sh - helper for uploading a casync build to openpilot-releases

release builds

to create a release build, set RELEASE=1 environment variable when running the build script