Commit Graph

449 Commits

Author SHA1 Message Date
Maxime Desroches
786820953b lint.sh: check shebang format for bash + python3 (#33286)
lint shebang
old-commit-hash: 63a38dcd4d
2024-08-13 21:47:20 -07:00
Maxime Desroches
7d0f683b1c ci: merge python packages and python submodules bump (#33274)
merge packages and python submodules
old-commit-hash: 8515ac1764
2024-08-12 11:49:21 -07:00
Shane Smiskol
988d16a4c8 remove map from ui preview (#33265)
* rm map from ui preview

* fix
old-commit-hash: 4e122ed2d1
2024-08-11 21:54:40 -07:00
Shane Smiskol
ff1bb1a926 Update ui_preview.yaml
old-commit-hash: 96a4877e9f
2024-08-11 21:01:13 -07:00
Maxime Desroches
49ab9876fa static_analysis: use 24.04 for everyone (#33227)
* noble

* test it

* Revert "test it"

This reverts commit 393868bf5fd14a0afaa6d2b05f632c76f9b52213.
old-commit-hash: eb50f5cae8
2024-08-07 20:22:22 -07:00
Maxime Desroches
5b82b7c65e op.sh: lint (#33217)
* redo

* better

* fix this

* clean everything

* all files

* test

* debug

* get info

* revert

* only good files

* allow skip

* also this

* help section
old-commit-hash: f8f6c39915
2024-08-07 17:23:33 -07:00
Maxime Desroches
b63698c376 more codespell errors (#33223)
more spell
old-commit-hash: 184519834c
2024-08-07 16:02:09 -07:00
Maxime Desroches
dbccf5c922 Revert "pre-commit: bring back some checks (#33196)" (#33216)
This reverts commit 4b356147185aa1d772947e4ec7b54a3e6e523f9d.
old-commit-hash: 3af774725f
2024-08-06 21:48:56 -07:00
Maxime Desroches
5baf136b11 pre-commit: bring back some checks (#33196)
* add this

* add this

* nice ...

* 120

* remove

* no remote

* 0

* this

* no submodules

* like this

* try this

* validate

* like this

* split

* pass files

* no par

* check exist

* no build

* fix

* 24.04

* default

* test failure

* continue

* actually fail

* clean

* import

* fix

* line

* mypy

* clean

* simpler

* final

* better

* final clean

* not true
old-commit-hash: 30467b44cd
2024-08-06 21:39:18 -07:00
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
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