A CLI tool for managing services and deployments.
Project description
BuildDeck
BuildDeck is a powerful CLI tool designed for automating the build, test, deployment, and management of services in your projects. It provides easy-to-use commands for handling Maven builds, Docker Compose setups, and Postman test executions.
Features
- Automate Maven build, test, clean, and verification tasks.
- Manage Docker Compose setups with easy-to-use commands.
- Run automated Postman tests for your services.
- Flexible command options for specifying environments and services.
Table of Contents
Installation
You can install BuildDeck from PyPI using:
```bash pip install BuildDeck ```
Or install it locally for development:
```bash git clone https://github.com/yourusername/BuildDeck.git cd BuildDeck pip install -e . ```
Usage
Once installed, you can use the `builddeck` command to run various tasks. Here are some examples:
Build Services in Development Environment
```bash builddeck --env dev mvn-build ```
Test Specific Services
```bash builddeck --env staging --services service1,service2 mvn-test ```
Deploy All Services
```bash builddeck --env prod deploy ```
Run Docker Compose Setup
```bash builddeck up ```
Commands
- `mvn-build` - Build all services using Maven.
- `mvn-test` - Test all services using Maven.
- `mvn-clean` - Clean all services using Maven.
- `mvn-verify` - Verify all services using Maven.
- `test` - Run Postman tests for all services.
- `build` - Build and deploy all services.
- `deploy` - Deploy all services, run Docker Compose, and execute tests.
- `compose` - Generate Docker Compose file.
- `up` - Start Docker Compose services.
- `down` - Stop and remove Docker Compose services.
Options
Global Options
- `--env` - Specify the environment (e.g., `dev`, `staging`, `prod`). Default is an empty string.
- `--services` - Comma-separated list of services to include (e.g., `service1,service2`). Default is all services.
Command-specific Options
- `-s` or `--single` - Operate on a single service instead of all services.
Contributing
Contributions are welcome! To get started:
- Fork this repository.
- Create a new feature branch: `git checkout -b feature-name`.
- Commit your changes: `git commit -m 'Add some feature'`.
- Push the branch: `git push origin feature-name`.
- Submit a pull request.
Please make sure to update tests as appropriate.
License
This project is licensed under the MIT License. See the LICENSE file for details.
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 BuildDeck-1.0.6.tar.gz.
File metadata
- Download URL: BuildDeck-1.0.6.tar.gz
- Upload date:
- Size: 11.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d38ff48662ba0a2a5bacebb5a5e040d3d0928f421fcb7bfa22a163248aa2fa04
|
|
| MD5 |
400656f8609439b830690354485ad299
|
|
| BLAKE2b-256 |
c9de60b9d2baffae0846f8d3c4c2d5300491cbb7bd8312a00d8d3fb63685124e
|
File details
Details for the file BuildDeck-1.0.6-py3-none-any.whl.
File metadata
- Download URL: BuildDeck-1.0.6-py3-none-any.whl
- Upload date:
- Size: 14.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a2f558e840242364dfff5b3d044e0306a099f3e531c4e67bdb4817f09fd2f84
|
|
| MD5 |
d85b973d15b7b13a58145baaee265556
|
|
| BLAKE2b-256 |
ff62499924db5e2578bbebd778a08aa0df776fec8956c9eb5f27883fe3421b00
|