Skip to content

Latest commit

 

History

History
26 lines (23 loc) · 661 Bytes

README.md

File metadata and controls

26 lines (23 loc) · 661 Bytes

kube-deployment-auto-committer

program to commit a new image tag into a kubernetes deployment configuration yaml file.

development

pipenv is used for dependency resolution

python3 -m venv ENV
source ENV/bin/activate
pip3 install -U pip pipenv
pipenv install --dev
pip3 install .
# type checking:
mypy src/deployversioner
# testing:
python3 -m unittest discover -s tests

examples

# project name should be the same as the path of the gitlab url for the
# project, e.g. ai/assisteret-katalogisering-deploy
set-new-version app-deployment.yml $private_token $project_name master-9 -b staging