-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of ssh://github.com/commaai/openpilot into pand…
…ad_single_thread
- Loading branch information
Showing
78 changed files
with
1,955 additions
and
1,230 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: jenkins scan | ||
|
||
on: | ||
issue_comment: | ||
types: [created, edited] | ||
|
||
jobs: | ||
# TODO: gc old branches in a separate job in this workflow | ||
scan-comments: | ||
runs-on: ubuntu-latest | ||
if: ${{ github.event.issue.pull_request }} | ||
steps: | ||
- name: Check for trigger phrase | ||
id: check_comment | ||
uses: actions/github-script@v7 | ||
with: | ||
script: | | ||
const triggerPhrase = "trigger-jenkins"; | ||
const comment = context.payload.comment.body; | ||
const commenter = context.payload.comment.user.login; | ||
const { data: permissions } = await github.rest.repos.getCollaboratorPermissionLevel({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
username: commenter | ||
}); | ||
const hasWriteAccess = permissions.permission === 'write' || permissions.permission === 'admin'; | ||
return (hasWriteAccess && comment.includes(triggerPhrase)); | ||
result-encoding: json | ||
|
||
- name: Checkout repository | ||
if: steps.check_comment.outputs.result == 'true' | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: refs/pull/${{ github.event.issue.number }}/head | ||
|
||
- name: Push to tmp-jenkins branch | ||
if: steps.check_comment.outputs.result == 'true' | ||
run: | | ||
git config --global user.name "github-actions[bot]" | ||
git config --global user.email "github-actions[bot]@users.noreply.github.com" | ||
git checkout -b tmp-jenkins-${{ github.event.issue.number }} | ||
GIT_LFS_SKIP_PUSH=1 git push -f origin tmp-jenkins-${{ github.event.issue.number }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
[importlinter] | ||
root_packages = | ||
openpilot | ||
|
||
[importlinter:contract:1] | ||
name = Forbid imports from openpilot.selfdrive.car to openpilot.system | ||
type = forbidden | ||
source_modules = | ||
openpilot.selfdrive.car | ||
forbidden_modules = | ||
openpilot.system | ||
openpilot.body | ||
openpilot.docs | ||
openpilot.msgq | ||
openpilot.panda | ||
openpilot.rednose | ||
openpilot.release | ||
openpilot.teleoprtc | ||
openpilot.tinygrad | ||
ignore_imports = | ||
openpilot.selfdrive.car.card -> openpilot.common.realtime | ||
openpilot.selfdrive.car.card -> openpilot.selfdrive.controls.lib.events | ||
openpilot.selfdrive.car.interfaces -> openpilot.selfdrive.controls.lib.events | ||
openpilot.selfdrive.car.tests.test_models -> openpilot.tools.lib.logreader | ||
openpilot.selfdrive.car.tests.test_models -> openpilot.selfdrive.car.card | ||
openpilot.selfdrive.car.tests.test_models -> openpilot.tools.lib.route | ||
openpilot.selfdrive.car.tests.test_models -> openpilot.system.hardware.hw | ||
openpilot.selfdrive.car.tests.test_models -> openpilot.selfdrive.test.helpers | ||
openpilot.selfdrive.car.isotp_parallel_query -> openpilot.common.swaglog | ||
openpilot.selfdrive.car.fw_versions -> openpilot.common.swaglog | ||
openpilot.selfdrive.car.disable_ecu -> openpilot.common.swaglog | ||
openpilot.selfdrive.car.vin -> openpilot.common.swaglog | ||
openpilot.selfdrive.car.ecu_addrs -> openpilot.common.swaglog | ||
openpilot.selfdrive.car.car_helpers -> openpilot.common.swaglog | ||
openpilot.selfdrive.car.car_helpers -> openpilot.system.version | ||
openpilot.selfdrive.car.ford.carcontroller -> openpilot.selfdrive.controls.lib.drive_helpers | ||
openpilot.selfdrive.car.gm.interface -> openpilot.selfdrive.controls.lib.drive_helpers | ||
openpilot.selfdrive.car.honda.carcontroller -> openpilot.selfdrive.controls.lib.drive_helpers | ||
openpilot.selfdrive.car.interfaces -> openpilot.selfdrive.controls.lib.drive_helpers | ||
openpilot.selfdrive.car.tests.test_car_interfaces -> openpilot.selfdrive.controls.lib.latcontrol_angle | ||
openpilot.selfdrive.car.tests.test_car_interfaces -> openpilot.selfdrive.controls.lib.longcontrol | ||
openpilot.selfdrive.car.tests.test_car_interfaces -> openpilot.selfdrive.controls.lib.latcontrol_torque | ||
openpilot.selfdrive.car.tests.test_car_interfaces -> openpilot.selfdrive.controls.lib.latcontrol_pid | ||
unmatched_ignore_imports_alerting = warn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule msgq_repo
updated
7 files
+1 −1 | .github/workflows/tests.yml | |
+1 −1 | Dockerfile | |
+33 −37 | msgq/tests/test_fake.py | |
+6 −24 | msgq/tests/test_messaging.py | |
+7 −11 | msgq/tests/test_poller.py | |
+35 −26 | msgq/visionipc/tests/test_visionipc.py | |
+11 −0 | pyproject.toml |
Submodule opendbc
updated
38 files
Submodule panda
updated
7 files
+1 −1 | .pre-commit-config.yaml | |
+3 −0 | board/SConscript | |
+3 −0 | board/gdb.sh | |
+20 −17 | board/stm32h7/board.h | |
+14 −8 | board/stm32h7/clock.h | |
+4 −0 | tests/libpanda/safety_helpers.h | |
+2 −0 | tests/libpanda/safety_helpers.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.