Skip to content
Snippets Groups Projects
  1. Apr 30, 2024
  2. Mar 05, 2024
  3. Jan 05, 2024
  4. Jan 19, 2024
  5. Jan 17, 2024
  6. Jan 13, 2024
  7. Dec 01, 2023
  8. Nov 20, 2023
  9. Nov 14, 2023
  10. Sep 29, 2023
  11. Jun 16, 2023
  12. Jun 12, 2023
  13. May 16, 2023
  14. May 11, 2023
  15. May 15, 2023
  16. Apr 21, 2023
  17. Feb 17, 2023
    • Sami Hiltunen's avatar
      Match Praefect's configuration format in Omnibus · d5105cd6
      Sami Hiltunen authored
      The configuration formats of Praefect and Omnibus deviate from each
      other creating a few problems:
      
      1. Configuration keys for the same option differ between the context of
         Omnibus and Praefect creating confusion for the user.
      
      2. Each new key added requires duplicate work to map the different keys
         into Omnibus.
      
      This change introduces praefect['configuration'] matching configuration
      in Omnibus with Praefect's own format. The previous configuration keys
      are remapped into this new format to assist administrators during the
      transition period.
      
      The tomlrb gem does not supporting encoding TOML, so the tomlib gem has
      been added as a dependency. The configuration values are now serialized
      directly into TOML instead of using a template.
      
      Removes unneeded values allowing Praefect's own source to be the single
      source of truth for configuration.
      
      Updates tests because the new serialization method does not output empty
      config sections.
      
      Guards are included to prevent errors with latency configurations that
      must be arrays where the previous configuration expected a string until
      such time as Praefect's own validation subroutines are implemented.
      
      Closes https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/7422
      
      Changelog: changed
      d5105cd6
  18. Feb 02, 2023
  19. Feb 01, 2023
    • Sami Hiltunen's avatar
      Match Praefect's configuration format in Omnibus · 835dbaa9
      Sami Hiltunen authored
      The configuration formats between Praefect and Omnibus deviate from
      each other.  This has a few problems:
      
      1. The configuration keys differ in Omnibus from what Praefect uses. This
      makes things confusing as the keys for the same options are different in
      different contexts.
      
      2. This forces us to duplicate the configuration in Omnibus' template to
      map the different keys. This creates menial work and requires us to touch
      Omnibus everytime new configuration keys are added.
      
      This commit solves the problem by matching the configuration format of Praefect
      in Omnibus completely with Praefect's own format. This is done by introducing the
      submap Gitlab['praefect']['configuration'] which gets directly serialized as TOML.
      As existing installations still depend on the old keys, compatbility code is added
      to transfer the configuration to their new locations. We should later deprecate the
      old keys and ask users to move the configuration to its new location.
      
      Additionally, the unneeded default values are removed. This ensures the default
      values are not duplicated and can be controlled for both source and Omnibus
      installations by just updating Praefect's source.
      
      As tomlrb does not support encoding TOML, dependency to tomlib was added to do so.
      
      Tests had a slight change as the old template was outputting empty config sections
      which are not needed. The new code outputs no unnecessary empty sections.
      
      Changelog: changed
      835dbaa9
  20. Nov 25, 2022
  21. Nov 04, 2022
    • Jason Young's avatar
      Bump rspec and friends to 3.11 in omnibus · 70293ecd
      Jason Young authored
      
      This enables us to take advantage of new counter methods in
      rspec-expectations that allows for checking for duplicates and/or
      an expected number of items (e.g. include(‘some string’).twice
      
      Latest version is 3.12 - but inspec-core has a <= constraint for 3.11
      
      Changelog: changed
      Signed-off-by: default avatarJason Young <jyoung@gitlab.com>
      70293ecd
  22. Sep 20, 2022
  23. Sep 15, 2022
  24. Sep 20, 2022
  25. Sep 14, 2022
  26. Aug 30, 2022
    • Reuben Pereira's avatar
      Retry package upload · 51174814
      Reuben Pereira authored
      Use the retriable gem to retry uploading of packages if it fails.
      It will retry 10 times, with a total wait time of about 6 minutes.
      If the upload continues to fail, an exception will be raised.
      51174814
  27. Sep 07, 2022
  28. Sep 01, 2022
  29. Aug 26, 2022
  30. Aug 18, 2022
  31. Aug 26, 2022
  32. Aug 25, 2022
  33. Aug 17, 2022
  34. Aug 16, 2022
  35. Aug 10, 2022
Loading