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. Jun 12, 2024
  3. Apr 23, 2024
  4. Apr 17, 2024
  5. Aug 22, 2023
  6. Jul 12, 2023
  7. Jul 04, 2023
  8. Jun 26, 2023
  9. Mar 03, 2023
    • Igor Drozdov's avatar
      Perform HTTP request to primary on Geo push · 83a4e8e5
      Igor Drozdov authored
      Currently, we perform a request to Gitlab Rails that proxies
      the request to primary
      
      However, it causes timeouts on big pushes and consumes large
      amount of memory. We can perform an HTTP request directly
      from Gitlab Shell instead and stream the response to the user
      Unverified
      83a4e8e5
  10. 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
  11. May 05, 2021
    • Nick Thomas's avatar
      Respect parent context for Gitaly calls · d79d4777
      Nick Thomas authored
      Without these changes, Gitaly calls would not be linked to a parent
      context. This means that they would have an unassociated correlationID,
      and Gitaly RPC calls would not be cancel()ed by parent context
      cancellation.
      
      Changelog: fixed
      d79d4777
  12. Mar 15, 2021
  13. Jan 18, 2021
  14. 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
  15. Apr 17, 2020
  16. Apr 14, 2020
  17. Oct 18, 2019
  18. Jul 31, 2019
    • Patrick Bajao's avatar
      Rename CommandArgs to Shell · 592823d5
      Patrick Bajao authored
      Other functions are still expecting for `CommandArgs` instead
      of `Shell`. They should be expecting `commandargs.Shell` now
      since it has been renamed.
      592823d5
  19. Jun 03, 2019
  20. May 31, 2019
Loading