Commit Graph

18 Commits

Author SHA1 Message Date
Justin Newberry 9ef90e214d Simulator: remove carla (#30690)
* no carla

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

* windows support
old-commit-hash: d00832cb2b
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: d15c2d951f
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: 481f18710e
2023-09-29 23:40:11 +02:00
Justin Newberry f64c0e5462 Devcontainer: run setup as batman user (#30084)
old-commit-hash: fb89a2a6dd
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: 3cf58e55eb
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: c054b665c2
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: 2fc307cc87
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: 021effc5ac
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: 003018fc46
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: 1f8ceb4ca1
2023-09-20 16:34:29 -07:00
Adeeb Shihadeh 5dbdbd0db9 dev container: pull docker base image (#29968)
old-commit-hash: d0a31515a0
2023-09-18 19:45:12 -07:00
Adeeb Shihadeh f43247fa48 add tmux and vim config to dev container (#29967)
old-commit-hash: 66e5531c25
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: dd26a1faad
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: 4e69937d0d
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: 82ea2c5688
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: 659795b1db
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: d71a7190f1
2023-08-22 11:47:09 -07:00