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: To install npm package dependencies, the latest stable version of nvm will be installed in the new multipass instance, which will install the latest LTS version of Node.
$ 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
Hashes for crash_test_multipass-1.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad355e2d8823cbb501bbf18bd05ec445d947c8fa9e9b74823d6afa11e3f73b16 |
|
MD5 | 607aa1009797cbb5e3c0d9d18411dc9e |
|
BLAKE2b-256 | 30090cfac8da4eb510875afc4c2a31863b3ec5a734ce3a1e12bdc825ea54d50e |
Hashes for crash_test_multipass-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c382be3246fbabd9f2546039980104b7edfafdedba23cd4f59deb0330ecd904 |
|
MD5 | f5eca6948e3aa0fdec501aa7e0b1c4f3 |
|
BLAKE2b-256 | 02a9267400bf9cbe25fe50205e1509f763696ba82bbb58e76bcad77207521e2e |