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. Oct 15, 2019
  2. Oct 03, 2019
  3. Oct 01, 2019
  4. Sep 04, 2019
  5. Aug 09, 2019
  6. Aug 08, 2019
  7. Aug 02, 2019
    • Patrick Bajao's avatar
      Add Executable struct · 3b6f9f75
      Patrick Bajao authored
      This struct is responsible for determining the name and
      root dir of the executable.
      
      The `RootDir` property will be used to find the config.
      
      The `Name` property will be used to determine what `Command`
      and `CommandArgs` to be built.
      3b6f9f75
  8. Jul 29, 2019
    • Patrick Bajao's avatar
      Support falling back to ruby version of checkers · aab85f36
      Patrick Bajao authored
      Rename the ruby scripts to have `-ruby` suffix and add a symlink
      for both to `./gitlab-shell`. The executable name will be used to
      determine how args will be parsed.
      
      For now, we only parse the arguments for gitlab-shell commands. If
      the executable is `gitlab-shell-authorized-keys-check` or
      `gitlab-shell-authorized-principals-check`, it'll always fallback
      to the ruby version.
      
      Ruby specs test the ruby script, the fallback from go to ruby and
      go implementation of both (still pending).
      aab85f36
  9. Jun 06, 2019
  10. May 31, 2019
  11. May 22, 2019
  12. May 07, 2019
  13. Apr 30, 2019
  14. Apr 04, 2019
  15. Apr 03, 2019
  16. Mar 31, 2019
  17. Mar 28, 2019
  18. Mar 21, 2019
  19. Mar 14, 2019
    • Bob Van Landuyt's avatar
      Detect user based on key, username or id · 53511f36
      Bob Van Landuyt authored
      This allows gitlab-shell to be called with an argument of the format
      `key-123` or `username-name`.
      
      When called in this way, `gitlab-shell` will call the GitLab internal
      API. If the API responds with user information, it will print a
      welcome message including the username.
      
      If the API responds with a successful but empty response, gitlab-shell
      will print a welcome message for an anonymous user.
      
      If the API response includes an error message in JSON, this message
      will be printed to stderr.
      
      If the API call fails, an error message including the status code will
      be printed to stderr.
      53511f36
  20. Feb 16, 2019
    • Stan Hu's avatar
      Add support for using gl_project_path · ebedab83
      Stan Hu authored
      This will enable us to track the human-readable project path with SSH
      access in gitlab-shell. Currently the Gitaly logs will only show the
      hashed storage and gl_repository path (e.g. project-1234).
      ebedab83
  21. Feb 14, 2019
  22. Jan 15, 2019
    • Bob Van Landuyt's avatar
      Don't fall back to ruby for non SSH connections · d762f4ec
      Bob Van Landuyt authored
      When SSH_CONNECTION is not set, we don't fall back to ruby, but
      instead fail directly in go writing the error to stderr.
      d762f4ec
    • Bob Van Landuyt's avatar
      Allow enabling gitlab-shell "discover"-feature · 7215126b
      Bob Van Landuyt authored
      This adds the possibility to enable features for GitLab shell.
      
      The first feature being recognized is "Discover": It's the command
      that is executed when running `ssh git@gitlab.example.com` and is
      called without a command.
      
      The gitlab key id or username is already parsed from the command line
      arguments.
      
      Currently we only support communicating with GitLab-rails using unix
      sockets. So features will not be enabled if the GitLab-url is using a
      different protocol. The url for this read from the config yaml.
      
      Pending ruby-specs have been added for the gitlab-shell command.
      
      Refactor to have separate command packages
      7215126b
  23. Dec 20, 2018
  24. Dec 14, 2018
  25. Dec 13, 2018
  26. Nov 07, 2018
  27. Sep 28, 2018
  28. Sep 25, 2018
Loading