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. Jun 06, 2023
  2. May 22, 2023
    • Igor Drozdov's avatar
      Use a separate HTTP Client for Geo requests · 01ff6edb
      Igor Drozdov authored
      Currently, the client that performs HTTP requests for Geo pushes
      is the same as the one that performs internal HTTP requests.
      
      However, it causes problems with the following setups:
      
      - Internal requests are configured to be via UNIX connections
      - The Primary node is configured to be HTTP(S)
      
      The UNIX client cannot do the request to HTTP(S).
      
      This commit introduces a separate client for Geo requests.
      Unverified
      01ff6edb
  3. Feb 14, 2023
  4. Feb 07, 2023
    • Igor Drozdov's avatar
      Define Do function for Gitlab net client · 3a733910
      Igor Drozdov authored
      In future, we'll need to perform http requests for Geo related
      code area.
      
      We cannot use retryable requests because:
      
      - It's not necessary for the to be retryable
      - In order to retry, the whole request body is stored in RAM,
      while we need to stream large blobs of data
      
      This commit:
      
      - Extracts logging into a separate round tripper in order to
      reuse it for other http requests by default
      - Defines Do function that accepts raw request as an argument
      Unverified
      3a733910
  5. Jan 30, 2023
  6. 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
  7. Jan 12, 2023
  8. Oct 17, 2022
  9. Sep 27, 2022
  10. Aug 05, 2022
    • Carlos Yu's avatar
      Fixed extra slashes in API request paths generated for geo · 15e7e01e
      Carlos Yu authored and Igor Drozdov's avatar Igor Drozdov committed
      15e7e01e
    • Igor Drozdov's avatar
      Update Gitaly to v15 · 2c187671
      Igor Drozdov authored
      This commit also excludes gitlab-shell from dependencies:
      
      Gitaly specifies Gitlab Shell as a dependency as well in order
      to use gitlabnet client to perform API endpoints to Gitlab Rails.
      As a result, Gitlab Shell requires Gitaly -> Gitaly requires an
      older version of Gitlab Shell -> that version requires an older
      version of Gitlab Shell, etc. Let's use exclude to break the
      chain earlier
      2c187671
  11. 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
  12. Jun 30, 2022
  13. May 18, 2022
    • Igor Drozdov's avatar
      Exclude API errors from error rate · c232dc9a
      Igor Drozdov authored
      When API isn't responsible or the resource is not accessible
      (returns 404 or 403), then we shouldn't consider it as an error
      on gitlab-sshd side
      c232dc9a
  14. May 09, 2022
  15. Apr 26, 2022
  16. Apr 22, 2022
  17. Jan 25, 2022
  18. 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
  19. Sep 23, 2021
  20. Sep 08, 2021
  21. Aug 19, 2021
  22. Aug 17, 2021
  23. Aug 11, 2021
  24. 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
  25. Jul 26, 2021
  26. Jul 22, 2021
  27. Jul 20, 2021
  28. Jul 14, 2021
  29. 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
  30. Mar 17, 2021
  31. Nov 17, 2020
Loading