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.1.tar.gz (10.5 kB view hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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