/
werf_giterminism_yaml.yml
125 lines (125 loc) · 7.53 KB
/
werf_giterminism_yaml.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
directives:
- name: giterminismConfigVersion
value: "int"
description:
en: Config syntax version. It should always be 1 for now
ru: Версия конфигурации. На данный момент поддерживается единственная версия 1
required: true
- name: cli
description:
en: The rules of loosening giterminism for the CLI
ru: Правила ослабления гитерминизма для CLI
directives:
- name: allowCustomTags
value: "bool"
description:
en: Allow the use of --use-custom-tag option
ru: Разрешить опцию --use-custom-tag
- name: config
description:
en: The rules of loosening giterminism for the werf configuration file (werf.yaml)
ru: Правила ослабления гитерминизма для конфигурации werf (werf.yaml)
directives:
- name: allowUncommitted
value: "bool"
description:
en: Read the configuration file from the project directory despite the state in git repository and .gitignore rules
ru: Читать конфигурационный файл из директории проекта, не сверяя контент с файлом из текущего коммита и игнорируя исключения в .gitignore
- name: allowUncommittedTemplates
value: "[ glob, ... ]"
description:
en: Read the certain configuration file templates (.werf/**/*.tmpl) from the project directory despite the state in git repository and .gitignore rules
ru: Читать определённые шаблоны конфигурационного файла (.werf/**/*.tmpl) из директории проекта, не сверяя контент с файлами текущего коммита и игнорируя исключения в .gitignore
- name: goTemplateRendering
description:
en: The rules for the Go-template functions
ru: Правила для функций Go-шаблонизатора
directives:
- name: allowEnvVariables
value: "[ string || /REGEXP/, ... ]"
description:
en: Allow the use of certain environment variables (using env function)
ru: Разрешить определённые переменные окружения (при использовании функции env)
detailsArticle:
all: "/advanced/giterminism.html#env"
- name: allowUncommittedFiles
value: "[ glob, ... ]"
description:
en: 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)
ru: Читать определённые конфигурационные файлы из директории проекта, не сверяя контент с файлами текущего коммита и игнорируя исключения в .gitignore (используя функции .Files.Get и .Files.Glob)
- name: stapel
description:
en: The rules for the stapel image
ru: Правила для stapel-образа
isCollapsedByDefault: false
directives:
- name: allowFromLatest
value: "bool"
description:
en: Allow the use of fromLatest directive
ru: Разрешить использование директивы fromLatest
detailsArticle:
all: "/advanced/giterminism.html#fromlatest"
- name: git
description:
en: The rules for the git directive
ru: Правила для директивы git
directives:
- name: allowBranch
value: "bool"
description:
en: Allow the use of branch directive
ru: Разрешить использование директивы branch
detailsArticle:
all: "/advanced/giterminism.html#branch"
- name: mount
description:
en: The rules for the mount directive
ru: Правила для директивы mount
directives:
- name: allowBuildDir
value: "bool"
description:
en: "Allow the use of build_dir mount ({ from: build_dir, ... })"
ru: "Разрешить использование build_dir маунта ({ from: build_dir, ... })"
detailsArticle:
all: "/advanced/giterminism.html#build_dir"
- name: allowFromPaths
value: "[ glob, ... ]"
description:
en: "Allow the use of certain fromPath mounts ({ fromPath: <path>, ... })"
ru: "Разрешить использование определённых fromPath маунтов ({ fromPath: <path>, ... })"
detailsArticle:
all: "/advanced/giterminism.html#frompath"
- name: dockerfile
description:
en: The rules for the dockerfile image
ru: Правила для dockerfile-образа
directives:
- name: allowUncommitted
value: "[ glob, ... ]"
description:
en: Read the certain dockerfiles from the project directory despite the state in git repository and .gitignore rules
ru: Читать определённые dockerfiles из директории проекта, не сверяя контент с файлами текущего коммита и игнорируя исключения в .gitignore
- name: allowUncommittedDockerignoreFiles
value: "[ glob, ... ]"
description:
en: Read the certain .dockerignore files from the project directory despite the state in git repository and .gitignore rules
ru: Читать определённые .dockerignore-файлы из директории проекта, не сверяя контент с файлами текущего коммита и игнорируя исключения в .gitignore
- name: allowContextAddFiles
value: "[ string, ... ]"
description:
en: Allow the use of the certain files or directories from the project directory with contextAddFiles directive
ru: Разрешить использование определённых файлов или директорий из директории проекта при использовании директивы contextAddFiles
detailsArticle:
all: "/advanced/giterminism.html#contextaddfiles"
- name: helm
description:
en: The rules of loosening giterminism for the helm files (.helm)
ru: Правила ослабления гитерминизма для helm-файлов (.helm)
directives:
- name: allowUncommittedFiles
value: "[ glob, ... ]"
description:
en: Read the certain helm files from the project directory despite the state in git repository and .gitignore rules
ru: Читать определённые helm-файлы из директории проекта, не сверяя контент с файлами текущего коммита и игнорируя исключения в .gitignore