A command-line tool to create a Multipass instance and transfer a project to test to the newly created instance
This project has been archived.
The maintainers of this project have marked this project as archived. No new releases are expected.
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
Execute a custom script
The script is executed in the home folder
$ crashtest --instance-name INSTANCE_NAME --project PROJECT --script SCRIPT
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file crash_test_multipass-1.2.tar.gz.
File metadata
- Download URL: crash_test_multipass-1.2.tar.gz
- Upload date:
- Size: 18.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
487da1c693a89d657ab466347581ddd6a30d0f246aad694b2f2d5c47de756287
|
|
| MD5 |
717ef44868c7d67c95ff9c1d11ab3ccd
|
|
| BLAKE2b-256 |
07892156f19d9ba3f26efc4dda5113c0c73610ba33d01d726c5dcc1a6796dd49
|
File details
Details for the file crash_test_multipass-1.2-py3-none-any.whl.
File metadata
- Download URL: crash_test_multipass-1.2-py3-none-any.whl
- Upload date:
- Size: 28.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc3ba89de0904084ac03b320ab88936b84e9d35949d8656673a428409a9b14a8
|
|
| MD5 |
3621874ad41e7693e1a968c72b1192d0
|
|
| BLAKE2b-256 |
33a02b9ddf6f6012c7bc1e6de19b37e7c4aaf202eac9c5058e65a25884e69d55
|