Skip to main content

Development workflow made easy

Project description

This is a tool for having an easier and more consistent development workflow.

Installation

pip install git+https://gitlab.com/woning-group/libs/bricks.git

Configuration

Each project must have a bricks.yml. If you plan to use docker-compose, you must also have a docker-compose.yml where the service has the same name as the project.

Example bricks.yml structure

metadata:
  name: test
  version: 0.0.1
  description: Testing this
  tags:
  - hello
  - world

plugins:
  - name: pythonlib-kit
    params:
      hello: there
      setup_py: yes

commands:
  - name: say_hello
    driver: local
    commands:
    - echo "hello there $message"

Commands

To list project details:

bricks help

To run certain commands, run

bricks run command_name [-p param1=value1][-p param2=value2][...]

Eg.

bricks run test
bricks run test -p use_ansible=1
bricks run build -p root_url=https://example.com

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

woning-bricks-0.2.2.tar.gz (10.5 kB view hashes)

Uploaded source

Built Distribution

woning_bricks-0.2.2-py3-none-any.whl (17.4 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page