- Update HISTORY.rst
- Commit the changes:
git add HISTORY.rst
git commit -m "Changelog for upcoming release 0.1.1."
- Update version number (can also be minor or major)
bumpversion patch
| # Compiled source # | |
| ################### | |
| *.com | |
| *.class | |
| *.dll | |
| *.exe | |
| *.d | |
| *.d.* | |
| *.o | |
| *.a |
| pipeline { | |
| //run by default on docker-in-docker slave | |
| agent { | |
| label 'docker' | |
| } | |
| stages { | |
| //demo of running builds within custom container | |
| stage('PrintNodeVersion') { |
| @NonCPS | |
| def nonCpsTest() { | |
| def list = [ | |
| ['CreationDate': '200'], | |
| ['CreationDate': '300'], | |
| ['CreationDate': '100'], | |
| ] | |
| def rval = list.sort true, { it['CreationDate'] } | |
| #!/bin/bash | |
| #### | |
| #### Delete (remove) all items from Aws Dynamo DB table, by specifing table name and primary key | |
| #### | |
| #### Forked from https://gist.github.com/k3karthic/4bc929885eef40dbe010 | |
| #### | |
| #### Usage: | |
| #### clean-dynamo-table TABLE_NAME PRIMARY_KEY | |
| #### |
| #!/bin/bash | |
| TABLE_NAME=$1 | |
| # Get id list | |
| aws dynamodb scan --table-name $TABLE_NAME | grep ID | awk '{ print $2 }' > /tmp/truncate.list | |
| # Delete from id list | |
| cat /tmp/truncate.list | xargs -IID aws dynamodb delete-item --table-name $TABLE_NAME --key '{ "id": { "S": "ID" }}' |
| #!/bin/bash | |
| TABLE_NAME=$1 | |
| # Get id list | |
| aws dynamodb scan --table-name $TABLE_NAME | grep ID | awk '{ print $2 }' > /tmp/truncate.list | |
| # Delete from id list | |
| cat /tmp/truncate.list | xargs -IID aws dynamodb delete-item --table-name $TABLE_NAME --key '{ "id": { "S": "ID" }}' |
| #!/bin/bash | |
| TABLE_NAME=$1 | |
| # Get id list | |
| aws dynamodb scan --table-name $TABLE_NAME | grep ID | awk '{ print $2 }' > /tmp/truncate.list | |
| # Delete from id list | |
| cat /tmp/truncate.list | xargs -IID aws dynamodb delete-item --table-name $TABLE_NAME --key '{ "id": { "S": "ID" }}' |
| #!/usr/bin/env python | |
| import boto3 | |
| import sys | |
| #### | |
| #### usage copy_dynamo_items.py <srcTable> <dstTable> [dstTableRegion] [dstTableProfile] | |
| #### source table region will get picked up from environment variables | |
| #### if target table region is different than source region, pass it as 3rd argument to script | |
| #### source table credentials are picked up from environment | |
| #### if target table credentials are different from source, pass it as 4rd argument to the script as local profile name |
git add HISTORY.rst
git commit -m "Changelog for upcoming release 0.1.1."
bumpversion patch
Principles of Adult Behavior