summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-01-23 10:18:41 -0800
committerTim Smith <tsmith84@gmail.com>2020-01-23 10:18:41 -0800
commitaf1bd5f4687c08e0cb5a0b9a7032d61ed42b8c89 (patch)
treeb95afa7e83322d5ad189dd300631a8512127b6bf
parent5296043451ec30ac5b0e7f5d68034ac7dd0121ca (diff)
downloadchef-af1bd5f4687c08e0cb5a0b9a7032d61ed42b8c89.tar.gz
Remove more support for Windows 2008 R2 / RHEL 5nuke_old
Nuke a few doc references to 2008 R2 and a commented out spec Remove build_essential support for RHEL 5 Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--docs/dev/design_documents/how_chef_is_tested_and_built.md2
-rw-r--r--lib/chef/resource/build_essential.rb3
-rw-r--r--spec/functional/win32/registry_spec.rb6
3 files changed, 1 insertions, 10 deletions
diff --git a/docs/dev/design_documents/how_chef_is_tested_and_built.md b/docs/dev/design_documents/how_chef_is_tested_and_built.md
index 094dd68caa..fda2ac6156 100644
--- a/docs/dev/design_documents/how_chef_is_tested_and_built.md
+++ b/docs/dev/design_documents/how_chef_is_tested_and_built.md
@@ -32,7 +32,7 @@ Every commit that we merge into Chef Infra should be ready to release. In order
Once the version has been incremented, Expeditor will begin a build matrix in our internal Buildkite pipeline. In Buildkite, we build omnibus-based system packages of Chef Infra for multiple platforms, distros, and architectures. Each of the platforms we build are those which will eventually be available on our downloads site if this build is successful and later promoted. Upon completion, builds are promoted to the `unstable` channel and are available to any system supporting our Omnitruck API (Test Kitchen, mixlib-install, etc).
-Once the builds complete, Buildkite will move to the test phase where each of these builds will be verified on all the platforms that Chef officially supports. For many build artifacts, this means the artifact tests on multiple versions of the same platform. For example, Chef is built on Windows 2012 R2, yet tests are run on 2008, 2012, 2012 R2, and 2016 to ensure full compatibility. In total, this phase includes nearly three dozen test nodes. Assuming all tests pass, the build will be promoted to the `current` channel, which is available on the downloads site, in addition to being available via the Omnitruck API.
+Once the builds complete, Buildkite will move to the test phase where each of these builds will be verified on all the platforms that Chef officially supports. For many build artifacts, this means the artifact tests on multiple versions of the same platform. For example, Chef is built on Windows 2012 R2, yet tests are run on 2012, 2012 R2, and 2016 to ensure full compatibility. In total, this phase includes nearly three dozen test nodes. Assuming all tests pass, the build will be promoted to the `current` channel, which is available on the downloads site, in addition to being available via the Omnitruck API.
## Releasing Chef
diff --git a/lib/chef/resource/build_essential.rb b/lib/chef/resource/build_essential.rb
index 2a702aadf9..21e809d431 100644
--- a/lib/chef/resource/build_essential.rb
+++ b/lib/chef/resource/build_essential.rb
@@ -60,9 +60,6 @@ class Chef
package %w{ autoconf binutils-doc bison build-essential flex gettext ncurses-dev }
when fedora_derived?
package %w{ autoconf bison flex gcc gcc-c++ gettext kernel-devel make m4 ncurses-devel patch }
-
- # Ensure GCC 4 is available on older pre-6 EL
- package %w{ gcc44 gcc44-c++ } if platform_family?("rhel") && node["platform_version"].to_i < 6
when freebsd?
package "devel/gmake"
package "devel/autoconf"
diff --git a/spec/functional/win32/registry_spec.rb b/spec/functional/win32/registry_spec.rb
index 923b952161..734562f848 100644
--- a/spec/functional/win32/registry_spec.rb
+++ b/spec/functional/win32/registry_spec.rb
@@ -56,12 +56,6 @@ describe "Chef::Win32::Registry", :windows_only do
end
end
- # Server Versions
- # it "succeeds if server versiion is 2003R2, 2008, 2008R2, 2012" do
- # end
- # it "falis if the server versions are anything else" do
- # end
-
describe "hive_exists?" do
it "returns true if the hive exists" do
expect(@registry.hive_exists?("HKCU\\Software\\Root")).to eq(true)