puppetlabs / puppetdb

Centralized Puppet Storage
http://docs.puppetlabs.com/puppetdb
Apache License 2.0
299 stars 225 forks source link

(maint) integration: use puppetserver uberjar to install gems #3919

Closed austb closed 9 months ago

austb commented 9 months ago

Currently, puppetserver has transitioned to jetty10 and puppetdb is still using jetty9 creating dependency conflicts when integration tests are run. Once we transition to jetty10 as well, there will still be dependency conflicts when we run integration tests against puppetserver 7.x, which is still on jetty9. Remove puppetserver from the project file to avoid dependency conflicts.

d7e619df148f52f3d9661cfd8c2c2f7e796d6ca9 moved puppetserver to run in its own JVM for integration tests, so it is no longer necessary to have puppetserver in our project.clj file, but we still had it there to facilitate installing the vendored gems that puppetserver needs. This moves gem installation for puppetserver out of our project file and clojure code, and instead uses the test setup scripts and the puppetserver uberjar to create the vendored gem directory.

The jetty service name changed from jetty9-service to jetty10-service. Adds an additional bootstrap file, used only for 7.x integration testing, so each puppetserver version loads the correct tk services.