Commit Graph

26 Commits

Author SHA1 Message Date
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: 12d5afba731b193b6992304c9e31b87603602ae6
2024-06-28 00:04:05 +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: 5c4ea14a3cb7bcb443fbee8c5b1d52c10788c9e8
2024-06-18 03:30:32 +00:00
Shotaro Watanabe
c851d41c5a devcontainer: add bash-completion (#32510)
old-commit-hash: a5ff4a94a6686dacfe0edc3c91951c2b56d2952e
2024-05-22 07:40:10 -07:00
Shotaro Watanabe
03fa0bf4c1 devcontainer: mount /dev (#32500)
old-commit-hash: b9c1c1dd37a195660ce44fbb24aaf5057155a6bf
2024-05-21 10:59:15 -07:00
Shotaro Watanabe
f3f49b4661 devcontainer: added batman to the video group (#32333)
old-commit-hash: 0362cfa7eea8bd526a45bb231d2fcd9114a9a11d
2024-05-01 22:22:35 -07:00
Justin Newberry
e2066b36d3 devcontainer: passthrough .azure (#32228)
azure
old-commit-hash: c8f729761eab9a306788094611467248fcb8c822
2024-04-16 17:40:53 -07:00
Justin Newberry
a994e2d9b0 devcontainer: add gh and azure cli (#31859)
* add ghcli

* nosudo

* nl

* fix

* remove

* link to the install page

* it's already a feature :)

* fix + add azure

* no diff

* Update Dockerfile
old-commit-hash: 0efb62c11caeeccbbc366a0798975e525368a631
2024-03-13 11:40:26 -07:00
Justin Newberry
07c5a51338 devcontainer improvements (#31650)
old-commit-hash: 7ec83c42f8229b37fb243d43004bbea22f0247c2
2024-02-29 14:14:24 -08:00
Justin Newberry
9ef90e214d Simulator: remove carla (#30690)
* no carla

* no arg and stylize metadrive
old-commit-hash: 11ec5bf25e82e53bbefa88643c81ab5b7581e913
2023-12-11 20:38:37 -08:00
Justin Newberry
63e4823467 Devcontainer: initial windows support (#30168)
* windows support

* windows support
old-commit-hash: d00832cb2b3db3341de5467606cb680fd592f424
2023-10-04 14:58:21 -07:00
Kacper Rączy
82ba1dd242 devcontainer: use VirtualGL on mac hosts (#30090)
* Install virtualgl in a container

* Initialize virtualgl in bashrc

* Create virtual screen when starting

* Start vglclient on host

* Run Xvfb in separate tmux session to keep it running

* Add note about virtualGL in readme

* Add wget

* source vglrun

* Start xvfb only when forwarding x11

* Remove section about vglrun from readme

* HOST_DISPLAY implementation

* Add MOTD message instead of readme section
old-commit-hash: d15c2d951fb795021c3c571d7ed28f7dc1f12b90
2023-09-29 17:45:06 -07:00
Kacper Rączy
53e4ca1546 devcontainer: expose zmq ports for bridging (#30072)
* Expose ZMQ ports for bridging

* Limit ports to 8070-8079
old-commit-hash: 481f18710e6142ebee5fb931ad5b0d50a72ee3a2
2023-09-29 23:40:11 +02:00
Justin Newberry
f64c0e5462 Devcontainer: run setup as batman user (#30084)
old-commit-hash: fb89a2a6dd123077ebf6ecb250ec6848c4bc1e7e
2023-09-27 23:40:02 -07:00
Kacper Rączy
db569f53e7 devcontainer: fix rc files, move CARLA_HOST to json (#30047)
* Download rc files to batman home directory. Fix links

* Move CARLA_HOST to devcontainer.json

* Remove user root
old-commit-hash: 3cf58e55eb58f5e94552edfd9b52408c967c8ba7
2023-09-26 04:11:57 +02:00
Kacper Rączy
789ab258a5 devcontainer: force 256 color support in shell (#30045)
Hard-code 256 color support
old-commit-hash: c054b665c25787093dc60321dac5bb7bfb58f60a
2023-09-26 01:53:53 +02:00
Kacper Rączy
067d643e75 devcontainer: fix display override (#30041)
* Fix display override on mac

* Add newline
old-commit-hash: 2fc307cc878ca7b34fdd363cbe511bfa3aa1a96b
2023-09-25 22:56:23 +02:00
Justin Newberry
0b18e54f17 Devcontainer: use "batman" user instead of root (#29704)
* devcontainer user

* cleanup permissions

* remove that

* remove that since it's not used

* clean that up after merge

* build base image first

* remove the pull

* build base image

* ensure we can pip install

* build base image as batman user

* add user uid

* add temporary comment about chown instruction
old-commit-hash: 021effc5ac196ca8995ec2b8f94da715b8e484ba
2023-09-25 10:36:54 -07:00
Justin Newberry
fc69b28f7e Devcontainer: improve CI tests and support using local built image (#30012)
* improve devcontainer tests

* test full build with cache

* fix that

* fix the cache

* fix the cache
old-commit-hash: 003018fc468c3a0a902160413ea5f5d434a987b9
2023-09-24 17:24:44 -07:00
Justin Newberry
62d61e9b55 Simulator: fix port issues in devcontainer (#29977)
* fix sim devcontainer

* use host.docker.internal instead

* devcontainer supports jsonc
old-commit-hash: 1f8ceb4ca15b2aa71d88e74c7df54519ed5968e9
2023-09-20 16:34:29 -07:00
Adeeb Shihadeh
5dbdbd0db9 dev container: pull docker base image (#29968)
old-commit-hash: d0a31515a0ab5a91a949cd6f9ef3e05ef093925f
2023-09-18 19:45:12 -07:00
Adeeb Shihadeh
f43247fa48 add tmux and vim config to dev container (#29967)
old-commit-hash: 66e5531c2509c9df927efa05748bc786053d56d2
2023-09-18 19:32:27 -07:00
Kacper Rączy
109515a208 devcontainer: expose host config, fix mac screen issues (#29932)
* export host config via .host/.env file. fix mac display issues

* append instead of replace for bashrc

* Log when mac display override happens

* Update xauthority path in json
old-commit-hash: dd26a1faadb4cb6a468b77d5be7803cf1dad4beb
2023-09-15 23:00:24 +02:00
Justin Newberry
3b91610c0b Precommit: ensure executable bit is set (#29784)
* precommit ensure executable

* exclude tinygrad

* bump submodules

* exclude tinygrad globally
old-commit-hash: 4e69937d0d3fbdc7d1d42cbc18d7ccf8ddb115f1
2023-09-05 16:33:26 -07:00
Justin Newberry
38270df689 Devcontainer: add recommended extensions (#29703)
* add recommended extensions

* add cython and jupter
old-commit-hash: 82ea2c568871297cbc65c9c85b53493ba190c8fe
2023-08-29 15:05:17 -07:00
Kacper Rączy
3681c1d1b2 devcontainer: handle hosts without X11 (#29537)
* Setup xauthority link on host in initializeCommand

* Create a dummy xauthority if it does no exist on host machine

* Remove xauthority line from ci test
old-commit-hash: 659795b1db85636a2f97eba7616159047bf0c6e9
2023-08-23 10:26:38 -07:00
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