Skip to content
Snippets Groups Projects
This project is mirrored from https://:*****@gitlab.com/gitlab-org/omnibus-gitlab.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
  1. Sep 13, 2019
  2. Sep 02, 2019
  3. Aug 20, 2019
  4. Aug 14, 2019
  5. Jun 13, 2019
    • Drew Blessing's avatar
      Service discovery for Prometheus via Consul · 8d3c1acf
      Drew Blessing authored
      When Consul is enabled on a given node, Omnibus will register each
      enabled exporter as a service in Consul. Then, when Consul is enabled on
      the Prometheus server, Prometheus will be configured to pull job
      configuration from Consul.
      8d3c1acf
  6. May 22, 2019
  7. May 12, 2019
  8. Apr 05, 2019
  9. Apr 03, 2019
  10. Nov 16, 2018
  11. Nov 15, 2018
  12. Oct 31, 2018
    • Jason Plum's avatar
      gitaly: set SSL_CERT_DIR properly · d0b42a5e
      Jason Plum authored
      Gitaly actually handles the `env` node differently, as noted in it's attributes file.
      Due to this, move the setting from the attributes to the enable recipe.
      d0b42a5e
  13. Oct 22, 2018
  14. Jul 17, 2018
  15. Jun 14, 2018
  16. May 19, 2018
  17. Apr 03, 2018
  18. Feb 23, 2018
    • Richard Clamp's avatar
      Upgrade to Chef 13.6.4 from 12.21.31 · a82d010e
      Richard Clamp authored
      * Upgrades from chef 12.21.31 to 13.6.4, including dependent gems
      * Updates chefspec to 7.1.1
      * Fixes usage of node.default.gitaly in gitaly recipe
      * Fixes logging configuration under chef 13
      * Updates CHANGELOG
      * Multiple rspec fixes
      ** Changes uses of `old_run_action` to a more compatible call
      ** More complete Kernel.load mocking
      ** Globally mocks `#freeze` on helper instances
      ** Reset the Gitlab singleton in global `before`
      ** Fixes bad cache interactions in `services_spec`
      ** Remove pending from Chef 13 dependent example
      
      = Chef 13.6.4
      
        $EDITOR Gemfile # pin Chef to 13.6.4
        bundle upgrade chef
        git add --patch Gemfile Gemfile.lock
        $EDITOR config/software/*.rb # reflect changes in Gemfile.lock
        git add config/software
      
      13.6.4 is the most-recent-but-one release in the `stable` series of chef
      releases. https://downloads.chef.io/chef/stable
      
      We had tried with the latest `stable` release of chef 13, 13.7.16, but
      hit issues with the defaulting of array properties:
      
      https://github.com/chef/chef/issues/6784
      https://github.com/chef/chef/issues/6792
      
      Care should be taken to upgrade over 13.7.16 to the next stable release,
      though we do have examples that will fail if these bugs are not fixed.
      
      = Chefspec 7.1.1
      
      It's necessary to upgrade to chefspec >= 7 to support chef 13.  We take
      the opportunity to go to 7.1.1 which is the latest stable version.  7.1
      auto-generates matchers, so we are able to remove
      `spec/support/matchers.rb` and `package/libraries/matchers.rb`
      
      == Fixes usage of node.default.gitaly in gitaly recipe
      
      Chef 13 no longer auto-generates accessors on the `attributes` Mashes,
      and instead expects you to access them using the `#[]=` method.
      
      We had one use in the gitaly recipe, which has been corrected to follow
      common style.
      
      = Be more explicit about the run mode for chef-client
      
      The run-mode of the chef-client was not configured explcitly, and
      instead relies on `interval` not being specified to mean 'run once and
      exit', rather than using the `once` configuration option.
      
      Additionally, when specifying `once` it also makes sense to specify
      `client_fork false` as it avoids a needless fork.
      
      = Fixes logging configuration under chef 13
      
      Due to some refactorings in the development of chef 13, it is no longer
      possible to have just a logfile and logging formatter configured
      *without* an additional STDOUT logger.
      
      This issue has been raised upstream as
      https://github.com/chef/chef/issues/6889 in the interim we monkey-patch
      the application class to surpess the creation of the STDOUT logger.
      
      = rspec fixups
      
      == Fix uses of `ruby_block('example').old_run_action(:run)`
      
      We were using the (internal to chefspec) `old_run_action` method to test
      the behaviour of the wrapped ruby blocks in `ruby_block` resources.
      
      Due to internal refactorings in chefspec 7.1 `old_run_action` is no
      longer available to us.
      
      Here we change uses of the `ruby_block('example').old_run_action(:run)`
      pattern to the more compatible `ruby_block('example').block.call`.
      
      == More complete Kernel.load mocking
      
      Chef 13 freezes modules as it loads them.  This prevents accidental
      redefinition of the methods, but was initially clashing with itself as
      during a chefspec run the cookbook compiler was attempting to load all
      libraries after we had already loaded them in the chef_helper for ease
      of mocking.
      
      We extended our existing mocking of Kernel.load to be consistent with
      the loads of libraries from cookbooks other than the gitlab one.
      
      == Globally mocks `#freeze` on helper instances
      
      Related to the changes to mocking Kernel.load, once this was implemented
      we are bitten by default values in LWRPs being frozen in the attribute
      validator.  In order to keep on being able to mock all instances of
      `PgHelper` and related classes we add a mock of `#freeze` to several
      helper classes.
      
      == Reset the Gitlab singleton in global `before`
      
      The Gitlab global object was carrying state from one example group to
      another, this was causing subtle issues when running example groups that
      mutated the global Gitlab configuration in incompatible ways.
      
      Here we save the empty state of the Gitlab configuration singleton at
      the start of the test run, and then reset back to that state in the
      global `before`.
      
      == Fixes bad `cached` interaction in `services_spec`
      
      As a knock-on effect of resetting the Gitlab singleton for every
      example, we hit problems with how the `services_spec` was making use of
      the `cached` rspec helper.
      
      == Remove pending from Chef 13 dependent example
      
      An example that had initially raised awareness of the need for a chef13
      upgrade started working.  As this was a pending rspec example this made
      the tests fail.  Here we remove the pending qualifier.
      a82d010e
  19. Jan 25, 2018
  20. Oct 27, 2017
  21. Sep 26, 2017
  22. Apr 07, 2017
  23. Apr 06, 2017
  24. Apr 04, 2017
  25. Jan 04, 2017
  26. Jan 03, 2017
    • DJ Mountney's avatar
      Add gitaly RunIt service to GitLab Omnibus · 6f1e8f4f
      DJ Mountney authored
      The package does not include the executable itself at this time.
      
      We intend to initially ship it seperatly, to allow it to iterate
      in production on a seperate schedule from GitLab, at least initially.
      
      But if you have the executable installed, and you enable the service,
      It should now be run using RunIt and available during gitlab-ctl status/up/down/restart
      6f1e8f4f
  27. Dec 21, 2016
  28. Sep 01, 2016
  29. Jul 24, 2016
  30. Aug 13, 2015
  31. Oct 08, 2014
  32. Jun 26, 2014
  33. Jun 16, 2014
  34. Feb 11, 2014
  35. Feb 07, 2014
  36. Jan 28, 2014
Loading