Skip to content

Commit

Permalink
Black formatting and bitwarden tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
psiniemi committed Aug 3, 2021
1 parent 2a3fef5 commit fd01c00
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 51 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[![Build Status](https://travis-ci.org/NitorCreations/nameless-deploy-tools.svg?branch=master)](https://travis-ci.org/NitorCreations/nameless-deploy-tools)
[![Coverage Status](https://coveralls.io/repos/github/NitorCreations/nameless-deploy-tools/badge.svg?branch=master)](https://coveralls.io/github/NitorCreations/nameless-deploy-tools?branch=master)

## Released version 1.215
## Released version 1.216

Nameless deploy tools are a set of tools to implement a true Infrastructure As Code workflow
with various cloud infrastructure management tools. Currently supported tools are
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ RUN set -ex \
&& rm -f terraform.zip

RUN python -m pip install -U pip
RUN pip install --no-cache-dir nameless-deploy-tools==1.215
RUN pip install --no-cache-dir nameless-deploy-tools==1.216

VOLUME /var/lib/docker

Expand Down
85 changes: 38 additions & 47 deletions docs/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -607,30 +607,24 @@ optional arguments:
## `ndt export-connect-contact-flow`
```bash
usage: ndt export-connect-contact-flow [-h] [-c COMPONENT]
[-f CONTACTFLOWNAME]
[-i INSTANCEID | -a INSTANCEALIAS]
[--colorize]
name

Export AWS Connect contact flow from an existing instance

positional arguments:
name The name of the contact flow to export

optional arguments:
-h, --help show this help message and exit
-c COMPONENT, --component COMPONENT
the component directory where the connect contact flow
directory is
-f CONTACTFLOWNAME, --contactflowname CONTACTFLOWNAME
the name of the connect subcomponent directory that
has the contact flow template
-i INSTANCEID, --instanceid INSTANCEID
id of the connect instance to export from
-a INSTANCEALIAS, --instancealias INSTANCEALIAS
alias of the connect instance to export from
--colorize, -o Colorize output
Traceback (most recent call last):
File "/home/pasi/.local/bin/ndt", line 33, in <module>
sys.exit(load_entry_point(\'nameless-deploy-tools\', \'console_scripts\', \'ndt\')())
File "/home/pasi/src/nameless-deploy-tools/n_utils/ndt.py", line 140, in ndt
my_func()
File "/home/pasi/src/nameless-deploy-tools/n_utils/cli.py", line 1346, in export_connect_contact_flow
).completer = ChoicesCompleter(connect.get_instance_ids())
File "/home/pasi/src/nameless-deploy-tools/n_utils/connect.py", line 112, in get_instance_ids
for page in paginator.paginate():
File "/usr/local/lib/python3.9/dist-packages/botocore/paginate.py", line 255, in __iter__
response = self._make_request(current_kwargs)
File "/usr/local/lib/python3.9/dist-packages/botocore/paginate.py", line 332, in _make_request
return self._method(**current_kwargs)
File "/usr/local/lib/python3.9/dist-packages/botocore/client.py", line 386, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/usr/local/lib/python3.9/dist-packages/botocore/client.py", line 705, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (ExpiredTokenException) when calling the ListInstances operation: The security token included in the request is expired
```
## `ndt get-images`
Expand Down Expand Up @@ -723,27 +717,24 @@ optional arguments:
## `ndt list-connect-contact-flows`
```bash
usage: ndt list-connect-contact-flows [-h] [-c COMPONENT] [-f CONTACTFLOWNAME]
[-i INSTANCEID | -a INSTANCEALIAS] [-t]
[-m MATCH]

List existing AWS Connect contact flows in an instance

optional arguments:
-h, --help show this help message and exit
-c COMPONENT, --component COMPONENT
the component directory where the connect contact flow
directory is
-f CONTACTFLOWNAME, --contactflowname CONTACTFLOWNAME
the name of the connect subcomponent directory that
has the contact flow template
-i INSTANCEID, --instanceid INSTANCEID
id of the connect instance to export from
-a INSTANCEALIAS, --instancealias INSTANCEALIAS
alias of the connect instance to export from
-t, --trash Include trashed flows
-m MATCH, --match MATCH
Pattern to match printed flows
Traceback (most recent call last):
File "/home/pasi/.local/bin/ndt", line 33, in <module>
sys.exit(load_entry_point(\'nameless-deploy-tools\', \'console_scripts\', \'ndt\')())
File "/home/pasi/src/nameless-deploy-tools/n_utils/ndt.py", line 140, in ndt
my_func()
File "/home/pasi/src/nameless-deploy-tools/n_utils/cli.py", line 1384, in list_connect_contact_flows
).completer = ChoicesCompleter(connect.get_instance_ids())
File "/home/pasi/src/nameless-deploy-tools/n_utils/connect.py", line 112, in get_instance_ids
for page in paginator.paginate():
File "/usr/local/lib/python3.9/dist-packages/botocore/paginate.py", line 255, in __iter__
response = self._make_request(current_kwargs)
File "/usr/local/lib/python3.9/dist-packages/botocore/paginate.py", line 332, in _make_request
return self._method(**current_kwargs)
File "/usr/local/lib/python3.9/dist-packages/botocore/client.py", line 386, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/usr/local/lib/python3.9/dist-packages/botocore/client.py", line 705, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (ExpiredTokenException) when calling the ListInstances operation: The security token included in the request is expired
```
## `ndt list-file-to-json`
Expand Down Expand Up @@ -796,7 +787,7 @@ usage: ndt load-parameters [-h] [--branch BRANCH] [--resolve-images]
[-f FILTER]
[component]

Load parameters from infra*.properties files in the order:
Load parameters from infra*.properties files in the order:
branch.properties
[branch].properties
infra.properties,
Expand Down Expand Up @@ -1355,7 +1346,7 @@ optional arguments:
```bash
usage: ndt upsert-codebuild-projects [-h] [-d]

Creates or updates codebuild projects to deploy or bake ndt subcomponents in the current branch.
Creates or updates codebuild projects to deploy or bake ndt subcomponents in the current branch.

Parameters are read from properties files as described in \'ndt load-parameters -h\'. To check all job paramters you
can run \'ndt list-jobs -e -j -b [current-branch]\'
Expand Down
2 changes: 1 addition & 1 deletion n_utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"""
import base64

VERSION = "1.215"
VERSION = "1.216"

PATH_COMMANDS = [
"bin/create-shell-archive.sh",
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

setup(
name="nameless-deploy-tools",
version="1.215",
version="1.216",
description="Tools for deploying to AWS via CloudFormation and Serverless framework that support a pull request based workflow",
url="http://github.com/NitorCreations/nameless-deploy-tools",
download_url="https://github.com/NitorCreations/nameless-deploy-tools/tarball/1.157",
Expand Down

0 comments on commit fd01c00

Please sign in to comment.