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. Apr 22, 2022
  2. Jan 25, 2022
  3. Jan 12, 2022
    • Igor Drozdov's avatar
      Deprecate self_signed_cert config setting · 537f8e19
      Igor Drozdov authored
      The option isn't required to accept self-signed certs
      
      On the other hand, if the option set to true it makes
      machine-in-the-middle attack possible
      
      Let's clarify it in the code that the option is deprecated
      537f8e19
  4. Sep 23, 2021
  5. Sep 08, 2021
  6. Aug 19, 2021
  7. Aug 17, 2021
  8. Aug 11, 2021
  9. Jul 30, 2021
    • Nick Thomas's avatar
      Remove some unreliable tests · 72d70eab
      Nick Thomas authored
      Logrus buffers its output internally, which makes these tests fail
      intermittently. They're also not a good example to follow generally.
      
      We now have acceptance tests that exercise this functionality so I'm
      pretty relaxed about losing the expectations. However, we can test
      them by inspecting the server-received metadata too, so there's no loss
      of coverage here.
      
      The move from logrus to labkit for logging also makes these tests hard
      to justify keeping.
      72d70eab
  10. Jul 26, 2021
  11. Jul 22, 2021
  12. Jul 20, 2021
  13. Jul 14, 2021
  14. Jun 02, 2021
    • Pavlo Strokov's avatar
      fix: upgrade of the gitaly dependency · 9f5a8022
      Pavlo Strokov authored
      Gitaly project now properly respects module release flow
      and includes a module suffix in the package name. It requires
      to re-write all non-suffixed imports with suffixed of a specific
      version of tha module. With proper module versioning we don't
      need to use a 'replace' directive to point to specific commit
      and can use semantic versioning for the gitaly dependency.
      
      Part of: https://gitlab.com/gitlab-org/gitaly/-/issues/3177
      9f5a8022
  15. Mar 17, 2021
  16. Nov 17, 2020
  17. Nov 03, 2020
  18. Oct 15, 2020
    • Zeger-Jan van de Weg's avatar
      tests: Replace assert with require · 308948b3
      Zeger-Jan van de Weg authored
      Testify features sub packages `assert` and `require`. The difference is
      subtle, and lost on novice Golang developers that don't read the docs.
      To create a more consistent code base `assert` will no longer be used.
      
      This change was generated by a running a sed command on all `_test.go`
      files, followed by `goimports -w`.
      308948b3
  19. Oct 14, 2020
    • Zeger-Jan van de Weg's avatar
      client: Allow User-Agent header to be overridden · 3f031273
      Zeger-Jan van de Weg authored
      The user agent for requests to the internal API endpoints used the
      default Go provided user agent. This change updates that to always set
      something else, by default `GitLab-Shell`.
      
      Than for others importing the package, there's a new API to set it to
      something else. This has been done with new method, a setter, to
      maintain backwards compatibility in the API.
      3f031273
  20. Sep 21, 2020
    • Stan Hu's avatar
      Make it possible to propagate correlation ID across processes · a487572a
      Stan Hu authored
      Previously, gitlab-shell did not pass a context through the application.
      Correlation IDs were generated down the call stack instead of passed
      around from the start execution.
      
      This has several potential downsides:
      
      1. It's easier for programming mistakes to be made in future that lead
      to multiple correlation IDs being generated for a single request.
      2. Correlation IDs cannot be passed in from upstream requests
      3. Other advantages of context passing, such as distributed tracing is
      not possible.
      
      This commit changes the behavior:
      
      1. Extract the correlation ID from the environment at the start of
      the application.
      2. If no correlation ID exists, generate a random one.
      3. Pass the correlation ID to the GitLabNet API requests.
      
      This change also enables other clients of GitLabNet (e.g. Gitaly) to
      pass along the correlation ID in the internal API requests
      (https://gitlab.com/gitlab-org/gitaly/-/issues/2725).
      
      Fixes https://gitlab.com/gitlab-org/gitlab-shell/-/issues/474
      a487572a
  21. Aug 20, 2020
  22. Jul 31, 2020
  23. May 12, 2020
  24. May 08, 2020
  25. May 04, 2020
Loading