Skip to content
CI/CD utils for gardener project
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.ci
bin
ccc
clamav
cli
concourse
container
doc
github
kube
landscape_setup
mail
model
product
protecode
res
slackclient
test
whd
.dockerignore
.gitignore
CODEOWNERS
Dockerfile
LICENSE.md
NOTICE.md
README.md
VERSION
cli.py
config.py
ctx.py
gitutil.py
http_requests.py
integrationtest.py
mailutil.py
makoutil.py
requirements.txt
reutil.py
setup.cfg
util.py
version.py

README.md

Continuous Integration utils for 'gardener' project

What is it

cc-utils is a collection of re-usable utils intended to be used in the context of Continuous Integration and output qualification of components relevant for the gardener project.

End-User Documentation

How to contribute

Be sure to run tests, linter and codestyle checks:

  • .ci/pycodestyle
  • .ci/pyflakes-lint
  • .ci/test

Run .ci/install_git_hooks to register recommended git hooks.

How to use it

A copy of cc-utils is contained in the default container image in which gardener CI/CD jobs are run (eu.gcr.io/gardener-project/cc/job-image):

  • cli.py is available from PATH
  • all modules are available from PYTHONPATH

Runtime environment requirements

Python Runtime

Python 3.6 or greater is required as a runtime (see requirements.txt for additional runtime dependencies). Earlier Python versions (3.5, 2.x) are not supported.

In addition to the Python API, some functions are exposed via a command line interface (./cli.py).

Special Modules

  • cli.py: CLI executable
  • cli/*.py: all defined functions are exposed via cli.py <module_name> <function_name>
You can’t perform that action at this time.