summaryrefslogtreecommitdiff
path: root/.expeditor
Commit message (Collapse)AuthorAgeFilesLines
* Produce FIPS builds on Ubuntu as wellTim Smith2021-04-081-0/+1
| | | | | | | Ubuntu Pro has FIPS modules. We should enable FIPS builds here since we're already held to legacy OpenSSL on Linux as is. Signed-off-by: Tim Smith <tsmith@chef.io>
* Move knife to its own gemChef Expeditor2021-03-312-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This moves knife into /knife, in the same way that chef-utils and chef-config are separated. NOTES: == File History == If you see this message as the first message in the history of an knife file, you can see the complete history by using 'git log --follow', 'git config log.follow true' to make it the default behavior in this repository, or 'git config --globa log.follow true' to make it the global default. == API Changes == At the API level, there is one breaking change: CookbookSiteStreamingUploader has been moved out of chef and into knife/core. There were a combination of reasons we chose this path: - CookbookSiteStreamingUploader (CSSU) is only used within Knife. - CookbookSiteStreamingUploader (CSSU) references the command Chef::Knife::CookbookMetadata in order to generate a metadata file for the cookbook to upload - Chef::Knife::CookbookMetadata is no longer available to Chef:: because Knife has been moved to its own gem. Knife gem depends on the Chef gem, so Chef can't depend on something in Knife. A search for usage in related projects (berks, chef-cli) and the Internet at large shows that there are no known external consumers of CSSU. For now, we'll move this class into Knife::Core, as it's going to be faster than splitting off the metadata generation and time is a concern. If we find that we need the metadata generation in chef/ proper, we should evaluate decoupling that functionality from Knife::CookbookMetadata and exposing it via something like `Chef::Cookbook::Metadata#from_cookbook_files` == spec changes == The specs are kept in their existing locations, though we have separated out a `knife_spec_helper` so that we can ensure knife is not directly accessing chef requires; and chef is relying on knife's at all. We also now clear gem paths with each test, to force gem state to reset. This works around a problem where a combination of tests is corrupting the internal Gem state, causing failures in rubygems_spec. See branch `mp/broken-gems` for many more details around findings so far. Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
* ruby 3.0 fixes and post-bundle-install hookLamont Granquist2021-03-181-52/+52
| | | | | | | | | | | | | | | Mostly this is all fixes necessary for ruby 3.0 There's the addition of the appbundle hook which lets us better pull git gems into appbundler Note carefully how after adding the post-bundle-install.rb that trying to pre appbundle-update ohai pulls in chef/chef as bundle installed git gem which fails to install so we go back to only using one appbundle-update on chef/chef and removing the chef/ohai one (which may fix other bugs). Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Fix interpolation and use the right variableTim Smith2021-03-151-2/+2
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Add an expeditor script specific to bundler updated gemsTim Smith2021-03-152-2/+31
| | | | | | | | | The more I hacked on the previous script the more I realized they're not doing the same thing. This script is not concerned with things that happened via rubygems promotes. It's just running bundle update when a new commit is available in the repo. Signed-off-by: Tim Smith <tsmith@chef.io>
* Use the new macOS 11 settingTom Duffield2021-03-121-1/+1
| | | | Signed-off-by: Tom Duffield <tom@chef.io>
* Testing M1 Mac arm buildsLamont Granquist2021-03-061-0/+2
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Add dep bump PRs for more win32 gemsTim Smith2021-03-041-0/+15
| | | | | | Automate more of our boring dep bumps Signed-off-by: Tim Smith <tsmith@chef.io>
* Update update_dep to allow passing in the dep to updateTim Smith2021-03-011-5/+8
| | | | | | | We need to know the dep we're updating throughout this script and if it's not a gem we don't know the name. Allow passing in the name via arg Signed-off-by: Tim Smith <tsmith@chef.io>
* Automatically create PRs to update chefstyleTim Smith2021-02-241-0/+4
| | | | | | Avoid needing to manually cut these PRs Signed-off-by: Tim Smith <tsmith@chef.io>
* Create a PR any time Ohai is bumpedTim Smith2021-02-241-1/+5
| | | | | | Avoid the need to manually create PRs when a PR is merged to Ohai Signed-off-by: Tim Smith <tsmith@chef.io>
* Revert "Update name of macos builder in Buildkite" (#11081)Tom Duffield2021-02-191-1/+1
| | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Update name of macos builder in BuildkitepipelineTim Smith2021-02-171-1/+1
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Remove macOS 10.13 from the build matrixTim Smith2021-02-161-2/+1
| | | | | | | We support N-2 macOS releases so 10.13 can be dropped now that Big Sur is out. Signed-off-by: Tim Smith <tsmith@chef.io>
* Fix hab promotes + compile with -O3 for performanceTim Smith2021-02-151-1/+0
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Stop producing Habitat kernel2 packageshab_rhel6Tim Smith2021-02-122-23/+0
| | | | | | RHEL 6 is EOL. Stop shipping these packages Signed-off-by: Tim Smith <tsmith@chef.io>
* Test chef-utils and chef-config on Ruby 2.6 stillTim Smith2021-01-151-0/+26
| | | | | | | Since the world deps on these we really need a longer Ruby lifecycle here Signed-off-by: Tim Smith <tsmith@chef.io>
* Remove Ruby 2.6 testsTim Smith2021-01-151-53/+10
| | | | | | Ohai requires Ruby 2.7+ now Signed-off-by: Tim Smith <tsmith@chef.io>
* Manually install necessary Ruby for verify pipelinecsnapp/add_ruby_to_verify_pipelineChristopher A. Snapp2021-01-122-20/+42
| | | | Signed-off-by: Christopher A. Snapp <csnapp@chef.io>
* Update gemfile.lock when fauxhai is releasedTim Smith2020-12-311-0/+3
| | | | | | Add another subscription Signed-off-by: Tim Smith <tsmith@chef.io>
* Add expeditor update subscriptions for all our gem depsTim Smith2020-12-301-0/+48
| | | | | | This should reduce the number of hand created PRs to update the Gemfile.lock. Signed-off-by: Tim Smith <tsmith@chef.io>
* Add Test Kitchen testing for Debian 11Tim Smith2020-12-291-0/+15
| | | | | | This release is not out yet, but we have containers for it now. Signed-off-by: Tim Smith <tsmith@chef.io>
* Replace Ubuntu 20.10 testing with 21.04Tim Smith2020-12-291-2/+2
| | | | | | | These containers are alpha/beta quality, but we should start testing on this since it'll be out when Chef Infra 17 is released. Signed-off-by: Tim Smith <tsmith@chef.io>
* Remove Test Kitchen tests for Amazon Linux 201XTim Smith2020-12-291-15/+0
| | | | | | | | The version of ld on Amazon Linux 201x cannot handle the ffi gem so these tests are going to fail forever now. This is a RHEL 6 based distro that is EOL as of the end of 2020. https://aws.amazon.com/blogs/aws/update-on-amazon-linux-ami-end-of-life/ Signed-off-by: Tim Smith <tsmith@chef.io>
* Don't install util-linux into the containers in CITim Smith2020-12-281-2/+2
| | | | | | This is already there. Don't waste time. Signed-off-by: Tim Smith <tsmith@chef.io>
* Bundler -> bundleTim Smith2020-12-282-3/+3
| | | | | | It's an alias, but avoid the confusion Signed-off-by: Tim Smith <tsmith@chef.io>
* Avoid a bundler deprecation warningscriptsTim Smith2020-12-281-1/+2
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Cache gem installs on WindowsTim Smith2020-12-281-2/+2
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Print the full OS release from /etc/os-releaseTim Smith2020-12-281-0/+3
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Fix failures due to orderTim Smith2020-12-282-6/+6
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Skip bundler update in the windows functional testsTim Smith2020-12-281-14/+3
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Update bundler in our Ruby 2.6 testsTim Smith2020-12-281-1/+5
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Improve debug on windowsTim Smith2020-12-281-0/+2
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Print more useful troubleshooting infoTim Smith2020-12-281-1/+8
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Throw and error if bunder can't be run on WindowsTim Smith2020-12-282-1/+1
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Stop updating bundler in CITim Smith2020-12-282-13/+2
| | | | | | We don't update it in our builds anymore. We just use the version that's built into Ruby. This omnibus override was only used for CI and we had to match the versions, which was a real pain and pretty pointless. Signed-off-by: Tim Smith <tsmith@chef.io>
* Print the bundler version in the CI scriptTim Smith2020-12-281-2/+4
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Move all the CI scripts into the .expeditor dirTim Smith2020-12-2813-51/+313
| | | | | | There's no reason to store all our test stuff at the top level when this all used by the Expeditor / BK jobs Signed-off-by: Tim Smith <tsmith@chef.io>
* Remove support for Ubuntu 16.04remove_ubuntu1604Tim Smith2020-12-182-18/+1
| | | | | | By the time we ship Chef 17 Ubuntu 16.04 will be EOL. Signed-off-by: Tim Smith <tsmith@chef.io>
* Merge pull request #10721 from chef/32bit_rhelTim Smith2020-12-181-2/+0
|\ | | | | Remove EOL RHEL 6 32bit builds
| * Remove EOL RHEL 6 32bit builds32bit_rhelTim Smith2020-12-091-2/+0
| | | | | | | | | | | | RHEL 6 went EOL Nov 30th 2020 Signed-off-by: Tim Smith <tsmith@chef.io>
* | Setup Expeditor to start the bumpTim Smith2020-12-181-5/+2
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | Extend the PR verification timeout to 45 minutesTim Smith2020-12-151-1/+1
| | | | | | | | | | | | Windows can take a while to run now. Signed-off-by: Tim Smith <tsmith@chef.io>
* | fix solaris working directorymwrock2020-12-091-4/+4
|/ | | | Signed-off-by: mwrock <matt@mattwrock.com>
* Revert "Disable macos builds for now"Tim Smith2020-12-011-5/+5
| | | | This reverts commit 06091f1153dc02ca74f1d6e59aa2e30d0779056b.
* Disable macos builds for nowenable_git_cacheTim Smith2020-11-241-5/+5
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* extend windows plan build to an hourmwrock2020-10-281-0/+1
| | | | Signed-off-by: mwrock <matt@mattwrock.com>
* Add back Oracle 8 Test Kitchen testingTim Smith2020-10-261-0/+15
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Add Test Kitchen testing on Ubuntu 20.10ubuntu_2010Tim Smith2020-10-261-0/+15
| | | | | | | | We can bump this up to the latest non-LTS release every 6 months to determine if there's any resource updates we need to make in advance of the LTS release. Signed-off-by: Tim Smith <tsmith@chef.io>
* Remove the yard doc generation task / groupTim Smith2020-10-201-25/+25
| | | | | | If someone wants the yard docs locally they can just gem install yard and then run yard. This is way overthinking the problem and requires us to exclude the group all over the place. Signed-off-by: Tim Smith <tsmith@chef.io>