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.post1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe0d0313a1c89ad0946fe5764ba692199fbe470cb7e6a1914dc1bb3c5078d24b |
|
MD5 | 29ed9bb6e55a0c6c0ffe6038b4cdc17f |
|
BLAKE2b-256 | 091b67b1ca61751044b2e7a7b08d41c05eb186aa67c01a38449d49d27981f110 |
Close
Hashes for crash_test_multipass-1.0.0.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1dc1d23d20cbb46f54e6b2620aab0021e34c7ed06fc78d4156ffe1c35cd1c482 |
|
MD5 | 58b4f2b576f6a1c1e2d3b3fbd4492a7a |
|
BLAKE2b-256 | b8e796078a4b8f2922fc076c2ea88471db678d0595125eda2829ebd9e0bfa8f7 |