RiotKit Tools - Continuous Integration tools
Project description
:github:for-each-release
Iterate over recent X github releases and execute a task.
Examples:
# build all versions of File Repository that matches tags v{NUMBER} eg. v3.0.0
# for each version execute: rkd :build --version=%MATCH_0% (it can be any command)
rkd :github:for-each-release \
--repository=riotkit-org/file-repository \
--exec 'rkd :build --version=%MATCH_0%' \
--dest-docker-repo quay.io/riotkit/file-repository \
--allowed-tags-regexp 'v([0-9.]+)'
:github:find-closest-release
Finds a release number closest to specified.
Examples:
rkd :github:find-closest-release --repository riotkit-org/file-repository -c 1.3
:docker:tag-exists
Checks if a docker image has a tag. Requires docker client, daemon and permissions to the daemon.
Examples:
# will result in a success
sudo rkd :docker:tag-exists -i alpine:latest
# will result in a failure
sudo rkd :docker:tag-exists -i alpine:not-existing
:docker:extract-envs-from-dockerfile
Extract list of environment variables, their descriptions and example values from a Dockerfile.
rkd :docker:extract-envs-from-dockerfile -f ~/Projekty/riotkit/riotkit/docker-taiga/Dockerfile --format bash_source
:docker:generate-readme
Generates a README.md file from README.md.j2 template, considering environment variables from a Dockerfile.
rkd :docker:generate-readme --template docker-taiga/README.md.j2 --dockerfile docker-taiga/Dockerfile
#### Configuration reference
List of all environment variables that could be used.
{% for env_var, attrs in DOCKERFILE_ENVS.items() %}{% if attrs[2] %}# {{ attrs[2] }}{% endif %}
- {{ attrs[0] }} # (default: {{ attrs[1] }})
{% endfor %}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for rkt_ciutils-2.2.1.dev19-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c63ac39af860ee4d90c011217a39aabe20d364ca791b27e6489921934897c136 |
|
MD5 | 42b10f5e94f2957a1be3311516b777a3 |
|
BLAKE2b-256 | 09464c41b74e3829c7c07ff8a77ab5143f6492b73919db7e13919dcdb42ae572 |