mirror of
https://github.com/commaai/panda.git
synced 2026-06-10 22:24:29 +08:00
- Delete custom Dockerfile (was ubuntu:24.04 based)
- Use Jenkins agent { docker } with stock python:3.12 image
- Remove apt/platform detection from setup.sh (python:3.12 has gcc, git, curl)
- Fix deprecated license format in pyproject.toml
- Use reuseNode to share workspace, chmod cleanup for root-owned files
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
20 lines
444 B
Bash
Executable File
20 lines
444 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
|
|
cd $DIR
|
|
|
|
if ! command -v uv &>/dev/null; then
|
|
echo "'uv' is not installed. Installing 'uv'..."
|
|
curl -LsSf https://astral.sh/uv/install.sh | sh
|
|
|
|
# doesn't require sourcing on all platforms
|
|
set +e
|
|
source $HOME/.local/bin/env
|
|
set -e
|
|
fi
|
|
|
|
export UV_PROJECT_ENVIRONMENT="$DIR/.venv"
|
|
uv sync --all-extras --upgrade
|
|
source "$DIR/.venv/bin/activate"
|