28 Commits

Author SHA1 Message Date
Adeeb Shihadeh
a765dc1759 misc lil cleanups (#582)
* cleanup apt hook

* Move VERSION into rootfs overlay

* Use broad rootfs overlay copy
2026-05-03 15:21:42 -07:00
Adeeb Shihadeh
36a620f08f and the actions config 2026-04-30 18:45:39 -07:00
Andi Radulescu
0354c3e441 rm namespace (#550) 2026-03-11 14:44:29 -07:00
Adeeb Shihadeh
1f23b206bd Fix kernel build ccache not being used in CI (#518) 2026-01-31 20:21:30 -08:00
Mauricio Alvarez Leon
e145d81413 fix push-and-comment.yaml (#437)
Update push-and-comment.yaml
2025-01-27 13:57:49 -08:00
Mauricio Alvarez Leon
8ef8bd7e84 fix noisy push-and-comment workflow (#433)
Update push-and-comment.yaml
2025-01-23 10:42:13 -08:00
Maxime Desroches
55c3d042f6 ci: fix test timeout on slow runner (#410)
runner
2024-11-23 19:48:02 -08:00
Andrei Radulescu
20f1652918 display stats in CI step (#349) 2024-09-06 09:48:43 -07:00
Andrei Radulescu
13cd823813 Nicer version for CI builds (#351)
* correct GIT_HASH in CI

* nicer version

* [upload]
2024-09-06 09:48:21 -07:00
Andrei Radulescu
4e04bbc343 agnos rootfs statistics in CI (#291)
* agnos rootfs statistics in CI

* rebuild

* wip

* minimal stats

* agnos stats in PR comment

* just the folders

* just stats

* raw image is now just image

* fix printing stats when no [upload]

* this is nicer [upload]
2024-09-03 21:35:40 -07:00
Andrei Radulescu
bdb9394d62 Ship non-sparse system image in OTA (#275)
* removed system-skip-chunks image

* removed sparsed system.img

* clean github workflow

* copy image to output

* fake system-skip-chunks [upload]

* sparse key must exist otherwise KeyError: 'sparse' in openpilot

* reduce image size to 5G otherwise MemoryError: Unable to allocate output buffer. in openpilot

* [upload]

* Revert "fake system-skip-chunks"

This reverts commit bcd11e7e32.

* recreate 10G image [upload]

* resize2fs

* resize2fs shrink image

* revert skip-chunks image

* cleanup

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-08-18 12:55:18 -07:00
Andrei Radulescu
efde194a5b ci: update VERSION to commit hash for pull requests (#311)
* update VERSION to commit hash for pull requests

* [upload]

* keep version in title
2024-08-14 11:45:55 -07:00
Andrei Radulescu
cd181f2a3d fixed gitlab ci-artifacts branch (#307) 2024-08-12 15:26:53 -07:00
Andrei Radulescu
7f7a7a7f82 fixed build and push full release in CI (#305)
* fixed ci workflows

* don't push ota-staging.json and system-skip-chunks-*.img.xz

* add back permissions

* updated raw links

* fixed missing if

* switch to gitlab

* VERSION
2024-08-12 14:33:10 -07:00
Andrei Radulescu
f125aee12f build and push full release in CI on [upload] (#288)
* push to ci-artifacts and pr comment ifs [upload]

* [upload]

* update permissions

* [upload]

* splitted build and push-and-upload workflows

* [upload]
2024-08-11 16:24:18 -07:00
Andrei Radulescu
2c6b35d6e1 package_ota: remove converting sparse to raw (#289)
* package_ota: don't convert sparse image to raw if raw images already exists

* don't convert anymore
2024-08-07 16:34:42 -07:00
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
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
Andrei Radulescu
8cddf8a52e CI: update get commit message (#258)
* updated & tested get commit message

* test
2024-07-25 12:58:40 -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
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
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
Adeeb Shihadeh
4d551cee9d Update tests.yaml 2024-04-25 17:13:47 -07:00
Adeeb Shihadeh
52b83f9638 update python to 3.11.4 (#120)
* 3.11.4

* pre-commit

* revert pycapnp

* revert pycapnp

* update pyqt

* try this

* unpin

* Revert "unpin"

This reverts commit d97316717d.

* comment

---------

Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
2023-07-05 17:40:34 -07:00
Adeeb Shihadeh
18f4bd76c0 little bit of ci (#96)
* more pre-commit

* run in ci

* fix violations

* cleanup
2022-10-22 18:07:59 -07:00