Add imagrc cfg, whether to abort hooks if repo init failed
This commit is contained in:
parent
4436a294e2
commit
f689784402
1 changed files with 22 additions and 2 deletions
24
imagrc.toml
24
imagrc.toml
|
@ -41,12 +41,32 @@ aspect = "debug"
|
||||||
[store.hooks.stdhook_git_create]
|
[store.hooks.stdhook_git_create]
|
||||||
aspect = "vcs"
|
aspect = "vcs"
|
||||||
|
|
||||||
[store.hooks.stdhook_git_delete]
|
# Fail if the repository cannot be opened. If this is set to `false`, the error
|
||||||
aspect = "vcs"
|
# will be printed, but will not abort the store operation. `true` will print the
|
||||||
|
# error and abort the store action.
|
||||||
|
abort_on_repo_init_failure = true
|
||||||
|
|
||||||
[store.hooks.stdhook_git_retrieve]
|
[store.hooks.stdhook_git_retrieve]
|
||||||
aspect = "vcs"
|
aspect = "vcs"
|
||||||
|
|
||||||
|
# Fail if the repository cannot be opened. If this is set to `false`, the error
|
||||||
|
# will be printed, but will not abort the store operation. `true` will print the
|
||||||
|
# error and abort the store action.
|
||||||
|
abort_on_repo_init_failure = true
|
||||||
|
|
||||||
|
[store.hooks.stdhook_git_delete]
|
||||||
|
aspect = "vcs"
|
||||||
|
|
||||||
|
# Fail if the repository cannot be opened. If this is set to `false`, the error
|
||||||
|
# will be printed, but will not abort the store operation. `true` will print the
|
||||||
|
# error and abort the store action.
|
||||||
|
abort_on_repo_init_failure = true
|
||||||
|
|
||||||
[store.hooks.stdhook_git_update]
|
[store.hooks.stdhook_git_update]
|
||||||
aspect = "vcs"
|
aspect = "vcs"
|
||||||
|
|
||||||
|
# Fail if the repository cannot be opened. If this is set to `false`, the error
|
||||||
|
# will be printed, but will not abort the store operation. `true` will print the
|
||||||
|
# error and abort the store action.
|
||||||
|
abort_on_repo_init_failure = true
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue