Pawel Wieczorek | 2289007 | 2020-01-13 14:23:11 +0100 | [diff] [blame^] | 1 | ========================= |
| 2 | Development environment |
| 3 | ========================= |
| 4 | |
| 5 | Modifications made within this environment focus mainly on adjusting environment and override files |
| 6 | [#]_ located in `oom` repository. This repository is cloned to the Operator's machine and used |
| 7 | during initial provisioning. Editing said files on the host machine (instead of using remote editor |
| 8 | within `vagrant ssh operator` or Emacs TRAMP) requires synchronizing them from guest (operator) to |
| 9 | host using reverse_ SSHFS [#]_. |
| 10 | |
| 11 | When Operator's machine is up, repository content is available in `./oom` directory on the host. It |
| 12 | vanishes if machine is halted, but then it is no longer relevant. |
| 13 | |
| 14 | .. [#] Used by `helm deploy` command |
| 15 | .. [#] Other mechanisms_ considered: rsync (unidirectional, synchronized on machine reload) and NFS |
| 16 | (requires privilege_ elevation to edit host configuration files for synchronization) |
| 17 | |
| 18 | .. _reverse: https://github.com/dustymabe/vagrant-sshfs#options-specific-to-reverse-mounting-guesthost-mount |
| 19 | .. _mechanisms: https://github.com/vagrant-libvirt/vagrant-libvirt#synced-folders |
| 20 | .. _privilege: https://www.vagrantup.com/docs/synced-folders/nfs.html |