tis-repo/dev-env/vagrant
Al Bailey 253a7f1cd6 Update dev setup with small improvements
- ripgrep (rg) and rsync can both be invoked from some
stx/docs tox targets and utilities.

 - override the default editor (nano) with vi.
In the future this will be driven by a yaml variable

- pass in --rebuild when stx-init-env is run.  The build
containers are not always up to date with the latest code.
 --rebuild does not seem to work until after the env has
been initialized at least once.

Story: 2010547
Task: 47211
Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: I1e3b17d57fd537432bc3780759c8a47a2e3b2a5b
2023-02-28 19:22:52 +00:00
..
Readme.md Uploading a Vagrantfile for dev-env setup 2023-01-30 15:51:23 +00:00
Vagrantfile Update dev setup with small improvements 2023-02-28 19:22:52 +00:00
defaults.yaml Uploading a Vagrantfile for dev-env setup 2023-01-30 15:51:23 +00:00

Readme.md

Supported Capabilities: Disk:

  • support bigger VBOX disk
  • support relocate the DISK to be on an SSD
  • support disk resize within the VM User:
  • support ssh as the new user.
  • setup bash env (variables) Build:
  • repo init
  • repo sync
  • setup git settings
  • creates required directories for build env
  • minikube setup
  • update containers prior to running the downloader
  • invoke downloader
  • support restart of minikube on reboot

Setup Time: (approximately 25 min):

  • 3 minutes to download and provision the Debian VM
  • 6 minutes to clone the source code.
  • 7 minutes initialize the build containers
  • 9 minutes to run the downloader for the STX build packages

Future Work Items:

  • populate the initial mirror from previous upstream builds
  • provide data on how to upload the git certs (for git review, etc..)
  • DHCP support (so you can connect to the VM by its name) verified /etc/machine-id is unique, so DHCP should work for these VMs.
  • NIS (home dir) support