Git Product home page Git Product logo

deploybot-cli's Introduction

Deploybot Client

Build Status Code Climate Test Coverage Issue Count GitHub issues GitHub stars GitHub license

A client to Deploybot service using Deploybot-SDK.

Install

pip install deploybot-cli

Configuration

DEPLOYBOT_ACCOUNT="foo"
DEPLOYBOT_KEY="foo123bar456bar"
COLUMN_WIDTH=15 (optional - default = 32)
COLUMN_STYLE="block" (optional - default = fancy_grid, availables = round, fancy_grid, grid, clean and block)

Usage

- deploybot help
- deploybot user list
- deploybot user get [user_id]
- deploybot deploy list [repository_id] [environment_id]
- deploybot deploy get [deploy_id]
- deploybot deploy trigger [deploy_id]
- deploybot environment list [repository_id]
- deploybot environment get [environment_id]
- deploybot repository list
- deploybot repository get [repository_id]
- deploybot server list [repository_id] [environment_id]
- deploybot server get [server_id]

Test

python setup.py test

deploybot-cli's People

Contributors

mrprompt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

mical

deploybot-cli's Issues

How to configure?

Hey!

This may be a bit stupid question, but how do I configure this client? Ie, where to put DeployBot credentials so that app knows to use them?

I have installed this via pip and I just can' figure out where to put credentials to be able to use this client.

Cheers,
Janne

environment list error

run:

' ' '
deploybot environment list
' ' '

output:
' ' '
Traceback (most recent call last):
File "/usr/local/bin/deploybot", line 9, in
load_entry_point('deploybot-cli==0.3.1', 'console_scripts', 'deploybot')()
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/click/decorators.py", line 64, in new_func
return ctx.invoke(f, obj, *args[1:], **kwargs)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/cli/environment.py", line 25, in environment_list
data = response('environment', 'list', result)
File "/usr/local/lib/python2.7/dist-packages/cli/init.py", line 106, in response
for item in items[1][1]:
IndexError: list index out of range
' ' '

Broken inside docker

root@8800c4ad32f7:/# deploybot 
Traceback (most recent call last):
  File "/usr/local/bin/deploybot", line 9, in <module>
    load_entry_point('deploybot-cli==0.2.9', 'console_scripts', 'deploybot')()
  File "/usr/local/lib/python2.7/dist-packages/cli/__init__.py", line 200, in main
    tableprint.table(data, headers=header, width=int(column_width), style=style, out=out)
  File "/usr/local/lib/python2.7/dist-packages/tableprint/printer.py", line 113, in table
    out.write('\n'.join(tablestr) + '\n')
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-66: ordinal not in range(128)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.