Commit Graph

327 Commits

Author SHA1 Message Date
Andrei Radulescu b040fcd2a9 build and push full release in CI to commaai/ci-artifacts (#287)
* package_ota.py & upload to commaai/ci-artifacts

* fix simg2img incorrectly using shell=True [upload]

* fix output path

* [upload]

* Apply suggestions from code review

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-08-07 14:24:59 -07:00
Robin Reckmann f2571c76fb Replace apt-get with apt-fast (#285)
* Replace apt-get with apt-fast

* Some more apt-get replacements
2024-08-06 10:57:52 -07:00
Robin Reckmann 8465bfc6c7 Fix SecretsUsedInArgOrEnv warning (#283) 2024-08-06 06:56:47 -07:00
Robin Reckmann c017d6fba0 Fix InvalidBaseImagePlatform warning on aarch64 (#284) 2024-08-06 06:56:13 -07:00
Robin Reckmann 360675b935 Fix FromAsCasing warning (#277)
Address FromAsCasing warning
2024-07-31 06:56:02 -07:00
Andrei Radulescu e85baea994 update flash scripts to always flash active slot (#264)
* update flash scripts

* flash active slot

* more descriptive ending message
2024-07-30 10:51:47 -07:00
Andrei Radulescu 372633b7ba also checkout submodules (#274)
* also checkout submodules

* [upload]
2024-07-30 10:32:22 -07:00
Adeeb Shihadeh c59455d3f8 no internal (#271)
* no internal

* Update README.md

* testing

* rm private submodules

* do this the normal way now

* rm agnos-firmware

* add size

* fix mac

* files
2024-07-28 14:34:28 -07:00
Adeeb Shihadeh fd385808dc cleanup ABL building (#270) 2024-07-28 13:29:13 -07:00
Andrei Radulescu 54d68a5df9 support cursor server (vscode fork) (#267)
support for cursor server (vscode fork)
2024-07-28 10:41:09 -07:00
martinl f2498d1f4b Update README.md (#269)
Add note about flash.comma.ai
2024-07-28 10:27:20 -07:00
Andrei Radulescu 0262fe77c4 fix typo in README (#266)
fixed typo in README
2024-07-26 10:13:39 -07:00
Andrei Radulescu 48ea05d6db uv pip install in a separate tmp folder (#257)
* move uv pip install in separate tmp folder

* [upload]
2024-07-25 12:59:33 -07:00
Andrei Radulescu 8cddf8a52e CI: update get commit message (#258)
* updated & tested get commit message

* test
2024-07-25 12:58:40 -07:00
Adeeb Shihadeh 0480a88722 works on anything now 2024-07-25 10:49:59 -07:00
Andrei Radulescu e5fae93540 Build kernel in docker (#247)
* build kernel in container

* remove ci deps

* cleaning

* more cleaning

* even more cleaning

* README.md update for masOS Case-sensitive required volume

* README.md more info about macOS

* README.md more info about macOS

* README.md more info about macOS - M-series vs Intel

* README.md more info about macOS - M-series vs Intel

* extract_tools should install and pull lfs no matter the ARCH

* raise attention on macOS Case-sensitive volume

* --privileged not needed in build_kernel.sh

* remove docker and git checks

* set -e

* always build image

* updated host user in container

* also works with sudo/root

* removed deps in ci since they are not needed anymore

* agnos-meta-builder

* show macOS support only if current path is not on a Case-sensitive APFS volume

* more succint

* just exit

* fixing caching issues

* cache kernel out

* cleaning

* debug out

* ccache-action no needed anymore

* debug

* rebuild

* remove out cache

* revert ccache action

* create-symlink not needed since it's building in the container

* simpler ccache key name

* cleaning

* rebuild

* git ignore .ccache

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-07-25 10:47:56 -07:00
Parsa Nobahari 95ef1a6c81 updating setup-python@v4 to v5 in tests.yaml (#256) 2024-07-24 09:41:20 -07:00
Andrei Radulescu f379fde57f Fixed edl capstone issue on M-series macs (#254)
fixed edl capstone issue on M-series macs
2024-07-23 13:52:41 -07:00
robin-reckmann 81e84a3561 Fix image creation docker workflow in host ubuntu (#252)
* Fix image creation docker workflow in host ubuntu

* Fix missing user variable

* Only add new non-root users
2024-07-21 16:08:38 -07:00
Andrei Radulescu 8612508955 CI: add system build (#251)
* incremental caching

* increase timeout to 40min; remove if: cache-hits

* rm that

* simplified to have one kernel cache

* [upload] tag for upload-artifact

* [upload] test

* custom key/restore for ccache

* removed if in get commit message

* timeout to 60min

* multiline support in LAST_COMMIT_MESSAGE

* Update .github/workflows/build.yaml

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-07-21 16:07:32 -07:00
robin-reckmann 4b70df393f Fix python dependencies (#250)
* Enable pyopencl and downgrade numpy

* Add future-fstrings as dependency

* Add comments

* Rewrite comment for clarity
2024-07-18 17:12:15 -07:00
Adeeb Shihadeh 655369095c Revert "switch pyenv to uv (#248)"
This reverts commit 7d1a421b60.
2024-07-18 13:32:51 -07:00
Andrei Radulescu d977eb6f22 Fix build system in docker on macOS (#249)
* build system in docker

* removed docker and git checks

* set -e

* no comments in Dockerfile.sparsify

* always build agnos-mount

* require Docker v23.0 and remove deprecated DOCKER_BUILDKIT=1 and DOCKER_CLI_EXPERIMENTAL=enabled

* move docker exec to helpers
2024-07-18 13:22:29 -07:00
coder351 7d1a421b60 switch pyenv to uv (#248)
* switch pyenv to uv

* resolve issues

* remove uv upgrade
2024-07-18 11:46:21 -07:00
Adeeb Shihadeh c079a39be9 Update README.md 2024-07-16 19:06:37 -07:00
Andrei Radulescu d44d1526a3 Fix setting network stuff in container (#245) 2024-07-16 07:01:43 -07:00
Andrei Radulescu 0ea00d5175 Reduce memory usage when building system (#244)
switch from -j40 to -j$(nproc)
2024-07-15 11:57:57 -07:00
Hoang Bui 3edbe65228 Remove remaining mapboxgl stuff (#243)
rm that
2024-07-15 08:01:28 -07:00
Adeeb Shihadeh 77d00779bd validating changes 2024-07-14 11:52:56 -07:00
Adeeb Shihadeh ac1cb0924c contributing + roadmap (#242)
* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2024-07-14 11:46:17 -07:00
Adeeb Shihadeh df5a34a5bf remove mapbox-gl-native (#210) 2024-07-14 11:16:08 -07:00
Adeeb Shihadeh 486e7a538e CI: speedup pre-commit (#241)
* CI: speedup pre-commit

* ugh, no v3
2024-07-14 11:06:50 -07:00
Cameron Clough b5f39a4b62 Build kernel in CI (#231)
* build workflow

* submodule example

* just agnos-kernel-sdm845

* filter

* ubuntu20

* unecessary

* cancel in progress

* upload

* try ccache...

* test ccache

* cache out dir

* v4

* cleanup

* ccache again...

* skip system for now

* try this

* allow override CC

* improve cache hit

* fix

* test if this matters

* don't append timestamp

* try again

* empty

* doesn't help

* test

* Revert "test"

This reverts commit e3a7db8bd5.

* test

* Revert "test"

This reverts commit 42e9ebaaac.

* build system again

* more space

* longer timeout...

* CI froze

* use namespace labs remote builder

* permissions

* try again

* nscloud

* permissions

* ubuntu 20

* wip

* upload kernel modules

* build_kernel arch fix

Co-authored-by: Andrei Radulescu <andi.radulescu@gmail.com>

* lfs clone

* .

* namespace doesn't support git filter

* no perms

* fix typo

* namespace ubuntu2004 doesn't have python2...

* update name

* oh

* no wget

* fix arm64 check

* mount container

Co-authored-by: Andrei Radulescu <andi.radulescu@gmail.com>

* missing deps

* switch to pyenv-action which caches

* update nscloud-checkout-action

* reduce timeout

* run network stuff in container

* test cache

* cache kernel: does this work?

* try again

* test kernel cache

* use github cache action

* test kernel cache

* try actions/checkout

* kernel: cache intermediate build outputs

* name

* test cache 1

* don't skip kernel build

* always set arch to arm64

* just kernel

* fix that

---------

Co-authored-by: Andrei Radulescu <andi.radulescu@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-07-14 11:00:59 -07:00
pantew869 6e94867233 Switch from poetry to uv (#238)
* switch to uv from poetry

* delete poetry.lock

* add uv.lock, required-python, and switch to hatch as in openpilot

* add uv.lock, required-python, and switch to hatch as in openpilot

* update pyproject.toml and copy uv.lock to the docker image

* return opencl

* update uv.lock

* fix precommit

* use two spaces
2024-07-14 07:29:18 -07:00
Adeeb Shihadeh b74aadb549 no more 8022 2024-07-07 20:07:38 -07:00
Andrei Radulescu 278b6946a4 Fixed incorrectly registering qemu on Apple silicon (#236)
Fixed incorrectly registering qemu on arm64
2024-07-06 08:53:44 -07:00
Adeeb Shihadeh 8f11ff937c no pyopencl for now 2024-07-05 19:24:02 -07:00
Adeeb Shihadeh ebc6887ddc revert python3.12 (#234)
* Revert "remove pprofile for now"

This reverts commit 78a2f3e778.

* Revert "update to python 3.12 (#224)"

This reverts commit 1370af97d8.

* unpin
2024-07-05 15:01:07 -07:00
schlimeszn 4fc3c0adf8 Show thread names in htop (#229) 2024-06-10 17:07:57 -07:00
Adeeb Shihadeh 78a2f3e778 remove pprofile for now 2024-05-30 12:56:02 -07:00
Adeeb Shihadeh 1370af97d8 update to python 3.12 (#224) 2024-05-25 16:26:50 -07:00
Adeeb Shihadeh 53a681a2df bump version 2024-05-06 19:45:45 -07:00
Adeeb Shihadeh 0a49bceca2 Revert "update wifi tuning"
This reverts commit 94705b089c.
2024-05-05 17:46:05 -07:00
Adeeb Shihadeh c5e04006a1 bump kernel 2024-05-03 16:56:28 -07:00
Adeeb Shihadeh 94705b089c update wifi tuning 2024-05-03 16:24:45 -07:00
Shane Smiskol 283c7a1e60 Improve ssh responsiveness on slow Wi-Fi networks (#222)
* no loss of interactivity at 300 Kbps, whereas we were struggling before at 4 Mbps and below. previously 300 Kbps meant no ssh packets from the device indefinitely

* Update userspace/files/sshd_config

* Update userspace/files/sshd_config

* Update userspace/files/sshd_config

* format
2024-05-02 15:42:51 -07:00
Adeeb Shihadeh 4f00dad5a3 setup without QMapLibre 2024-05-01 17:07:35 -07:00
Adeeb Shihadeh a455af31c5 included in test_onroad 2024-05-01 15:55:59 -07:00
Adeeb Shihadeh cbbef64821 update setup 2024-05-01 14:05:01 -07:00
Adeeb Shihadeh 1af0cde16e bump version to 10 2024-04-29 14:07:39 -07:00