The werf-giterminism.yaml
allows the use of certain uncommitted configuration files and enables features that potentially depend on external factors. To take effect, this file should be committed to the project git repository.
We recommend minimizing the use of
werf-giterminism.yaml
to create a configuration that is robust and easily reproducible
All the paths and globs in the config must be defined relative to the project directory.
0 | giterminismConfigVersion: int ! | # Config syntax version. It should always be 1 for now |
1 | cli: | # The rules of loosening giterminism for the CLI |
2 | allowCustomTags: bool | # Allow the use of --add-custom-tag and --use-custom-tag options |
3 | config: | # The rules of loosening giterminism for the werf configuration file (werf.yaml) |
4 | allowUncommitted: bool | # Read the configuration file from the project directory despite the state in git repository and .gitignore rules |
5 | allowUncommittedTemplates: [ glob, ... ] | # Read the certain configuration file templates (.werf/**/*.tmpl) from the project directory despite the state in git repository and .gitignore rules |
6 | goTemplateRendering: | # The rules for the Go-template functions |
7 | allowEnvVariables: [ string || /REGEXP/, ... ] | # Allow the use of certain environment variables (using env function). More details here |
8 | allowUncommittedFiles: [ glob, ... ] | # Read the certain configuration files from the project directory despite the state in git repository and .gitignore rules (using .Files.Get and .Files.Glob functions) |
9 | stapel: | # The rules for the stapel image |
10 | allowFromLatest: bool | # Allow the use of fromLatest directive. More details here |
11 | git: | # The rules for the git directive |
12 | allowBranch: bool | # Allow the use of branch directive. More details here |
13 | mount: | # The rules for the mount directive |
14 | allowBuildDir: bool | # Allow the use of build_dir mount ({ from: build_dir, ... }). More details here |
15 | allowFromPaths: [ glob, ... ] | # Allow the use of certain fromPath mounts ({ fromPath: <path>, ... }). More details here |
16 | dockerfile: | # The rules for the dockerfile image |
17 | allowUncommitted: [ glob, ... ] | # Read the certain dockerfiles from the project directory despite the state in git repository and .gitignore rules |
18 | allowUncommittedDockerignoreFiles: [ glob, ... ] | # Read the certain .dockerignore files from the project directory despite the state in git repository and .gitignore rules |
19 | allowContextAddFiles: [ string, ... ] | # Allow the use of the certain files or directories from the project directory with contextAddFiles directive. More details here |
20 | helm: | # The rules of loosening giterminism for the helm files (.helm) |
21 | allowUncommittedFiles: [ glob, ... ] | # Read the certain helm files from the project directory despite the state in git repository and .gitignore rules |