As we reevaluate how to best support and maintain Staging Ref in the future, we encourage development teams using this environment to highlight their use cases in the following issue: https://gitlab.com/gitlab-com/gl-infra/software-delivery/framework/software-delivery-framework-issue-tracker/-/issues/36.

Skip to content
Snippets Groups Projects
  1. Sep 06, 2023
  2. Aug 02, 2023
  3. Jul 06, 2023
  4. Jun 29, 2023
  5. May 18, 2022
  6. Feb 02, 2022
  7. Jan 18, 2021
  8. Aug 17, 2020
    • Taylan Develioglu's avatar
      Add support obtaining personal access tokens via SSH · b8d66d79
      Taylan Develioglu authored
      Implements the feature requested in gitlab-org/gitlab#19672
      
      This requires the internal api counterpart in gitlab-org/gitlab!36302 to
      be merged first.
      
      It can be used as follows:
      ```
      censored@censored-VirtualBox:~/git/gitlab$ ssh git@gitlab-2004 personal_access_token
      remote:
      remote: ========================================================================
      remote:
      remote: Usage: personal_access_token <name> <scope1[,scope2,...]> [ttl_days]
      remote:
      remote: ========================================================================
      remote:
      
      censored@censored-VirtualBox:~/git/gitlab$ ssh git@gitlab-2004 personal_access_token newtoken read_api,read_repository 30
      Token:   aAY1G3YPeemECgUvxuXY
      Scopes:  read_api,read_repository
      Expires: 2020-08-07
      ```
      b8d66d79
  9. Jun 06, 2020
  10. Oct 15, 2019
  11. Oct 08, 2019
  12. Aug 15, 2019
    • Patrick Bajao's avatar
      Replace symlinks with actual binaries · 41f919eb
      Patrick Bajao authored
      We had `gitlab-shell-authorized-keys-check` and
      `gitlab-shell-authorized-principals-check` as symlinks to
      `gitlab-shell` before.
      
      We determine the `Command` and `CommandArgs` that we build based
      on the `Name` of the `Executable`. We also use that to know which
      fallback ruby executable should we fallback to. We use
      `os.Executable()` to do that.
      
      `os.Executable()` behaves differently depending on OS. It may
      return the symlink or the target's name. That can result to a
      buggy behavior.
      
      The fix is to create binaries for each instead of using a symlink.
      That way we don't need to rely on `os.Executable()` to get the name.
      We pass the `Name` of the executable instead.
      41f919eb
  13. Sep 28, 2018
  14. Mar 20, 2018
  15. May 23, 2017
  16. Apr 12, 2017
  17. Feb 24, 2017
  18. Dec 12, 2016
    • Sean McGivern's avatar
      Make custom hooks dir configurable · fbc213ea
      Sean McGivern authored
      Add a new configuration option, custom_hooks_dir. When this is set, we
      will look for global custom hooks in:
          <custom_hooks_dir>/{pre-receive,update,post-receive}.d/*
      
      When this is not set, default to <REPO_PATH>/hooks.
      fbc213ea
  19. Dec 01, 2016
    • Dirk Hörner's avatar
      custom_hook: add support for global custom hooks · 0e409ee4
      Dirk Hörner authored
      This commit adds the option of having another set of global custom hooks
      along with the already supported repository local custom hooks.
      
      The repository local custom hook is executed first (if available). If
      successful, execution continues with the global custom hook (if available).
      This way, local custom hooks get priority over global custom hooks.
      
      Global custom hooks can be enabled by placing an executable file into the
      "custom_hooks" directory within gitlab-shell (create if it does not exist,
      yet).
      0e409ee4
  20. May 12, 2016
  21. Oct 15, 2014
  22. Oct 04, 2014
  23. Aug 13, 2014
  24. Jul 17, 2014
  25. Apr 18, 2014
  26. Nov 10, 2013
  27. May 18, 2013
  28. Feb 05, 2013
  29. Feb 03, 2013
Loading