tumbo
Docker matrix build generator
variables:
my_var:
- a
- b
- c
some_other:
- 0.1.0
- 0.1.2
context: ./build
recipe: './Dockerfile.j2'
tag: "my-tag:{{ my_var }}-{{ some_other }}"
parallel: no
# no
# yes : uses all threads available
# n : number of threads to use
# default: yes
push: yes
run: yes
registry:
username: my_user
password: my_pass
host: my_host
📘 Config Reference
Variables
The variables to build the matrix. Simply specify an array for each variable. They will be available in the template.
variables:
my_var:
- a
- b
- c
some_other:
- 0.1.0
- 0.1.2
Recipe
The template to compile the dockerfile. Can be a template itself if you don't want to write everything in the same file.
Simple
recipe: './Dockerfile.j2'
Template
variables:
my_var:
- a
- b
recipe: './{{ my_var }}.j2'
Assuming my_var hast the values a and b it will render to ./a.j2 and ./b.j2 accordingly.
Context (Optional)
Default: directory of the config file.
Specify the directory where the templates and the dockerfiles will be built. Supports both absolute and relative paths.
context: ./build
Tag (Optional)
Default: Creates a tag that includes all variables. In most cases it will not be necessary to specify, but can be usefull if your are pushing images. Supports templating of course.
Important: The tag should be unique across the matrix, otherwise you will overwrite other tags. So always include all the variables you specified inside the image name
variables:
var1:
- a
- b
var2:
- a
- b
var3:
- a
- b
tag: 'my-image-name:{{ var3 }}-{{ var1 }}-{{ var2 }}'
Parallel (Optional)
Default: yes
Whether the builds/push/runs should run in parallel or after each other.
no
Parallel off.
parallel: no
yes
Uses all the threads available on the machine.
parallel: yes
number
Uses how many thread you specify
parallel: 2
run (Optional)
Default: no
Wether to run the docker image after building. Can be usefull if running automated tests.
run: yes
push (Optional)
Default: no
Wether to push the docker image after building. Can be used to push images to the docker registry (or your own). See below on how to login.
run: yes
registry (Optional)
Default: Empty
Credentials for docker login. Used to push images and to specify a custom registry if necessary.
registry:
username: my_user
password: my_pass
host: my_host
Metadata
Release files for tumbo 0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tumbo-0.7.tar.gz | 4.9 kB | Without provenance | Details for tumbo-0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tumbo-0.7-py3-none-any.whl | Python 3 | none | any | Details for tumbo-0.7-py3-none-any.whl |
Total release size: 22.8 kB
Release files / tumbo-0.7.tar.gz
| Download URL | tumbo-0.7.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
19b926904f3941e28595c0bc699d62884d68b99fffa70359a7b43a3184877192
|
|
BLAKE2b-256 checksum How to use checksums |
ffb8fcf0f1dbc1d15e9ef21a4c19d2a0c1fc362b55ef9d179450f57346b02e94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.5
|
Release files / tumbo-0.7-py3-none-any.whl
| Download URL | tumbo-0.7-py3-none-any.whl |
|---|---|
| Size | 18.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c562f5818dc449a8e787935d10a1c68727ed5e53a7ab4de053e46c726e0f07bb
|
|
BLAKE2b-256 checksum How to use checksums |
1379573ef55dfd23448ea73b7c792387f3fbbefc906a9c17b9a5289b0afecbc8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.5
|
Security for tumbo 0.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.