Commit Graph

15 Commits

Author SHA1 Message Date
David Schmitt 9c4c7227d3 Avoid clashes with PSH's build task on release
The (module-)`build` task from puppetlabs_spec_helper is conflicting
with the (gem-)`build` task from bundler.
2018-06-26 17:06:26 +01:00
David Schmitt d4c31eaf86 Add common gem release process docs 2018-06-26 08:29:46 +01:00
David Schmitt 3a1dcd75e7 Enable changelog generation 2018-06-26 08:29:46 +01:00
Spencer McElmurry dc25d9e631 (QENG-5344) Add beaker-abs for ci.next-i-fication
This is needed in order to work with always be scheduling on
CI.Next jenkins instances.
2017-10-05 15:27:01 -07:00
Eric Thompson 564a6fb7f3 (PDOC-144) fix recent commit's Rakefile changes when no platform is specified 2017-02-07 01:05:43 +00:00
Eric Thompson 5908cc795d (PDOC-144) acceptance: fix windows pre-suite
* windows install requires type=aio so gem_command can find the right gem exe
* this change also allows easier command line use
  * by using a sensible default for the acceptance key

[skip ci]
2017-02-07 00:32:58 +00:00
Peter Huene e5577e199c
(PDOC-63) Restore acceptance test to the spec directory.
Previously the acceptance test was implemented under the `spec` directory and
was moved out to a top level `acceptance` directory.

This broke the expected location for the node configuration files.

This commit puts the acceptance test back where it was previously.

Also fixes a failure in the test now that Markdown is the default markup
language used.
2016-09-16 15:42:00 -07:00
Peter Huene cf77ef1379
(PDOC-63) Add specs to test the new implementation.
This commit adds specs to cover parts of the new implementation of Puppet
Strings.
2016-09-15 17:15:54 -07:00
Peter Huene f2aa7d00c5
(PDOC-63) Implement the Puppet Strings rake tasks.
This commit implements the `strings:generate` and `strings:gh_pages:update`
rake tasks.

The `strings:generate` task is responsible for generating Puppet Strings
documentation.

The `strings:gh_pages:update` task is responsible for updating the `gh_pages`
branch of a GitHub repository with the latest Puppet Strings documentation.
2016-09-15 17:15:53 -07:00
Spencer McElmurry c6de41e6b9 (QENG-3888) Remove static nodeset, use beaker-hostgenerator
This is additional work for QENG-3888 in ci-job-configs. We were using static
nodesets within specs/acceptance/nodesets before and this commit will instead use beaker-hostgenerator
to get the specified platform .yml configurations.
2016-06-20 14:13:41 -07:00
Hailee Kenney b8a23d3617 (maint) Update acceptance tests to use gem
Prior to this commit, the acceptance tests were trying to install
strings as a module and failing due to the fact that strings has
transition to a gem and does not have metadata. Update the tests
so that they install strings as a gem instead.
2016-05-02 15:00:38 -07:00
Hailee Kenney 1abca4705f (PDOC-8) Add rubocop to travis job
In order to ensure long term code quality, add a rubocop check to
the travis job which runs when a pull request is submitted. Do this
by adding a rake task for rubocop and setting up travis to run
both the spec rake task and the rubocop one.

Additionally, make a few changes to the .rubocop.yml file so it
will stop complaining about incorrect namespaces.
2014-10-08 14:15:29 -07:00
Hailee Kenney d4059b6857 (PDOC-9) Update acceptance take task for Jenkins
In order to allow for multiple platforms on Jenkins, use the
platform environment variable in the rake task for acceptance tests
to determine which platform to run on.
2014-10-06 15:25:36 -07:00
Hailee Kenney ee6997cd24 (PDOC-9) Add preliminary full system test
In order to help ensure that the strings module is not broken
during development, add a full system integration test which can
run at regular intervals to ensure that the module is working as
expected.

The test installs the string module as well as a test module which
contains the different types of puppet and ruby code that the strings
module can document. It then runs strings and ensures that the HTML
generated is correct.

Additionally, make some changes to the Gemfile to allow strings to
be run as a gem even if it isn't installed in the modulepath. Also
make a few changes to the unit tests to make them compatible with
the version of rspec required by Beaker.
2014-10-06 10:08:30 -07:00
Charlie Sharpsteen a9408c792b Initial commit
Added skeleton from `puppet module generate` minus bits related to manifests.
2014-05-16 10:57:24 -07:00