Commit Graph

480 Commits

Author SHA1 Message Date
Adeeb Shihadeh e2e271950f Update stale.yaml
old-commit-hash: 19dec54f65
2024-08-02 12:55:04 -07:00
Adeeb Shihadeh 1feb6d671a remove pre-commit (explorations) (#33172)
* remove pre-commit (explorations)

* lint.sh

* remove rest

* add to release files

* no source

* 1min is all you need
old-commit-hash: 13511e383c
2024-08-01 22:16:13 -07:00
Maxime Desroches 41e549f8c8 ci: create ui report only on PR (#33168)
only on pr
old-commit-hash: 4b11c9e914
2024-08-01 16:44:10 -07:00
Adeeb Shihadeh e37e93d57b CI: increase shm size to 2G
old-commit-hash: 76fd5b00f1
2024-07-30 14:29:48 -07:00
Adeeb Shihadeh 5bc7684d2b docs: readthedocs theme (#33116)
* docs: read the docs theme

* nav depth
old-commit-hash: 691b948ad0
2024-07-28 16:07:39 -07:00
Adeeb Shihadeh 1ce6573141 docs: fix nested structure (#33114)
* docs: fix nested structure

* test ci

* that too

* update that

* not common mark anymore
old-commit-hash: 4fbac089f8
2024-07-28 15:38:38 -07:00
Adeeb Shihadeh fbdb5f3495 mac's getting there
old-commit-hash: c8622c9553
2024-07-25 14:27:29 -07:00
Adeeb Shihadeh dd7e41e326 new README (#33073)
* commonmark

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* relock

* copy paste

* Update README.md

* looks better like this

* cleanup
old-commit-hash: ed86910536
2024-07-25 14:20:00 -07:00
Maxime Desroches d7721e3a4d ci: use github env for ui preview job name (#33060)
fix this
old-commit-hash: 2221ffcf0e
2024-07-24 11:03:24 -07:00
Hoang Bui e02af37ac8 CI: remove redundant save cache step (#33052)
remove
old-commit-hash: 3446941107
2024-07-24 10:36:28 -07:00
Maxime Desroches 2c010fe5a8 ci: fix ui preview (#33002)
* use pull_request_target

* env for name
old-commit-hash: d49c5193c3
2024-07-24 10:31:27 -07:00
Adeeb Shihadeh 31a82aabd5 skip push
old-commit-hash: 9b8c1693c9
2024-07-23 11:41:27 -07:00
Adeeb Shihadeh 0dcbc9cb15 skip lfs
old-commit-hash: 29d0bfe1ab
2024-07-23 11:32:51 -07:00
Adeeb Shihadeh 5745c5a90f jenkins trigger fixups
old-commit-hash: ef5d6a0466
2024-07-23 11:27:56 -07:00
Adeeb Shihadeh 7cba0e1ada json encoding
old-commit-hash: e7ec1b8ff1
2024-07-23 11:14:00 -07:00
Adeeb Shihadeh 11132cdb2a CI: setup triggering jenkins for forks (#33049)
old-commit-hash: d828ac4344
2024-07-23 11:11:31 -07:00
Maxime Desroches 83d6af5162 ci: bring back aarch64 (#33017)
* casadi wheel

* ci

* test 312

* test with new aarch64 build

* use release wheels

* assert

* bool

* try this

* maybe

* work

* use final wheel
old-commit-hash: dcdac84f0c
2024-07-22 11:45:39 -07:00
signed-long a11f57cc7d CI: fix ui report directory (#32991)
fix report artifact name
old-commit-hash: c759fe9002
2024-07-15 08:01:51 -07:00
signed-long 1e6e3243ef Update ci weekly report summary (#32911)
* update ci weekly report summary

* don't add skipped jobs to report

* uncomment job condition

* use jinja template

* add run number to failure links

* add run number to failure links

* Log for run #<num>

* use list

---------

Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
old-commit-hash: 6745c66352
2024-07-09 03:07:34 +00:00
Adeeb Shihadeh 6ffb0d5445 site -> docs
old-commit-hash: 8c6c6e435f
2024-07-08 17:05:42 -07:00
Adeeb Shihadeh 1490a714a0 mvp of new docs.comma.ai (#32926)
* ssh docs

* strict

* need an index

* push to prod
old-commit-hash: f6189568ea
2024-07-08 16:55:16 -07:00
Hoang Bui 856e536aa8 CI: Compile openpilot on macOS (#32909)
* working

* cache

* bring back
old-commit-hash: 15d3397ec6
2024-07-08 23:42:26 +00:00
Maxime Desroches 7173d6f86a docs: only push on master (#32935)
only on master
old-commit-hash: 76686e1976
2024-07-08 19:14:32 +00:00
Adeeb Shihadeh 2b873af75e publish new docs (#32922)
* push new docs

* drop the new, just docs

* cleanup
old-commit-hash: 241fb902af
2024-07-07 19:13:48 -07:00
Alexandre Nobuharu Sato a250b02f32 fix "telsa" typo on labeler.yaml (#32924)
old-commit-hash: 4445fa31f5
2024-07-07 10:35:02 -07:00
Adeeb Shihadeh a048348104 remove old docs (#32917)
old-commit-hash: 4ef757c49f
2024-07-06 08:51:36 -07:00
signed-long 0a22c17336 Post UI screenshots in PR comments (#32887)
* add PR comment with screenshots on ui changes

* fix pr comment if statements

* use default shallow checkout

* use commaai's ci-artifacts

* use my ci-artifacts

* use tj-actions/changed-files

* clean up

* use comma repos

* make ci-artifacts branch openpilot/pr-#

* remove redundent path
old-commit-hash: 635b15a573
2024-07-06 02:47:59 +00:00
Maxime Desroches 1c1efe595d Update repo-maintenance.yaml
old-commit-hash: ebf4cf4ad0
2024-07-04 02:46:13 +00:00
Maxime Desroches 19a0be58b8 repo-maintenance: force update for python packages (#32905)
force update
old-commit-hash: 8e598a17fb
2024-07-04 02:38:42 +00:00
Maxime Desroches 608b0c56c6 fix package_updates workflow (#32903)
pip3
old-commit-hash: c52126cd6c
2024-07-04 02:31:02 +00:00
Mauricio Alvarez Leon 42cee115ad CI: test the tests (#32869)
old-commit-hash: 0fecfd6c45
2024-07-03 15:27:29 -07:00
Adeeb Shihadeh 2bebaa87b1 stale bot: fix milestone exemption
old-commit-hash: bda4d2df63
2024-06-30 09:38:56 -07:00
Maxime Desroches a1a0e9e8a0 switch to uv (#32853)
* switch to uv

* pin back numpy

* remove lock

* try without cache

* test with no cache

* no cache for all

* debug

* remove debug

* remove pygame dep

* Update README.md

* remove lower bound

* update repo maintenance job

* upgradable

* repo maintenance

* copy poetry api

* build system

* unpin pygame

* readd cache

* readd cache

* basic command

* lower delay

* macos

* fix authors

* macos fix

* use uv

* preview

* other way

* new metadrive

* uv sync

* cp lock in docker

* fix docker

* use hatchling

* fix devcontainer

* fix container

* path

* uv run

* cleanup

* pre-commit

* format

* release_file
old-commit-hash: 12d5afba73
2024-06-28 00:04:05 +00:00
pantew869 609c04b7e1 Bring back macOS CI (#32819)
* Attempt to enable macos CI

* add SKIP_PROMPT

* test

* add python warnings env variable

* pull from lfs

* use v4 checkout

* Update selfdrive_tests.yaml

---------

Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
old-commit-hash: 0c9f1d8118
2024-06-26 17:47:25 +00:00
Adeeb Shihadeh 6745358478 remove mapbox references (#32811)
old-commit-hash: bccccde568
2024-06-22 18:01:47 -07:00
Maxime Desroches e9b6d542e9 ci: push docker image to openpilot-base (#32801)
* only push to openpilot-base

* comment instead
old-commit-hash: a132a23574
2024-06-20 22:52:19 +00:00
Maxime Desroches 1b836bdb86 Ubuntu 24.04 (#32624)
* noble build

* workflow

* symlink

* map only for noble

* sym

* add qt to cppcheck

* cppcheck noreturn in non void funct

* get kaitai header

* kaitai header

* syntax

* try new pyopencl

* try this version

* install lsb-core manually

* support old 20.04 lsb-core

* try arm

* try latest pyopencl

* revert

* use pocl icd

* no lock

* no arm pyopencl

* new intel opencl runtime

* pin filelock

* undo

* glsl version

* new version

* build test

* remove test

* new metadrive

* remove glsl restrictions

* <optional>

* Update .github/workflows/tools_tests.yaml

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* cache

* new cache

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 5c4ea14a3c
2024-06-18 03:30:32 +00:00
Maxime Desroches ee22350568 Remove aarch64 ci test (#32715)
* remove aarch64

* comment + remove test
old-commit-hash: 0bdab82423
2024-06-12 00:27:47 +00:00
Mauricio Alvarez Leon 008008b03a Update to Python 3.12 (#32548)
* 3.12

* pprofile is broken

* use modified metadrivepy3-12

* 0.3.0 metadrive

* add metadrive/commaai git dependency

* metadrive git set

* pin sounddevice 0.4.6

* datetime.utcnow() deprecation

* poetry lock

* make datetime not aware

* poetry lock

* pin pytools

* google_crc32c wheel

* unpin sounddevice

* clean metadrive

* use python crc

* mypy

* 3.12.4

* allow python3.11

* test

* no pip

* poetry

* better

* better

* merge

* remove

* try

* test

* try  this

* snok

* python

* simpler

* setuptools

* lower

* try

* try

* work?

* ubuntu deps

* ubuntu

* try

* remove

* move

* remove this

* names

* Update .github/workflows/tools_tests.yaml

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* python<4

* <3.13

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
old-commit-hash: 148eaf8fa6
2024-06-11 20:45:15 +00:00
Adeeb Shihadeh 189679e6e9 CI: move build_release to a namespace runner (#32675)
old-commit-hash: 43a97c5907
2024-06-09 12:02:55 -07:00
Adeeb Shihadeh 8472df65ea tools/sim: remove special docker image (#32659)
old-commit-hash: 541b5cbf13
2024-06-08 09:18:28 -07:00
Hoang Bui 254d51ac8d CI/tools_test: remove redundant `git lfs pull` (#32642)
remove redundant
old-commit-hash: 4c549778c0
2024-06-06 12:59:57 -07:00
Adeeb Shihadeh 43dd214f52 Revert "`pytest`: discover `openpilot/` (#32561)" (#32622)
This reverts commit 9c272f9ef90b7c032884aa0ad54b8d5630de14fc.
old-commit-hash: 149238845c
2024-06-04 12:09:06 -07:00
Adeeb Shihadeh 86b6103657 test_*.py files are no longer executable (#32610)
* test_*.py files are no longer executable

* cleanup empty lines

* update precommit

* fixme

* enable

* build
old-commit-hash: c59887c810
2024-06-03 15:48:56 -07:00
Mauricio Alvarez Leon ddd78718a6 `pytest`: discover `openpilot/` (#32561)
* pytest: discover everything in openpilot/

* ignore process replay

* remove --ignore=openpilot/

* ignore directories in root

* remove skip in selfdrive/test/process_replay

* use openpilot directory

* set openpilot directory for test_translations

* omit generated config.py files

* run ci

* cd into openpilot for test_translation

* &&

* remove rm main_test_en command

* remove echo

* increase shm-size to 2G

* remove rm

* test only cpp_files that are test_*.cc~

* add process_replay test skip

* use addopts in pyproject to ignore test_processes

* try --rootdir for pytest

* cleanups / add rootdir in PYTEST env

* add rm create_test_translations

* revert poetry.lock

* simplify

* no regen!

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 00b10f3d9a
2024-06-02 14:53:32 -07:00
Mauricio Alvarez Leon cfbfa14dc9 CI: add devcontainer-rebuild workflow (#32564)
* add devcontainer-rebuild workflow

* add shell

* add shell on ifs

* use scripts/retry.sh
old-commit-hash: a2931d1956
2024-05-28 14:45:17 -07:00
Adeeb Shihadeh 549bc535cd Revert no pyenv (#32547)
* Revert "`ubuntu_setup`: fix `No module apt_pkg` error when setting up (#32526)"

This reverts commit d850f07acb58e4fc6d530241a31c0917c2b6613e.

* Revert "Removal of pyenv (#32512)"

This reverts commit 41f72d5ca75aab9a9beb3181aca9f177e5a003f8.
old-commit-hash: 1eb938b8e8
2024-05-26 21:21:50 -07:00
Adeeb Shihadeh 6dc8eecee7 Make release files a blacklist (#32540)
* blacklist

* little nicer

* whitelist

* cleanup

* igore body

* more skip
old-commit-hash: fe7d3429ab
2024-05-25 18:47:16 -07:00
Hoang Bui 6452b26a99 CI/tools: Remove redundant build step (#32539)
old-commit-hash: 2ff94ec374
2024-05-25 15:50:10 -07:00
Adeeb Shihadeh cc4f53e6c6 manager: move to system/ (#32538)
* manager: move to system/

* one more
old-commit-hash: accdade4cf
2024-05-25 12:41:17 -07:00