Commit Graph

26 Commits

Author SHA1 Message Date
Maxime Desroches 12d5afba73
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
2024-06-28 00:04:05 +00:00
Maxime Desroches 5c4ea14a3c
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>
2024-06-18 03:30:32 +00:00
Shotaro Watanabe a5ff4a94a6
devcontainer: add bash-completion (#32510) 2024-05-22 07:40:10 -07:00
Shotaro Watanabe b9c1c1dd37
devcontainer: mount /dev (#32500) 2024-05-21 10:59:15 -07:00
Shotaro Watanabe 0362cfa7ee
devcontainer: added batman to the video group (#32333) 2024-05-01 22:22:35 -07:00
Justin Newberry c8f729761e
devcontainer: passthrough .azure (#32228)
azure
2024-04-16 17:40:53 -07:00
Justin Newberry 0efb62c11c
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
2024-03-13 11:40:26 -07:00
Justin Newberry 7ec83c42f8
devcontainer improvements (#31650) 2024-02-29 14:14:24 -08:00
Justin Newberry 11ec5bf25e
Simulator: remove carla (#30690)
* no carla

* no arg and stylize metadrive
2023-12-11 20:38:37 -08:00
Justin Newberry d00832cb2b
Devcontainer: initial windows support (#30168)
* windows support

* windows support
2023-10-04 14:58:21 -07:00
Kacper Rączy d15c2d951f
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
2023-09-29 17:45:06 -07:00
Kacper Rączy 481f18710e
devcontainer: expose zmq ports for bridging (#30072)
* Expose ZMQ ports for bridging

* Limit ports to 8070-8079
2023-09-29 23:40:11 +02:00
Justin Newberry fb89a2a6dd
Devcontainer: run setup as batman user (#30084) 2023-09-27 23:40:02 -07:00
Kacper Rączy 3cf58e55eb
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
2023-09-26 04:11:57 +02:00
Kacper Rączy c054b665c2
devcontainer: force 256 color support in shell (#30045)
Hard-code 256 color support
2023-09-26 01:53:53 +02:00
Kacper Rączy 2fc307cc87
devcontainer: fix display override (#30041)
* Fix display override on mac

* Add newline
2023-09-25 22:56:23 +02:00
Justin Newberry 021effc5ac
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
2023-09-25 10:36:54 -07:00
Justin Newberry 003018fc46
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
2023-09-24 17:24:44 -07:00
Justin Newberry 1f8ceb4ca1
Simulator: fix port issues in devcontainer (#29977)
* fix sim devcontainer

* use host.docker.internal instead

* devcontainer supports jsonc
2023-09-20 16:34:29 -07:00
Adeeb Shihadeh d0a31515a0
dev container: pull docker base image (#29968) 2023-09-18 19:45:12 -07:00
Adeeb Shihadeh 66e5531c25
add tmux and vim config to dev container (#29967) 2023-09-18 19:32:27 -07:00
Kacper Rączy dd26a1faad
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
2023-09-15 23:00:24 +02:00
Justin Newberry 4e69937d0d
Precommit: ensure executable bit is set (#29784)
* precommit ensure executable

* exclude tinygrad

* bump submodules

* exclude tinygrad globally
2023-09-05 16:33:26 -07:00
Justin Newberry 82ea2c5688
Devcontainer: add recommended extensions (#29703)
* add recommended extensions

* add cython and jupter
2023-08-29 15:05:17 -07:00
Kacper Rączy 659795b1db
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
2023-08-23 10:26:38 -07:00
Robbe Derks d71a7190f1
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>
2023-08-22 11:47:09 -07:00