Commit Graph

14793 Commits

Author SHA1 Message Date
Jason Wen 9ea42911e2 Merge branch 'mads-hkg-available-fix' into master-dev-c3 2024-07-20 07:40:02 -04:00
Jason Wen 3366bda92a handle states properly 2024-07-20 07:39:46 -04:00
DevTekVE 4cab5097eb Merge branch 'refs/heads/master-priv' into master-dev-c3 2024-07-20 12:01:08 +02:00
DevTekVE 0f2e56a203 [sunnypilot] Forcing SConstruct to assume always sunnypilot developer true until we actually encrypt things 2024-07-20 12:00:52 +02:00
DevTekVE ca969e16ce Merge branch 'auto-provisioning-gpg' into master-dev-c3 2024-07-18 16:16:06 +02:00
DevTekVE f51a6f5462 Add .git-crypt and .venv to the blacklist
This commit updates the release_files.py script to include .git-crypt and .venv in the list of blacklisted files. This ensures that these directories are excluded from the release process, maintaining cleaner and more secure releases.
2024-07-18 16:15:55 +02:00
DevTekVE a40a8c494b Merge branch 'auto-provisioning-gpg' into master-dev-c3 2024-07-18 16:08:54 +02:00
DevTekVE f4dac4b462 Add git-crypt unlock attempt in provision script
This update tries to unlock the repository with git-crypt at the start of the provision script. If the unlock is successful, it exits early, confirming access.

Check for /TICI file and install git-crypt if found

Previously, the script would exit if git-crypt was not found. Now, the script checks for the presence of the /TICI file and attempts to install git-crypt automatically if the file is detected. This change helps automate setup on systems where /TICI is present.

Remove GPG key file after import in CI script

Ensure GPG key files are removed after importing to improve security. This change mitigates the risk of accidental exposure of key files in subsequent steps.

Refactor key export path handling

Simplify and improve clarity in the key export process by defining a separate variable for the key installation path. This ensures consistency and reduces potential errors in directory management. Additionally, it automates committing and pushing the new public key to the repository.

Add provision script for git-crypt setup

This script checks for gpg and git-crypt installations and sets up a GPG key for git-crypt. It supports user input for name, email, and passphrase, with options for non-interactive execution and displays help information when requested.

Updated .gitlab-ci.yml to support automation of git-crypt provisioning and improved CI configuration.

This update adds a new stage to the pipeline for automatic provisioning of git-crypt when a change is detected in the git-crypt path. It introduces shared configurations to manage SSH key configurations, Git configurations, and git-crypt unlocking across multiple jobs. Unnecessary repetition of scripts has been minimized through reusability of these shared configurations. This ultimately enhances modularity and readability of the pipeline script.
2024-07-18 16:01:10 +02:00
DevTekVE cbb30cd8c5 Back to using reference on pipeline 2024-07-18 09:08:52 +02:00
Jaosn Wen 47842ff63e Merge branch 'mads-hkg-available-fix' into master-dev-c3 2024-07-17 11:22:18 -04:00
Jaosn Wen 90e829b8a2 MADS: HKG CAN-FD: Disallow cruise buttons to engage when pcmCruiseSpeed is off 2024-07-17 11:22:05 -04:00
Jaosn Wen cdd614a2fe Merge branch 'hkg-can-jerk' into master-dev-c3 2024-07-17 00:56:43 -04:00
Jaosn Wen e99130d808 Merge branch 'master-priv' into master-dev-c3 2024-07-16 23:28:05 -04:00
Jaosn Wen a05db5dcc7 Merge branch 'master-priv' into master-dev-c3 2024-07-16 23:27:48 -04:00
Jason Wen faf52492b6 ci: git-crypt: Decrypt prior to building 2024-07-17 03:26:13 +00:00
Jaosn Wen 91dadaafd1 more, and comfort band 2024-07-16 21:11:18 -04:00
Jaosn Wen dac5e529b6 add lower 2024-07-16 20:55:25 -04:00
Jaosn Wen 4821f1bbc8 HKG Longitudinal: Jerk limits 2024-07-16 20:54:08 -04:00
Jaosn Wen 0ca98a8379 Scons: Split sunnypilot/Sconscript 2024-07-16 00:20:45 -04:00
Jaosn Wen a9bcc782e0 Scons: Set SUNNYPILOT to CPPDEFINES 2024-07-16 00:07:29 -04:00
Jason Wen 62cc0fa0d2 Scons: Build sunnypilot elements with added GPG keys 2024-07-16 02:59:02 +00:00
Jaosn Wen d367b346a0 bump panda lock fix 2024-07-14 19:09:17 -04:00
Jason Wen 3731794cdf Merge branch 'model-v5-fix' into master-dev-c3 2024-07-13 11:57:44 -04:00
Jason Wen 5c90b31f72 Driving Model Selector v5: Bug fixes 2024-07-13 11:57:06 -04:00
Jason Wen 73994d4bb1 Revert "Driving Model Selector v5: Bug fixes and revert to param checks"
This reverts commit 03fd6050f7.
2024-07-13 11:52:44 -04:00
Jason Wen 1b419974b0 Revert "fix types"
This reverts commit 3cdbde6dbe.
2024-07-13 11:52:44 -04:00
Dean Lee 3c3fdb8428 CarParams: set no traversal limit (#32929)
* Increase traversal_limit_in_words to Fix Traversal Limit Errors

* just use log_from_bytes

* come on pycharm

* no free lunch

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
(cherry picked from commit 12d729a0a0)
2024-07-13 11:51:44 -04:00
Jason Wen 3cdbde6dbe fix types 2024-07-13 11:45:36 -04:00
Jason Wen 03fd6050f7 Driving Model Selector v5: Bug fixes and revert to param checks 2024-07-13 11:38:48 -04:00
DevTekVE 35d8d7b3f7 Processor definition check for __APPLE__ has a typo on replay (#32930)
(cherry picked from commit 3c74ad145e)
2024-07-13 09:26:32 +02:00
Jason Wen bc1aad6f6a git-crypt: add collaborators 2024-07-12 21:36:28 +00:00
Jason Wen c69d886c20 Merge branch 'mads-button-event-modern' into master-dev-c3
# Conflicts:
#	selfdrive/car/ford/carstate.py
#	selfdrive/car/ford/interface.py
#	selfdrive/car/ford/values.py
#	selfdrive/car/gm/interface.py
2024-07-11 23:54:03 -04:00
Jason Wen 6b431bde57 Merge branch 'slc-long-only' into master-dev-c3 2024-07-11 23:52:43 -04:00
Jason Wen 1a8170e839 Speed Limit Control: Gate behind longitudinal 2024-07-11 23:51:17 -04:00
Jason Wen 11567ed7dc Empty button events at start of loop 2024-07-11 23:30:17 -04:00
Jason Wen a44677bde3 Toyota: Use modern button events 2024-07-11 23:24:08 -04:00
Jason Wen 56119eb66e Subaru: Use modern button events 2024-07-11 23:23:43 -04:00
Jason Wen 25fdd735c2 Hyundai: Use modern button events 2024-07-11 23:23:21 -04:00
Jason Wen 4e9ab2abaf Honda: Use modern button events 2024-07-11 23:22:50 -04:00
Jason Wen 207b4473c7 GM: Use modern button events 2024-07-11 23:22:25 -04:00
Jason Wen a3e2661ca5 Nissan: Use modern button events 2024-07-11 23:20:19 -04:00
Jason Wen 29bc69be5b Mazda: Use modern button events 2024-07-11 23:15:34 -04:00
Jason Wen dbc086744b Ford: Use modern button events 2024-07-11 23:06:18 -04:00
Jason Wen e4175e636a Volkswagen: Use modern button events 2024-07-11 22:55:15 -04:00
Jason Wen 120699df97 Chrysler: Use modern button events 2024-07-11 22:54:09 -04:00
Jason Wen b1d1cb33dc Merge branch 'SP-138-cslc-gm' into master-dev-c3 2024-07-11 22:37:17 -04:00
Jason Wen 692e6783e4 typo 2024-07-11 22:37:04 -04:00
Jason Wen b896f1b6ff Merge branch 'SP-138-cslc-gm' into master-dev-c3 2024-07-11 21:47:26 -04:00
Jason Wen 4a67489e33 this might have been blocking engagement 2024-07-11 21:47:14 -04:00
Jason Wen c1cd33dbc1 MADS: Fix extra gear check 2024-07-11 15:46:24 +00:00