Skip to content

Commit

Permalink
Faster autocomplete, version upgrades and rust tooling setup
Browse files Browse the repository at this point in the history
  • Loading branch information
psiniemi committed Apr 6, 2023
1 parent 39bbc71 commit d80e9e7
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 19 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![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)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

## Released version 1.291
## Released version 1.292

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 @@ -176,7 +176,7 @@ RUN set -ex \
&& unzip -d /usr/bin terraform_${TERRAFORM_VERSION}_linux_${dpkgArch}.zip \
&& rm -f terraform_${TERRAFORM_VERSION}_linux_${dpkgArch}.zip terraform_${TERRAFORM_VERSION}_SHA256SUMS terraform_${TERRAFORM_VERSION}_SHA256SUMS.sig

RUN pip install --no-cache-dir nameless-deploy-tools==1.291
RUN pip install --no-cache-dir nameless-deploy-tools==1.292

VOLUME /var/lib/docker

Expand Down
25 changes: 13 additions & 12 deletions docs/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ options:
usage: ndt aws-config-to-json [-h]

Prints aws config file contents as json for further parsing and use in other
tools
tools.

options:
-h, --help show this help message and exit
Expand All @@ -84,7 +84,7 @@ options:
```bash
usage: ndt azure-ensure-group [-h] [-l LOCATION] name

Ensures that an azure resource group exists
Ensures that an azure resource group exists.

positional arguments:
name The name of the resource group to make sure exists
Expand All @@ -103,7 +103,7 @@ options:
```bash
usage: ndt azure-ensure-management-group [-h] name

Ensures that an azure resource group exists
Ensures that an azure resource group exists.

positional arguments:
name The name of the resource group to make sure exists
Expand Down Expand Up @@ -613,7 +613,7 @@ options:
usage: ndt enable-profile [-h] [-i | -a | -f | -l | -n | -s | -o] profile

Enable a configured profile. Simple IAM user, AzureAD, ADFS and ndt assume-
role profiles are supported
role profiles are supported.

positional arguments:
profile The profile to enable
Expand Down Expand Up @@ -852,7 +852,7 @@ Load parameters from infra*.properties files in the order:

See https://www.tldp.org/LDP/Bash-Beginners-Guide/html/sect_10_03.html
(arrays not supported)


positional arguments:
component Compenent to descend into
Expand Down Expand Up @@ -1425,12 +1425,12 @@ options:
```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]\'
The only mandatory parameter is CODEBUILD_SERVICE_ROLE, which defines the role that the codebuild project assumes
for building.
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]\'
The only mandatory parameter is CODEBUILD_SERVICE_ROLE,
which defines the role that the codebuild project assumes for building.
Other parameters that affect jobs are:
* BUILD_JOB_NAME - name for the codebuild project
* NDT_VERSION - version to use to run bakes and deployments.
Expand All @@ -1453,7 +1453,7 @@ Creates or updates codebuild projects to deploy or bake ndt subcomponents in the
- Needed for bakes and for example serverless python dockerized dependencies
* SKIP_BUILD_JOB - skip creating build jobs where this parameter is \'y\'
* SKIP_IMAGE_JOB, SKIP_DOCKER_JOB, SKIP_SERVERLESS_JOB, SKIP_CDK_JOB, SKIP_TERRAFORM_JOB - skip creating jobs where these parameters are \'y\' and match the subcomponent type


options:
-h, --help show this help message and exit
Expand All @@ -1466,7 +1466,7 @@ options:
```bash
usage: ndt upsert-dns-record [-h] [-t TYPE] [-l TTL] [-n] name value

Update a dns record in Route53
Update a dns record in Route53.

positional arguments:
name The name of the record to create
Expand Down Expand Up @@ -1814,3 +1814,4 @@ positional arguments
optional arguments:
-h, --help show this help message and exit
```
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.291"
VERSION = "1.292"

PATH_COMMANDS = [
"bin/create-shell-archive.sh",
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ requires-python = ">=3.7"
description = "Tools for deploying to AWS via CloudFormation and Serverless framework that support a pull request based workflow"
license = { text = "Apache 2.0" }
authors = [{ name = "Pasi Niemi", email = "pasi@nitor.com" }]
version = "1.291"
version = "1.292"
dynamic = ["entry-points"]
dependencies = [
"argcomplete",
Expand Down Expand Up @@ -58,7 +58,7 @@ content-type = "text/markdown"

[project.urls]
Homepage = "http://github.com/NitorCreations/nameless-deploy-tools"
Download = "https://github.com/NitorCreations/nameless-deploy-tools/tarball/1.291"
Download = "https://github.com/NitorCreations/nameless-deploy-tools/tarball/1.292"

[project.scripts]
associate-eip = "n_utils.cli:associate_eip"
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ description = Tools for deploying to AWS via CloudFormation and Serverless frame
description_file = README.md
author = Pasi Niemi
author_email = pasi@nitor.com
download_url = https://github.com/NitorCreations/nameless-deploy-tools/tarball/1.291
download_url = https://github.com/NitorCreations/nameless-deploy-tools/tarball/1.292
license = Apache 2.0
long_description = file: README.md
long_description_content_type = text/markdown
url = http://github.com/NitorCreations/nameless-deploy-tools
version = 1.291
version = 1.292

[options]
packages = n_utils
Expand Down

0 comments on commit d80e9e7

Please sign in to comment.