summaryrefslogtreecommitdiff
path: root/tasks
Commit message (Collapse)AuthorAgeFilesLines
* Add more resource examples to the codebaseTim Smith2019-09-161-1/+4
| | | | | | I'm also adding these same examples to the docs. Signed-off-by: Tim Smith <tsmith@chef.io>
* Fix Chef Client vs. Chef Infra Client logicTim Smith2019-08-081-1/+1
| | | | | | It helps to not pass a nil in Signed-off-by: Tim Smith <tsmith@chef.io>
* Improve the auto-generated docsTim Smith2019-08-081-10/+14
| | | | | | Formatting fixes and updates to the text to make the generated text match what's currently on the site. Signed-off-by: Tim Smith <tsmith@chef.io>
* Remove Travis / Jenkins config / docsTim Smith2019-07-311-1/+1
| | | | | | Update some of our build docs to reflect the current process. Nuke the old Travis config. We're Buildkite + appveyor only at this point. Signed-off-by: Tim Smith <tsmith@chef.io>
* Add examples to the resourcesTim Smith2019-07-081-0/+1
| | | | | | | | | Add examples in markdown to the resources. We'll be using this on the docs site in the future and if we need to display it we can use tty-markdown which does a really nice job of displaying markdown in the terminal Signed-off-by: Tim Smith <tsmith@chef.io>
* Merge pull request #8711 from chef/lcg/new-chefstyle2Lamont Granquist2019-07-082-5/+9
|\ | | | | More Chefstyle updates
| * Style/StringLiteralsInInterpolationLamont Granquist2019-07-051-4/+4
| | | | | | | | | | | | since we use double quotes, be consistent everywhere. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * Style/SymbolArrayLamont Granquist2019-07-021-1/+1
| | | | | | | | | | | | start enforcing using %i{} instead of arrays of symbols Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * fix Layout/EmptyLineAfterGuardClauseLamont Granquist2019-07-021-0/+4
| | | | | | | | | | | | | | i like this one, gives visual priority to returns or raises that are buried in the middle of things. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Chefstyle fixesbetter_docsTim Smith2019-07-071-2/+2
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | Fix more line endingsTim Smith2019-07-071-2/+2
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | Use the funky marketing names for Chef ClientTim Smith2019-07-071-6/+15
| | | | | | | | | | | | Also prevent more extra spaces Signed-off-by: Tim Smith <tsmith@chef.io>
* | Improve generation of docs site resource pagesTim Smith2019-07-071-58/+61
|/ | | | | | | | | 1) Fix the indentation 2) Avoid extra new lines 3) Show example data if we have it 4) Chef Infra Client vs. the Chef Infra Client Signed-off-by: Tim Smith <tsmith@chef.io>
* Chefstyle fixesTim Smith2019-06-261-3/+3
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Rework the docs.rb script as a Rake taskTim Smith2019-06-261-0/+337
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Document what the run external command doesTim Smith2019-06-071-0/+6
| | | | | | Help out anyone stumbling upon this to know the backstory Signed-off-by: Tim Smith <tsmith@chef.io>
* Fix the announce task to use the new Chef Infra Client nameTim Smith2019-05-061-1/+1
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Adding in the license-acceptance flowtyler-ball2019-05-031-1/+5
| | | | | | | | | This adds a new feature to chef-client where users must accept the EULA before using the product. Users can accept the license by passing '--chef-license accept', setting ENV[CHEF_LICENSE]=accept or by running 'chef-client' and following the interactive prompt. Signed-off-by: tyler-ball <tball@chef.io>
* Remove the legacy maintainer filesTim Smith2019-04-231-211/+0
| | | | | | This process is being replaced with our new owners process as outlined in https://github.com/chef/chef-oss-practices Signed-off-by: Tim Smith <tsmith@chef.io>
* Remove the rake task to generate a pre-announcementTim Smith2019-03-112-45/+3
| | | | | | We don't do pre-releases anymore so there's no point in doing this. Signed-off-by: Tim Smith <tsmith@chef.io>
* add GEMFILE_MOD to pin ohai to github masterlcg/fix-external-testsLamont Granquist2018-10-261-1/+1
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Properly capitalize PowerShell in descriptions and errorspowershellTim Smith2018-09-071-1/+1
| | | | | | It's PowerShell not Powershell. Our docs site had already been updated. Signed-off-by: Tim Smith <tsmith@chef.io>
* Remove the CBGBNathen Harvey2018-09-061-84/+0
| | | | | | See also https://github.com/chef/chef-rfc/pull/322 Signed-off-by: Nathen Harvey <nharvey@chef.io>
* cleanup old rake taskslcg/nuke-shitty-rake-tasksLamont Granquist2018-08-291-22/+2
| | | | | | | | we're calling scripts to call rake tasks to call scripts to call rake tasks to mostly execute shellcodes. this gets rid of at least 2 levels of indirection. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Update release announcement templatesTim Smith2018-08-282-2/+2
| | | | | | | mixlib-install has been out long enough at this point we don't need to call it new or mention what version of DK originally shipped with it. Signed-off-by: Tim Smith <tsmith@chef.io>
* Update the announcement rake task with kitchen examplesannouncementTim Smith2018-08-243-1/+18
| | | | | | This was in DK before, but it made no sense there. This might convince some folks to test things when we cut a pre-release. Signed-off-by: Tim Smith <tsmith@chef.io>
* Remove task to bump audit cookbook depsTim Smith2018-07-231-14/+0
| | | | | | This cookbook is gone and this causes this job to fail Signed-off-by: Tim Smith <tsmith@chef.io>
* fix Style/MutableConstantLamont Granquist2018-07-021-1/+1
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* fix Style/PreferredHashMethodsLamont Granquist2018-07-022-6/+6
| | | | | | | absolutely hard requirement on the fixes that went into chef-config 2.2.11, so the floor of that gem is bumped up. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* fix Style/UnneededInterpolationLamont Granquist2018-07-021-2/+2
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* fix Style/HashSyntaxLamont Granquist2018-07-024-9/+9
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Remove the existing acceptance testing frameworkkill-acceptanceTim Smith2018-06-261-2/+0
| | | | | | | | We haven't used this framework for 2 major releases of Chef and as time goes on it's more and more likely we'll build something very different for testing. We 100% do need acceptance testing, but between dokken testing in Travis and the potential for more complex integration testing with build-kite I think we should do the proper cleanup and remove this code now. Signed-off-by: Tim Smith <tsmith@chef.io>
* test chef-zero against chef_fs in the chef/chef checkoutLamont Granquist2018-04-231-2/+6
| | | | | | goes red because we're really red here Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* require bundlerLamont Granquist2018-02-281-1/+3
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Revert "splice git checkout of chef into external tests"Lamont Granquist2018-01-241-3/+0
| | | | This reverts commit 2865ca316e5b9512ffd8a7d784355e469a115717.
* splice git checkout of chef into external testsLamont Granquist2018-01-241-0/+3
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* prepping for rubocop 0.52.1lcg/rubocop-0.52.1Lamont Granquist2018-01-172-4/+4
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Remove the Gemfile.lock and Berksfile.lock for kitchen testsintegration_docsTim Smith2017-12-221-5/+0
| | | | | | We're probably going to see some more failures with this change, but that's a good thing. If we have a bad kitchen change or a bad cookbook change we'll know now earlier. Less impact == better. Signed-off-by: Tim Smith <tsmith@chef.io>
* Break out unit/integration/functional tests in travis and test chef-configTim Smith2017-12-201-1/+1
| | | | | | Add the chef-config unit tests to the unit testing group Signed-off-by: Tim Smith <tsmith@chef.io>
* Ensure that our maintainers are all syncedtm/update_maintainersThom May2017-08-311-3/+3
| | | | Signed-off-by: Thom May <thom@may.lt>
* Merge pull request #6287 from chef/tduffield/use-new-artifact-actionsTom Duffield2017-07-272-78/+0
|\ | | | | Update Expeditor config to use new Merge and Artifact Actions
| * Update Expeditor config to use new Merge and Artifact Actionstduffield/use-new-artifact-actionsTom Duffield2017-07-242-78/+0
| | | | | | | | | | | | | | | | | | | | Chef Expeditor now supports built in merge and artifact actions which allow us to reduce the burden of duplicating common processes across all our repositories. This change introduces several of these built_in functions, replacing functionality that was previously kept in our Rakefile. Signed-off-by: Tom Duffield <tom@chef.io>
* | Updating / fixing deps to fix acceptance (#6292)Bryan McLellan2017-07-241-1/+0
|/ | | | | | | | | | * Remove call to update_omnibus_overrides The rake tasks `update_omnibus_overrides` was removed in dafd5139338aed684410e311b9be906b346db678. * Update acceptance/Gemfile.lock to match Gemfile.lock for mixlib-shellout This should fix acceptance where we're seeing both mixlib-shellout 2.3.1 and 2.3.2.
* Remove bundle tasks, version_policy.rb and update READMELamont Granquist2017-06-012-115/+1
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Update RELEASE_NOTES for 13.1tm/13_1_relnotesThom May2017-05-261-1/+3
| | | | Signed-off-by: Thom May <thom@chef.io>
* simplify omnibus config and greenify builds againLamont Granquist2017-05-093-500/+2
| | | | | | | | | | | | | | this is also necessary for bundler-1.14.x i'm still not entirely clear why we ever needed all the fussy software gem configs or what the build-chef / build-chef-gem infrastructure ever did for us. it seems to have been mostly micro-optimization around building the software gems before bundle installing the project in order to take advantage of git caching. i aggressively don't care about that, this is quite fast enough. we can install nokogiri and libgecode early and that should take care of 98% of the build optimization issue. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* major testing overhaullcg/simplify-external-testsLamont Granquist2017-04-253-52/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See the PR comments for more philosophical background. This simplifies the external tests. The major feature here is that halite, poise, chefspec, etc are removed from the Gemfile.lock and the transitive Gemfile splicing is gone from the external tests. We're back to simply tracking master on external projects and bundle installing without locks and going red if the break. Those external projects should all similarly track master of chef/chef to reduce the possibility that they break us here. This also bumps bundler to 1.14.x and unblocks us there. It continues to simplify our use of bundler to be more mainstream and less impenetrable. There was some crazy shit that I found where I had to remove env vars like BUNDLE_ENABLE_TRAMPOLINE and the BUNDLE_IGNORE_CONFIG and BUNDLE_FROZEN env vars in appveyor along with the .bundle/config frozen setting were necessary to unbreak appveyor. We seem to have gotten very far afield of standard bundler usage and it was breaking in strange to debug ways. Oddly enough this exposed weird errors in the chef-config/spec/units/fips_spec.rb tests where we need to require the "win32/registry" file there now even though I can't figure out why that broke or how it was working previously. Also, adding x64-mingw32 to x86-mingw32 was necessary to test in appveyor on 64-bit windows (I tried universal-mingw32 and that failed) which seems obvious and is another case that I don't understand how it was working in bundler 1.12.x Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* fetch latest stable version only if its requiredRanjib Dey2017-04-171-1/+3
|
* also remove now-unused binstubsLamont Granquist2017-04-034-86/+0
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* fix and simplify rake bundle:* commandsLamont Granquist2017-04-033-146/+15
| | | | | | | | | | | | applies the same kinds of fixes that i applied to rake dependencies:* and mostly reverts to mainline usage of bundler. abandons all the trampolining, and uses the platforms that are already locked in the Gemfile.lock and unwinds the multi-platform stuff that bundler does natively now. removes the BundleUtil module entirely since it is no longer used. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>