Commit Graph

16 Commits

Author SHA1 Message Date
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
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
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
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
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