Commit Graph

33 Commits

Author SHA1 Message Date
Robbe Derks
a04cbced36 Devcontainer (#29259)
* mvp devcontainer. builds, runs and UI works

* fix indentation

* enable color and fix openpilot_env path

* separate dockerfile for devcontainer

* use prebuilt image

* Fix openpilot_env setup

* Add dev container section in readme

* Fix typo

* Fix typo again

* Move dev dockerfile to .devcontainer dir

* Update README

* Add note about x11 forwarding on macos

* Update dev container json

* Fix typo

* Override DISPLAY on macOS

* Mention XAUTHORITY for macOS setup in README

* fix typo

* Add devcontainer CI test

* Rename to devcontainer

* Fix git issues

* ripgrep

* Link instead of vscode manual

* Replace raw path with containerWorkspaceFolder

* Fix typo

* Remove dev tools workflow

* Link away X11 forwarding setup isntructions for mac

* Remove fork consrtaint, add test run of scons

* Add submodules as safe.directories in postStartCommand

* Remove openpilot_env references

* Add scons cache volume

---------

Co-authored-by: Robbe Derks <robbe@localhost.localdomain>
Co-authored-by: Kacper Rączy <gfw.kra@gmail.com>
old-commit-hash: d71a7190f1210f5ac97ce16892552ecf495e2437
2023-08-22 11:47:09 -07:00
Justin Newberry
e022ffe528 CI: simulator disable pull to save local space (#29517)
we don't need to pull since the image is different most of the time
old-commit-hash: ec5e3bef956e3f6f2ba7bc1f1eb6e75b0563b987
2023-08-21 20:01:52 -07:00
Justin Newberry
fe844afac7 CI: remove old docs base image push (#29512)
remove that push
old-commit-hash: 9188c560692d9c3019c291ed8ae0e899b2e4bfdf
2023-08-21 15:32:41 -07:00
Justin Newberry
7205b92bb6 CI: use scons cache mount for building simulator and docs (#29436)
* build docker image with scons cache

* use setup

* scons cache

* added the dockerfile

* add the shell

* docs use cache

* dont pull lfs for docs

* simulator too

* dont pull the cache image

* fix inputs

* inputs

* booleans aren't supported

* bool not supported

* bool isnt supported

* fix

* readonly cache

* fix sim cache too

* respect readonly

* gitignore and move to correct folder

* also copy old

* move to tools/ci

* move to selfdrive/test

* just make the cache writable, it's discarded anyway

* minimize diff in this pr
old-commit-hash: 197460e06136f66f60e10ccefece646cb472b872
2023-08-21 15:11:31 -07:00
Justin Newberry
edbd5d330e CI: use setup script for docs and simulator (#29434)
* use setup

* dont pull lfs for docs

* fix inputs

* bool not supported

* bool isnt supported
old-commit-hash: ad00595ba5f7716840afbdf548a9bdf1290dbfeb
2023-08-16 17:59:42 -07:00
Justin Newberry
1424636288 CI: docs speedup by caching first stage (#29397)
* docs speedup

* fix tags on docs build

* build docs without build-push-action
old-commit-hash: f8cbdcfa40a80567a4f6fc3823e46cb37d219cb1
2023-08-14 14:36:17 -07:00
Justin Newberry
20f6a25a1c CI: move other caches out of /tmp (#29348)
* also move other caches

* macos can stay
old-commit-hash: 2482b58968df1faa509a9043b71d164353284146
2023-08-11 17:41:23 -07:00
Justin Newberry
afa33bee18 CI: move cache to home directory (#29347)
move cache to home dir
old-commit-hash: ace4d78e315f48655808e038c96c35b89096b654
2023-08-11 15:45:38 -07:00
Adeeb Shihadeh
ca5d92a1a1 CI: only run on master + PRs (#29242)
old-commit-hash: 0df2cd4fa873636b24407ebe5522fb3ba056e866
2023-08-04 17:56:30 -07:00
Adeeb Shihadeh
5c0a7ef79e CI: add timeouts to tools jobs (#29238)
old-commit-hash: 8633e5f8ab24b42bbe7b85a7063d36ee0c42bcc2
2023-08-04 15:35:21 -07:00
Adeeb Shihadeh
674f14615c CI: temporarily remove timeouts
old-commit-hash: 01bdf382c4bd8a30444c0bde3b737a95f5813f42
2023-02-07 12:52:50 -08:00
Adeeb Shihadeh
1a7b2b6a2d revert timeout increase from #26850
old-commit-hash: 50f62a7adc011c753aa846807a8eabfdbdf93996
2023-01-13 13:46:01 -08:00
Kurt Nistelberger
9570336e6c Laikad: set active (#26850)
* laikad update, renaming

* update locationd

* fix naming

* address PR comments

* upsi

* .

* draft to fix replay

* fix process relay to allow no response for messages

* final fix for process replay

* .

* bump cereal

* update process replay ref commit

* reduce wait time

* .

* last ref change

* move laikad helpers to laika

* .

* fix ublox test

* update refs

* add proper qcom replay support

* fix gnss support if both is available

* update refs

* remove left over

* revert laikad msg

* move laika back to master

* init

* fix gps valid flag

* change time

* add gnss to ignore

* remove gps_valid flag

* .

* adopt orientation reset threshold

* .

* update laikad

* .

* fix stanstill KF resets

* test orienation reset count

* update laika

* bump cereal

* fix process replay

* update laika repo

* remove handle gps

* add extra logging for cache

* .

* add more log

* .

* .

* update laika

* dont remove gps code

* inc min satellite count

* update magic vals and add acc drop

* update laika

* upsi

* rem

* bump laika

* use nav and correct

* more fixes

* use sftp

* No more glonass

* Revert "No more glonass"

This reverts commit a76124da50a1e25f423ad1137c7a046e1d57811d.

* nump laika

* back support old ephemeris cache

* add health to ephemeris message

* bump laika

* remove print

* fix laikad tests

* clean

* remove extra log

* bump laika

* inc timeout for plotjuggler build

* rem cache clear

* .

* enable gps after checks

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
Co-authored-by: Bruce Wayne <harald.the.engineer@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 88423e25df8bfbd8e6a3275eb086f468cf9a59f1
2023-01-13 11:37:38 -08:00
Cameron Clough
fd73f0955f CI: use github.head_ref to group PR action runs (#26505)
* CI: use github.head_ref to group PR action runs

for push triggers, github.ref is set to the "branch or tag ref that was pushed"
for pull_request triggers, it is set to the "pull request merge branch" (master?)

github.head_ref is only set when the trigger is pull_request

https://docs.github.com/en/actions/learn-github-actions/contexts#github-context

* only check github.ref for push event
old-commit-hash: a662af57c7de750df4f1650ee4079c56665b817e
2022-11-15 13:07:46 -08:00
Cameron Clough
eef468fd85 Revert "ci: run some jobs only on push (#26202)"
This reverts commit 8e0e99f77c4e7294df4c57e013c45a1e570cd5ef.

old-commit-hash: 335351123ab8a34d06bf164b5cf5be9046bf2c3c
2022-10-22 01:04:54 -07:00
Cameron Clough
cc8d86fa08 ci: run some jobs only on push (#26202)
* ci: run some jobs only on push

alternative to #25900

* tools too
old-commit-hash: 04b40aad92afaac555c3c7d814699c467d975627
2022-10-21 21:13:55 -07:00
Cameron Clough
3e7720538b Revert "ci: don't trigger on pull request sync event (#25900)"
This reverts commit d63442bd587b62ed26ba85dd5008951b06ae915c.

old-commit-hash: dba8e8ec0ee026f73b5a87d2c4b00556fdee58f7
2022-10-21 18:04:07 -07:00
Cameron Clough
52319c1301 ci: don't trigger on pull request sync event (#25900)
old-commit-hash: 68530f18b4cb2a1f20dfb19319d91216c23e00bb
2022-10-20 13:23:59 -07:00
Adeeb Shihadeh
eec2ca1e8b CI speedup (#26096)
* CI speedup

* use the new stuff

* push

* no regressions

* try that

* don't let this slip

* fix modeld tests

* fix linter

* modernize prebuilt

* cleanup

* fix those

* increase a bit
old-commit-hash: 00494a44f4fb8f9e18ce82e22bf40fbe6bc1a805
2022-10-16 15:54:36 -07:00
Cameron Clough
813429531d ci: disable concurrency for master branch (#26052)
disable concurrency for master branch
old-commit-hash: 077f0e0a4433e07330e2c1e22bc1774da1d964fc
2022-10-12 15:11:03 -07:00
Cameron Clough
d0cb619c7d ci: fix tools workflow
old-commit-hash: 23e78da6a49b8aa43c7d60226aa466a8599be700
2022-10-12 14:34:43 -07:00
Cameron Clough
92fab023b3 ci: only run one instance of each workflow (#26036)
only allow one running workflow per event for each branch
old-commit-hash: 03a065160e176be451cce95073b71bbfce5b4d6a
2022-10-12 13:51:09 -07:00
Adeeb Shihadeh
fca5728055 CI: Actions cleanup + speedup (#25514)
* actions cache cleanup

* release build cleanup

* fetch dpeth
old-commit-hash: 71e76c3d0fa819b8aa9d3580c96b52480febf3d4
2022-08-21 19:14:36 -07:00
HaraldSchafer
f7d1aad21e Update model replay commit for calib change (#25357)
* Update model replay commit for calib test

* more reliable baseline

* update docker login

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 9fbbefbc94f8c672e0b1c79333e34366e19f96cf
2022-08-03 22:35:03 -07:00
Adeeb Shihadeh
396a20d9b3 CI: add build job for latest Ubuntu (#24637)
* CI: add build job for latest Ubuntu

* source

* source env

* scons cache

* cache pyenv

* fix key

* source
old-commit-hash: fbd98b0e541b89f477061bab34dfc41495ac9399
2022-06-11 22:51:09 -07:00
HaraldSchafer
cf0564382a CL in docker (#24718)
* Move CL to base docker

* Different docker for cl

* add cl base docker

* add to tool

* cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: dc4d4f875b173b92847149918af7f1c63d78701f
2022-06-02 18:26:12 -07:00
Adeeb Shihadeh
318b9cff4b CI: pull LFS after checkout (#24552)
old-commit-hash: 2c2c61fd77278443cbbf46a93148e1b0aaf5b798
2022-05-16 14:30:20 -07:00
Adeeb Shihadeh
8f0df45031 CI tuneup (#24541)
* little housekeeping

* all the commits

* one more cars
old-commit-hash: b2569d871ffcdb41f0100cdec7ee56eeb5f605fd
2022-05-15 17:57:34 -07:00
Adeeb Shihadeh
f2457bb23c CI: cache LFS objects (#23345)
old-commit-hash: 760104068b63d32f42564fdbb0193a3724461d11
2022-01-03 14:34:31 -08:00
Adeeb Shihadeh
41d24acca9 disable simulator job until LFS is fixed
old-commit-hash: d85bb967e821bc3aa85796ec6641c6d558d1d3cc
2021-12-31 16:53:54 -08:00
iejMac
926e0dfca6 Move simulator CI to tools workflow (#20285)
* sim CI

* simulator CI

* scons already in Dockerfile.sim

* faster

* fast

* testing
old-commit-hash: 539426033b87e175d874973b6cdf633e8a70d0be
2021-03-08 21:33:15 -08:00
iejMac
36ecc144ff PlotJuggler CI with build from source (#20166)
* CI attempt

* fixing location

* fix

* fixes

* hardcode test_url for CI

* fixes

* cd fix

* Update tools/plotjuggler/juggle.py

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

* Update tools/plotjuggler/test_plotjuggler.py

* fixes

* fixes

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 9144dd7c2f9c0a4d3a4b5188367b409ac3349eba
2021-02-26 17:14:37 -08:00
Adeeb Shihadeh
0823abceff tools: cleanup + setup CI (#20104)
* cleanup tools

* setup tools CI

* loggerd doesn't support this anymore

* cleanup

* builds with openpilot now
old-commit-hash: d1b44bbb345e02eaf5225c2b90fef819b29bc07a
2021-02-17 20:37:01 -08:00