Commit graph

34 commits

Author SHA1 Message Date
Ryan Davis
747d16bd7d Sorted and cleaned up .gitignore a bit
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-06-04 13:47:48 -07:00
Ryan Davis
7082fbef3d Add support for Gemfile.local
Let me use _my_ tooling!

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-05-18 13:19:56 -07:00
Clinton Wolfe
c1660e8568 Helper script to check for typos in deprecation group names
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-12 10:57:30 -04:00
Tim Smith
432d473bf9 Don't use hidden kitchen files
This just makes finding these harder on *nix systems.

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 17:20:42 -08:00
Clinton Wolfe
fa0a6c9794 Ability to render contrib resource pack docs on main website (#3184)
* Sketch out contrib doc fetcher
* Read contrib config file
* Fetch contrib resource packs from git
* Copy in resource pack docs from contrib
* Task to cleanup copied-in files
* Attach contrib resource pack docs fetching to main website doc generation
* Refactor - rename vars in resource overview task for clarity
* Generate resource overview page using info from contrib
* Fix issue in which AWS and Azure resources were ending up under OS
* Trigger contrib doc cleanup after doc build
* Comment out the contrib.yaml for now
* Disable contrib tasks if git is not available
* Rubocop issues
* Allow .md as doc file ending
* Fix for files ending in md having a relative link
* Omit 'resources' from section labels to save width
* Rubocoooooooooooppppp

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-08-02 11:43:46 -04:00
David McCown
23967a2849 Refactors Terraform plan to break out steps (#2996)
This change should make it easier to work with a running environment.
You may now apply changes without doing a full teardown/rebuild any time
you make a change to the terraform plan.

Adds some documenation on how to use the Terraform tooling.

Adds AZURE_LOCATION to override the default region.

Signed-off-by: David McCown <dmccown@chef.io>
2018-04-29 14:00:12 -04:00
Clinton Wolfe
340b6eb4b4 Upgrade Terraform version pins for integration testing (#2968)
* Update terrform to 0.11.7 (latest) and aws plugin to 1.14; upgrade plugins on test startup
* TF route table resource doesn't export associations or routes attributes.  Which we weren't using anyway.
* Downgrade to aws plugin 1.13 to avoid TF panic; suppress deprecation warning for aws_region
* Fix incoherent attribute combination on cloudtrail
* Add -auto-approve to suppress interactive confirmation
* Update version pinning for AWS minimal account
* Use a plan file in AWS runs
* Pin azure TF run to 0.11 and 1.3; also an autoformatter pass on the TF code.

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-04-19 13:01:27 -04:00
Clinton Wolfe
118b8a9fc5 Various small fixes/adjustments to the integration tests for AWS and Azure (#2745)
* Fix formatting of iam user integration tests by placing them in controls
* Fix subnet AZ test by making it an attribute; can't hardcode it
* Fix VPC ID fixture export for subnet testing
* Rename Azure integration tasks to match AWS and allow on-demand attribute dump

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-02-26 16:37:36 -05:00
Clinton Wolfe
f7a11ee2df Merge branch 'aws-merge-prep' into aws-merge
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-02-07 09:53:21 -05:00
Adam Leff
185786b49a Remove www Gemfile.lock (#2082)
No reason to keep the Gemfile.lock in the www directory under source
control. It adds extra steps to the www release process after an InSpec
release because the release process will fail of the git working tree
is not clean (and since the www Rake tasks rely on InSpec stuff, the
Gemfile.lock will be perpetually out of date).

Signed-off-by: Adam Leff <adam@leff.co>
2017-08-17 16:08:55 +02:00
Miles
69434fec48 Use terraform environments to avoid integration test collisions
* When running integration tests with Rakefile use terraform environment based on environment variable INSPEC_TERRAFORM_ENV
** If INSPEC_TERRAFORM_ENV is not provided, a random string will be used
* Use terraform environment as a namespace for AWS artifacts
* Use attribute file for inspec to be aware of the terraform environment used

Signed-off-by: Miles Tjandrawidjaja <miles@tjandrawidjaja.com>
2017-05-06 14:14:53 -04:00
sfreeman
a148780216 Add files to gitignore
Signed-off-by: sfreeman <Steffanie.Freeman@d2l.com>
2017-03-29 15:29:01 -04:00
sfreeman
d9221bb925 Add ability to choose a user by username
Add has MFA enabled member
Add "has console password" member

Signed-off-by: sfreeman <Steffanie.Freeman@d2l.com>
2017-03-15 15:49:13 -04:00
Adam Leff
a98af30b45 Updating .gitignore for Habitat and direnv
For direnv users, excluding the .direnv and .envrc entries will
help avoid any unnecessary local environment settings from getting
committed.

Excluding the results directory will avoid any Habitat artifacts
from getting unnecessarily committed.

Signed-off-by: Adam Leff <adam@leff.co>
2017-03-02 16:45:37 -05:00
jkerry
a1f0d32d6b adding gitignore entries for the tar.gz files that result from the functional tests
Signed-off-by: jkerry <john@kerryhouse.net>
2017-02-25 00:44:23 -05:00
Hannah Maddy
72cbd0d39e New Inspec.io WIP
WIP : Community/Tutorials
NEED TO DO: Media Queries, Docs
2017-01-20 10:26:14 +01:00
Alex Pop
4c60a69eae Provide inspec.lock for archives as well
Signed-off-by: Alex Pop <apop@chef.io>
2016-11-29 23:59:39 +01:00
Artem Sidorenko
154e23ebab Ignore RVM files
For the case somebody is using RVM for inspec development
with different environments (rubies/gemsets)
2016-10-25 21:59:04 +02:00
Dave Parfitt
5231a0dc43 move Inspec Habitat package to chef/inspec.
NOTE: The existing `core/inspec` package (version 0.27.0) cannot be removed
from the public Habitat depot.
2016-10-12 15:03:24 -04:00
Steven Danna
fd04d5bf7a
Ignore lockfiles in example profiles
These get generated if you run the tests manually sometimes and clutter
up git-status.

Signed-off-by: Steven Danna <steve@chef.io>
2016-09-28 13:49:06 +01:00
Christoph Hartmann
7d6eb38d4c move tutorial ignores to its own gitignore 2016-09-14 17:58:10 +02:00
Victoria Jeffrey
66e54b675f load content into demo and handle shell commands 2016-09-12 09:39:16 +02:00
Christoph Hartmann
9340bc97a7 add generated files for tutorial in gitignore 2016-09-01 22:33:41 +01:00
Christoph Hartmann
5a8ee8c896 add omnibus for inspec 2016-08-08 13:34:33 +02:00
Alex Pop
9ded3b8835 Provide service params as a mash, empty unless systemd for now 2016-05-09 14:54:09 +02:00
Jeremy W. Chalfant
6f6ff015f9 ignore local kitchens 2016-01-14 23:00:09 -05:00
Alex Pop
9e12095bd8 add kitchen-puppet example module 2015-11-27 17:20:41 +01:00
Dominik Richter
8275abffdc ignore local bundle config 2015-10-26 11:36:42 +01:00
Christoph Hartmann
ca92e29575 add test-kitchen example 2015-10-21 12:56:45 +02:00
Dominik Richter
fce9d0d965 ignore local delivery config
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-10-05 16:22:29 +02:00
Dominik Richter
e03d567b58 ignore test kitchen files 2015-09-22 02:17:29 +02:00
Dominik Richter
d171b08418 ignore gem and gallery
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-22 02:15:40 +02:00
Dominik Richter
a1ed7788a4 ignore coverage output
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-22 01:42:26 +02:00
Dominik Richter
c524769d01 ignore gemfile.lock
Signed-off-by: Dominik Richter <dominik@vulcanosec.com>
2015-06-28 11:05:57 +02:00