diff options
author | Justin Tobler <jtobler@gitlab.com> | 2022-07-28 20:15:56 +0300 |
---|---|---|
committer | Justin Tobler <jtobler@gitlab.com> | 2022-08-01 18:22:10 +0300 |
commit | d41ac8018936336ecfd6a1aca28011a3794e3a69 (patch) | |
tree | 717aa4d7a1c061ef1da315080497606a3493d7eb | |
parent | 86a6db566f4075fd83aa3139351d0964bc7f7df7 (diff) |
cli: Update `gitaly-hooks check` referencesjt-move-gitaly-hooks-check
The `check` subcommand has been relocated from `gitaly-hooks` to the
main `gitaly` binary. References to the subcommand were updated to
reflect this change.
-rw-r--r-- | _support/terraform/roles/gitlab/handlers/main.yml | 2 | ||||
-rw-r--r-- | doc/hooks.md | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/_support/terraform/roles/gitlab/handlers/main.yml b/_support/terraform/roles/gitlab/handlers/main.yml index 08d1c835c..c6fc7e57a 100644 --- a/_support/terraform/roles/gitlab/handlers/main.yml +++ b/_support/terraform/roles/gitlab/handlers/main.yml @@ -13,6 +13,6 @@ - name: verify gitaly-hooks configuration command: - cmd: /opt/gitlab/embedded/bin/gitaly-hooks check /var/opt/gitlab/gitaly/config.toml + cmd: /opt/gitlab/embedded/bin/gitaly check /var/opt/gitlab/gitaly/config.toml delegate_to: '{{ item }}' with_items: '{{ groups.gitalies }}' diff --git a/doc/hooks.md b/doc/hooks.md index 232273587..821367ca5 100644 --- a/doc/hooks.md +++ b/doc/hooks.md @@ -55,7 +55,6 @@ through gitaly. | subcommand | purpose | arguments | stdin | |----------------|----------|-----------|--------| -| `check` | checks if the hooks can reach the gitlab server | none | none | | `pre-receive` | used as the git pre-receive hook none | `<old-value>` SP `<new-value>` SP `<ref-name>` LF | | `update` | used as the git update hook | `<ref-name>` `<old-object>` `<new-object>` | none | `post-receive` | used as the git post-receive hook | none | `<old-value>` SP `<new-value>` SP `<ref-name>` LF | |