1. 04 Jan, 2019 1 commit
    • Zachary Kent's avatar
      (maint) change install method for puppet agent · 3d409415
      Zachary Kent authored
      Prior to this commit the puppet agent install would fail on some but not all
      platforms due to a repo url mismatch. We need to specify the :puppet_collection
      in order to get the correct behavior on all platforms.
      3d409415
  2. 03 Jan, 2019 1 commit
  3. 27 Aug, 2018 1 commit
    • Rob Browning's avatar
      (PDB-3993) Add ./test-config; add pgver/pgbin/pgport opts · e44e9492
      Rob Browning authored
      Move test config handling to ext/bin/test-config, which allows you to
      --set, --get, or --reset (undo any previous --set-ting for the source
      tree) various test config values including the previously existing
      puppet and puppetserver integration test refs, and new pgport, pgver,
      and pgbin settings.
      
      The general idea is that tests can use test-config --get to determine
      what default value to use for these settings, which can be adjusted
      for the local source tree via --set.
      
      By default, try to detect the pgbin directory automatically, based on
      the pgver value, which also allows "test-config --get pgbin" to
      replace the previously travis-specific pgbin-from-spec command.
      
      Always require the pgport to be specified somehow, either via a
      --pgport argument to a given test, or for the whole tree via
      "test-config --set pgport PORT".
      
      Record the tree's default pgver in ext ext/test-conf/pgver-default.
      e44e9492
  4. 09 Aug, 2018 1 commit
  5. 13 Jul, 2018 1 commit
  6. 13 Jun, 2018 2 commits
    • Rob Browning's avatar
      (PDB-3917) Explicitly configure integration test versions · 60ae6cc4
      Rob Browning authored
      Instead of picking up the integration test subject versions from
      PUPPET_VERSION and PUPPETSERVER_VERSION, require them to be explicitly
      configured (and later changed) via ext/bin/config-puppet-test-ref and
      ext/bin/config-puppetserver-test-ref.
      
      Among other things, this makes the contents of ext/test-conf/ the
      single source of truth with respect to the versions.  It also avoids
      having to mangle the project.clj via sed for the integration tests,
      and it makes it much less likely that the project.clj, Gemfile, and
      whatever else might disagree (e.g. if you forgot to specify the
      environment variables identically across command invocations).
      60ae6cc4
    • Rob Browning's avatar
      (PDB-3917) Gemfile: refer to puppet via :ref not :branch · 3c383028
      Rob Browning authored
      This should be more appropriate, since we'll want to be able to use
      tags and hashes too.
      3c383028
  7. 20 Jul, 2017 1 commit
  8. 26 May, 2017 1 commit
  9. 17 Apr, 2017 1 commit
    • Wayne's avatar
      (QENG-2198) Move PuppetDB acceptance over to vmpooler. · 155d1e3f
      Wayne authored
      * Add sqa-utils gem.
      * Rewrite `acceptance/setup/pre_suite/80_add_dev_repo.rb` to use
        `install_puppetlabs_dev_repo` instead of the special stuff it was doing.
      * Add logic to `ext/jenkins/beaker-tests.sh` that will allow PR and merge tests
        to run without making changes to ci-job-configs for vmpooler (those changes
        are coming though!)
      * In `ext/jenkins/packaging.sh` provide `PUPPETDB_PACKAGE_BUILD_VERSION` instead
        of `PACKAGE_BUILD_VERSION` to avoid having to convert to that variable in
        `ext/jenkins/beaker-tests.sh`.
      * Remove S3 packaging/cleanup stuff.
      * Set default beaker type to `aio`. This isn't really necessary, but the test
        suite doesn't work with `foss`, at least not on stable branch.
      * BEAKER_CONFIG should take a filename. Same applies to BEAKER_OPTIONS. This
        change matches up with the way we treat variables of the same name in CI.
      
      (cherry picked from commit 1698d86ae521d769d67f6e179a0371b3388b3e2c)
      155d1e3f
  10. 11 Apr, 2017 1 commit
  11. 02 Mar, 2017 1 commit
  12. 07 Dec, 2016 1 commit
  13. 20 Nov, 2016 1 commit
  14. 17 Nov, 2016 1 commit
  15. 10 Nov, 2016 1 commit
  16. 25 Oct, 2016 1 commit
    • Jeremy Barlow's avatar
      (MAINT) Bump beaker to 2.50.0 · af7355fa
      Jeremy Barlow authored
      Previously, PuppetDB's Gemfile was picking up beaker version 2.43.0.
      This was transitively picking up hocon version 0.9.5.  puppetserver
      recently added some variable interpolation to the puppetserver.conf
      file.  Some fixes in hocon 1.0 and later are needed in order for the
      interpolation to be handled correctly.
      
      This commit bumps the beaker dependency in the Gemfile to ~> 2.50.0,
      which transitively will cause test jobs to pick up a newer hocon gem
      dependency, >= 1.0.
      af7355fa
  17. 17 Oct, 2016 1 commit
    • Jeremy Barlow's avatar
      (MAINT) Bump beaker to 2.50.0 · 041af681
      Jeremy Barlow authored
      Previously, PuppetDB's Gemfile was picking up beaker version 2.43.0.
      This was transitively picking up hocon version 0.9.5.  puppetserver
      recently added some variable interpolation to the puppetserver.conf
      file.  Some fixes in hocon 1.0 and later are needed in order for the
      interpolation to be handled correctly.
      
      This commit bumps the beaker dependency in the Gemfile to ~> 2.50.0,
      which transitively will cause test jobs to pick up a newer hocon gem
      dependency, >= 1.0.
      041af681
  18. 03 Oct, 2016 1 commit
  19. 28 Jul, 2016 2 commits
  20. 26 Jul, 2016 1 commit
  21. 03 Jun, 2016 1 commit
  22. 03 Dec, 2015 4 commits
  23. 05 Nov, 2015 1 commit
  24. 19 Oct, 2015 1 commit
  25. 13 Oct, 2015 1 commit
  26. 06 Oct, 2015 1 commit
  27. 15 Sep, 2015 1 commit
  28. 27 Aug, 2015 1 commit
    • Wayne's avatar
      (QENG-2729) Prepare repo for new CI jobs. · 774416e1
      Wayne authored
      This commit moves some of the Jenkins shell scripts into this repo in order to
      reduce overall churn when converting PuppetDB acceptance testing over to
      vmpooler. So the new CI jobs should be usable by both ec2 and vmpooler testing.
      
      Along with these changes some of the variables read in by the Gemfile,
      acceptance helper, and jenkins beaker script have been modified to make them
      more compatible with variables other CI pipelines might use--bringing us closer
      to a world in which our CI definitions can be generically re-usable between
      projects.
      774416e1
  29. 08 May, 2015 1 commit
    • Rob Browning's avatar
      (PDB-1263) Use beaker EC2 subnet rotation · 621d0c06
      Rob Browning authored
      Upgrade to beaker 2.11, and change all of the acceptance/config files to
      use CONFIG level vpc_id and subnet_ids settings to allow EC2 subnet
      rotation when there are capacity constraints.
      
      (cherry picked from commit 0128adaf)
      621d0c06
  30. 07 May, 2015 1 commit
    • Rob Browning's avatar
      (PDB-1263) Use beaker EC2 subnet rotation · 0128adaf
      Rob Browning authored
      Upgrade to beaker 2.11, and change all of the acceptance/config files to
      use CONFIG level vpc_id and subnet_ids settings to allow EC2 subnet
      rotation when there are capacity constraints.
      0128adaf
  31. 10 Apr, 2015 1 commit
  32. 08 Apr, 2015 2 commits
  33. 07 Apr, 2015 2 commits
    • Andrew Roetker's avatar
      (PDB-1412) Update rspec dependency from 2.x to 3.x · a8eede4c
      Andrew Roetker authored
      This commit updates the rspec dependency and updates the terminus spec
      code to remove the associated updates new failures, deprecations and
      warnings. This commit enables the `:should` syntax explicitly in the
      `spec_helper.rb` to remove a deprecation warning that was introduced in
      rspec 3.x.
      a8eede4c
    • Russell Mull's avatar
      (maint) Support iterative acceptance test development · 69374588
      Russell Mull authored
      Add support for iterating on acceptance tests more quickly by allowing a
      developer to re-run them against an already created VM.
      
      - Add PUPPETDB_SKIP_INSTALL and BEAKER_NO_PROVISION environment variables
        to the Rakefile
      - Add a beaker configuration designated for running these tests 
        (ec2-west-dev)
      - Add the beaker:first_run and beaker:rerun rake tasks
      - Use a patched version of beaker that works on OS X hosts
      - Document how this all works
      69374588