A command-line tool to create a Multipass instance and transfer a project to test to the newly created instance
Project description
Crashtest
Description
Crashtest is a command-line tool to create a Multipass instance and transfer a project to test to the newly created instance.
Requirements
- Python 3
- Multipass
Installation
$ pip3 install --upgrade crash-test-multipass
NOTE: After installing crash-test-multipass with pip if you have not added ~/.local/bin (macOS/Linux) to $PATH you will be asked to do so with a warning that should look like this:
WARNING: The script crash-test-multipass is installed in '/home/ubuntu/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Usage
Create a new instance and transfer a project
$ crashtest --instance-name INSTANCE_NAME --project PROJECT
Create a new instance, transfer a project and install the dependencies
NOTE: Currently only requirements.txt (python) is supported
$ crashtest --instance-name INSTANCE_NAME --project PROJECT --install-dependencies
Delete the instance after finishing to test
$ crashtest --instance-name INSTANCE_NAME --project PROJECT --delete
Contributing
If you would like to contribute to this project just create a pull request which I will try to review as soon as possible.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for crash_test_multipass-1.0.0.post2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b7b78347bf821f6fdc6c34c7ab922a131d5bc695a487f054d67695f437223ec |
|
MD5 | 304b7a6cc1bcdfb4fbead0277ebf616b |
|
BLAKE2b-256 | 7149edd35a9cd4a607f9e6334a19b14cad501455c340ea7892259b4c7de5b088 |
Close
Hashes for crash_test_multipass-1.0.0.post2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32a2cce4ac6c9015fec0e8003d7ecc2bf2ab6580136ee46e2d65da1b98156d6c |
|
MD5 | 3c093542c34af49d7a46de0a6cbe0f4e |
|
BLAKE2b-256 | 0ac765e73b3a0a250824affc55f587262be046e1e0c60dc9137bf2be3460d504 |