Files
panda/setup.sh
Adeeb Shihadeh dccfd6342d remove Dockerfile, use stock python:3.12 image in Jenkins
- 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>
2026-02-28 16:29:34 -08:00

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"