mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-02-19 01:33:52 +08:00
* H7 drivers * Include H7 into the code * fix flash write for H7 * get serial from flasher.h from F4 and H7 * flash.sh and recover.sh for gen3 * add set_data_speed for BRS CAN FD * build all fws * gen3 to panda lib * gen3 name in scons project * disable fd can and brs * gen3 to CI tests * jenkins fix for new tests and build_all * fix pedal test * pedal in panda tests again... * cleanup llfdcan.h * cleanup clock.h * Add LDORDY bit check instead of delay * missing define in stm32h735xx.h lib * board_id helper * enable debug detection again * clean gpio inits * fix board_id helper, make cleaner * comment MCUs in stm lib for faster misra * target MCU * misra-5.5 * improve headers and misra speed * cleanup CI tests * change naming from gen3 to h7 * readable if statement * cleanup llusb.h * only cycle one transceifer in bus-off * move unused funcs to common header * bus_off_err reset * misra 10.4 fdcan * extern to can_data_speed variable * limit can_data_speed array size to 3 * reinit fd can on data speed change * Improve test with ELM327 and extaddr check * bugfix for fdcan * panda python config naming * abstracted init request in llfdcan * misra fdcan * Improve llusb.h for H7
51 lines
1.6 KiB
Groovy
51 lines
1.6 KiB
Groovy
pipeline {
|
|
agent any
|
|
environment {
|
|
DOCKER_IMAGE_TAG = "panda:build-${env.GIT_COMMIT}"
|
|
}
|
|
stages {
|
|
stage('Build Docker Image') {
|
|
steps {
|
|
timeout(time: 60, unit: 'MINUTES') {
|
|
script {
|
|
sh 'git archive -v -o panda.tar.gz --format=tar.gz HEAD'
|
|
dockerImage = docker.build("${env.DOCKER_IMAGE_TAG}")
|
|
}
|
|
}
|
|
}
|
|
}
|
|
stage('PEDAL tests') {
|
|
steps {
|
|
lock(resource: "pedal", inversePrecedence: true, quantity: 1) {
|
|
timeout(time: 10, unit: 'MINUTES') {
|
|
script {
|
|
sh "docker run --rm --privileged \
|
|
--volume /dev/bus/usb:/dev/bus/usb \
|
|
--volume /var/run/dbus:/var/run/dbus \
|
|
--net host \
|
|
${env.DOCKER_IMAGE_TAG} \
|
|
bash -c 'cd /tmp/panda && PEDAL_JUNGLE=23002d000851393038373731 python ./tests/pedal/test_pedal.py'"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
stage('HITL tests') {
|
|
steps {
|
|
lock(resource: "pandas", inversePrecedence: true, quantity: 1) {
|
|
timeout(time: 20, unit: 'MINUTES') {
|
|
script {
|
|
sh "docker run --rm --privileged \
|
|
--volume /dev/bus/usb:/dev/bus/usb \
|
|
--volume /var/run/dbus:/var/run/dbus \
|
|
--net host \
|
|
${env.DOCKER_IMAGE_TAG} \
|
|
bash -c 'cd /tmp/panda && ./board/build_all.sh && PANDAS_JUNGLE=058010800f51363038363036 ./tests/automated/test.sh'"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|