Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement usage of Vagrant images #61

Open
wants to merge 172 commits into
base: master
Choose a base branch
from
Open

Implement usage of Vagrant images #61

wants to merge 172 commits into from

Conversation

M0ses
Copy link
Owner

@M0ses M0ses commented May 29, 2024

Tested so far:

  • Kanku::Handler::Vagrant
  • Kanku::Handler::ExecuteCommandViaSSH
  • Kanku::Handler::PrepareSSH
  • Kanku::Cli::ssh
  • Kanku::Handler::CopyProfile

To Check:

  • Kanku/Cli/snapshot
  • Kanku/Handler/GIT
  • Kanku/Handler/K8NodePortForward
  • Kanku/Handler/OBSServerFrontendTests

To test it in a kanku vm simply run

git clone https://github.com/M0ses/kanku.git
git -C kanku checkout fix_issue_59
export KANKU_CONFIG=kanku/KankuFile.examples/KankuFile.vagrant
kanku destroy
kanku up
kanku ssh -u vagrant

TODO

  • set network_name to standard
  • set ssh username to 'vagrant' (in KankuFile)
  • _prepare_vm via ssh
  • POC Vagrantfile parsing (provisioning)

M0ses added 27 commits June 7, 2024 12:08
Bool means 0/1, but we need 2 also (for 'distribute to any available worker'
* Refactoring:
  * CLI
  * Logger
  * Config Handling

* Cleanup: removed trailing whitespaces
* improved KankuFile->devel
  * create ssh-keys and start ssh-agent/ssh-add before `kanku run`
New option for better debugging of "git clone ..."
M0ses added 30 commits November 12, 2024 14:07
* flexible arch with default 'aarch64'
* remove bios "useserial" (only available on x86_64)
* remove virtio-serial
* remove closing controller tag (broke xml schema)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant