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 12, 2024
  2. Aug 22, 2024
  3. Mar 27, 2024
  4. Dec 06, 2023
  5. Jun 06, 2023
  6. Jan 30, 2023
  7. Jan 25, 2023
    • Igor Drozdov's avatar
      Stub retryable http values in tests · 952a18f6
      Igor Drozdov authored
      Currently, the default values are used for retryable http.
      That's why a test waits 1 second minimun to retry a request.
      Client test takes 25 seconds to execute as a result.
      When we stub the value to 1 millisecond instead, we get 0.5s of
      execution
      Unverified
      952a18f6
  8. Jan 12, 2023
  9. Oct 17, 2022
  10. Sep 27, 2022
  11. Aug 05, 2022
  12. Jul 05, 2022
    • Patrick Steinhardt's avatar
      go: Bump major version to v14 · 822e49b3
      Patrick Steinhardt authored
      While gitlab-shell currently has a major version of v14, the module path
      it exposes is not using that major version like it is required by the Go
      standard. This makes it impossible for dependents to import gitlab-shell
      as a dependency without using a commit as version.
      
      Fix this by changing the module path of gitlab-shell to instead be
      `gitlab.com/gitlab-org/gitlab-shell/v14` and adjust all imports
      accordingly.
      
      Changelog: fixed
      822e49b3
  13. Jun 30, 2022
  14. May 09, 2022
  15. Apr 26, 2022
  16. Apr 22, 2022
  17. Aug 19, 2021
  18. Aug 11, 2021
  19. 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
  20. Jul 14, 2021
  21. Mar 17, 2021
  22. Nov 17, 2020
  23. Nov 03, 2020
  24. 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
  25. 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
  26. Aug 20, 2020
  27. Jul 31, 2020
  28. May 12, 2020
  29. May 08, 2020
  30. May 04, 2020
  31. Mar 11, 2020
  32. Oct 18, 2019
  33. Oct 03, 2019
  34. Sep 30, 2019
  35. Sep 29, 2019
  36. Sep 26, 2019
Loading