| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Tom Duffield <tom@chef.io>
|
|
|
|
| |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
|
|
| |
Automate more of our boring dep bumps
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Avoid needing to manually cut these PRs
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
Avoid the need to manually create PRs when a PR is merged to Ohai
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
RHEL 6 is EOL. Stop shipping these packages
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
|
| |
Since the world deps on these we really need a longer Ruby lifecycle
here
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
Ohai requires Ruby 2.7+ now
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Christopher A. Snapp <csnapp@chef.io>
|
|
|
|
|
|
| |
Add another subscription
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
This should reduce the number of hand created PRs to update the Gemfile.lock.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
This release is not out yet, but we have containers for it now.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
This is already there. Don't waste time.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
It's an alias, but avoid the confusion
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
By the time we ship Chef 17 Ubuntu 16.04 will be EOL.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\
| |
| | |
Remove EOL RHEL 6 32bit builds
|
| |
| |
| |
| |
| |
| | |
RHEL 6 went EOL Nov 30th 2020
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| | |
Windows can take a while to run now.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|/
|
|
| |
Signed-off-by: mwrock <matt@mattwrock.com>
|
|
|
|
| |
This reverts commit 06091f1153dc02ca74f1d6e59aa2e30d0779056b.
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: mwrock <matt@mattwrock.com>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
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>
|