Skip to content
Snippets Groups Projects
  1. Jul 18, 2022
  2. Jul 15, 2022
  3. Jul 12, 2022
  4. Jul 11, 2022
  5. Jul 08, 2022
  6. Jul 06, 2022
  7. Jul 05, 2022
  8. Jun 30, 2022
  9. Jun 29, 2022
  10. Jun 27, 2022
  11. Jun 24, 2022
  12. Jun 23, 2022
    • Stan Hu's avatar
      Clean up unnecessary gRPC gem data · 517c6e87
      Stan Hu authored
      A Ruby platform install of gRPC leaves several hundred megabytes of
      unnecessary data. We can remove much of this data. This matches what
      we do in Omnibus (in `config/projects/gitlab.rb`).
      517c6e87
    • Stan Hu's avatar
      Add libstdc++-static+ to build for UBI builds · 9ca54cfd
      Stan Hu authored
      This is needed to compile the gprc gem.
      9ca54cfd
    • Stan Hu's avatar
      Reinstall Ruby grpc gem with system OpenSSL for FIPS builds · 09289d67
      Stan Hu authored
      By default, the Ruby grpc gem installs itself as a native gem and
      bundles its own copy of BoringSSL. BoringSSL is a fork of OpenSSL, and
      while there are FIPS-validated versions available, a BoringSSL FIPS
      library is not generally available. However, we can ensure FIPS
      compliance by building and linking against the system OpenSSL.
      
      Unfortunately, the gRPC upstream has not made it possible to configure
      the Ruby compilation options
      (https://github.com/grpc/grpc/pull/27881).
      
      To work around this, we patch the Ruby `extconf.rb` to link against
      the system OpenSSL. This commit:
      
      1. Determines which grpc gems have been installed in the system.
      2. Uninstalls all versions. Note that it's possible to install the
         same version with both the Ruby and x86 native platforms.
      3. For each version, download the gem, patch it with the handy
         `gem-patch` tool, and reinstall the patched gem.
      
      Related Omnibus merge request:
      https://gitlab.com/gitlab-org/omnibus-git...
      09289d67