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 29, 2024
  2. Sep 08, 2021
  3. Aug 11, 2021
  4. Mar 15, 2021
  5. Oct 18, 2019
  6. Aug 09, 2019
  7. Aug 08, 2019
  8. 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
  9. Jul 31, 2019
    • Patrick Bajao's avatar
      Support different CommandArgs type · 3b0176df
      Patrick Bajao authored
      `CommandArgs` has been renamed to `Shell`.
      
      An interface has been added that includes `Executable()` and
      `Arguments()` method. The `BaseArgs` implement this methods
      and should be embeeded in each type.
      3b0176df
  10. 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
  11. Jun 06, 2019
  12. Jun 05, 2019
  13. Jun 03, 2019
  14. May 31, 2019
  15. Mar 21, 2019
  16. 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
Loading