Skip to main content

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:

  1. Fork this repository.
  2. Create a new feature branch: `git checkout -b feature-name`.
  3. Commit your changes: `git commit -m 'Add some feature'`.
  4. Push the branch: `git push origin feature-name`.
  5. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

builddeck-1.0.3.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

BuildDeck-1.0.3-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file builddeck-1.0.3.tar.gz.

File metadata

  • Download URL: builddeck-1.0.3.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for builddeck-1.0.3.tar.gz
Algorithm Hash digest
SHA256 80aa1c82ad6a0ff7cb8978ed69b0d113781ee5c373719d02678af2598c3e7820
MD5 87c8a235a80efa8da65b84056a42e17c
BLAKE2b-256 d0346b8df7f19e14442fe2584bc5fce72e4526df9fcad202ac51efcc80656922

See more details on using hashes here.

File details

Details for the file BuildDeck-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: BuildDeck-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 14.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for BuildDeck-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5696fb6797df0bd4c32293c42d44c573570dc22c2dd5f3fa34615bfad8a74365
MD5 88b18afcd6c0f193223fdc66a4d6422a
BLAKE2b-256 772dc886b8cc2af95c318c4d4fac8137b753045838a808073c9e0c0834d40745

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page