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

Add script to run package check via Vagrant in a VirtualBox #117

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jedie
Copy link
Contributor

@jedie jedie commented Jan 19, 2022

I add a way to run package check in a VirtualBox using Vagrant.

I am an Vagrant newbie. Therefore, the whole thing can perhaps still be improved. But works for me.

@selfhoster1312
Copy link
Contributor

I tried your PR and got the following output:

$ ./run_package_check.sh repos/reverseproxy_ynh/
Package check: 'repos/reverseproxy_ynh/'
+ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'ubuntu/focal64' version '20230107.0.0' is up to date...
==> default: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> default: flag to force provisioning. Provisioners marked to run always will still run.
+ vagrant ssh -c '/home/vagrant/package_check/vagrant/scripts/run.sh repos/reverseproxy_ynh/'
Package check: 'repos/reverseproxy_ynh/'
+ lxd init --auto
+ /home/vagrant/package_check/package_check.sh repos/reverseproxy_ynh/
Testing package repos/reverseproxy_ynh/
cp: cannot stat 'repos/reverseproxy_ynh/': No such file or directory
fatal: cannot change to '/tmp/package_check.Hnf1l5/app_folder': No such file or directory
Critical: Unable to find the directory /tmp/package_check.Hnf1l5/app_folder for the package...

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.

2 participants