diff options
author | Evan Ahlberg <evanahlberg@gmail.com> | 2023-01-25 11:22:28 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-25 11:22:28 -0500 |
commit | 855fdddfe8cf14c9897957a00a91c65d34eacbd4 (patch) | |
tree | a83c01f6033960438d94bd0e7a49fdef58481b64 | |
parent | b98c274340431be832a178a29530827f62f1d825 (diff) | |
download | chef-855fdddfe8cf14c9897957a00a91c65d34eacbd4.tar.gz |
revert chef-foundation changes in chef omnibus config (#13528)
* revert chef-foundation changes in chef omnibus config
* change fips test for windows
* update pipeline names to validate and increase timeout for windows omnibus builds
* remove omnibus build and test for now
Signed-off-by: Evan Ahlberg <evanahlberg@gmail.com>
-rwxr-xr-x | .buildkite/build-test-omnibus.sh | 4 | ||||
-rwxr-xr-x | .buildkite/verify.pipeline.sh | 6 | ||||
-rw-r--r-- | .expeditor/config.yml | 8 | ||||
-rw-r--r-- | omnibus/config/projects/chef.rb | 24 | ||||
-rw-r--r-- | spec/spec_helper.rb | 4 |
5 files changed, 34 insertions, 12 deletions
diff --git a/.buildkite/build-test-omnibus.sh b/.buildkite/build-test-omnibus.sh index 79b18165e8..a77b1ba4bd 100755 --- a/.buildkite/build-test-omnibus.sh +++ b/.buildkite/build-test-omnibus.sh @@ -68,7 +68,7 @@ for platform in ${omnibus_build_platforms[@]}; do echo ' - "c:\\buildkite-agent:c:\\buildkite-agent"' echo " commands:" echo " - ./.expeditor/scripts/omnibus_chef_build.ps1" - echo " timeout_in_minutes: 60" + echo " timeout_in_minutes: 120" fi done @@ -106,7 +106,7 @@ for platform in ${omnibus_test_platforms[@]}; do echo " commands:" echo " - ./.expeditor/scripts/download_built_omnibus_pkgs.ps1" echo " - ./omnibus/omnibus-test.ps1" - echo " timeout_in_minutes: 60" + echo " timeout_in_minutes: 120" fi done diff --git a/.buildkite/verify.pipeline.sh b/.buildkite/verify.pipeline.sh index 2f47e0da57..b3ced7ef17 100755 --- a/.buildkite/verify.pipeline.sh +++ b/.buildkite/verify.pipeline.sh @@ -168,6 +168,6 @@ for plan in ${habitat_plans[@]}; do done # include build and test omnibus pipeline -DIR="${BASH_SOURCE%/*}" -if [[ ! -d "$DIR" ]]; then DIR="$PWD"; fi -source "$DIR/build-test-omnibus.sh"
\ No newline at end of file +# DIR="${BASH_SOURCE%/*}" +# if [[ ! -d "$DIR" ]]; then DIR="$PWD"; fi +# source "$DIR/build-test-omnibus.sh"
\ No newline at end of file diff --git a/.expeditor/config.yml b/.expeditor/config.yml index 82347262fb..6a338ec4e1 100644 --- a/.expeditor/config.yml +++ b/.expeditor/config.yml @@ -30,18 +30,18 @@ pipelines: public: true env: - IGNORE_ARTIFACTORY_RUBY_PROXY: true # Artifactory is throwing 500's when downloading some gems. - - verify/release: + - validate/release: definition: .expeditor/verify.pipeline.yml env: - IGNORE_CACHE: true # caching causes constant build failures - IGNORE_ARTIFACTORY_RUBY_PROXY: true - - verify/adhoc: + - validate/adhoc: definition: .expeditor/verify.adhoc.pipeline.yml env: - ADHOC: true - IGNORE_CACHE: true # caching causes constant build failures - IGNORE_ARTIFACTORY_RUBY_PROXY: true # Artifactory is throwing 500's when downloading some gems. - - verify/adhoc-canary: + - validate/adhoc-canary: canary: true definition: .expeditor/verify.adhoc.pipeline.yml env: @@ -148,7 +148,7 @@ subscriptions: - "Expeditor: Skip Omnibus" - "Expeditor: Skip All" only_if: built_in:bump_version - - trigger_pipeline:verify/release: + - trigger_pipeline:validate/release: ignore_labels: - "Expeditor: Skip Omnibus" - "Expeditor: Skip All" diff --git a/omnibus/config/projects/chef.rb b/omnibus/config/projects/chef.rb index 2cb807f887..10f7f25b15 100644 --- a/omnibus/config/projects/chef.rb +++ b/omnibus/config/projects/chef.rb @@ -45,7 +45,29 @@ override :chef, version: "local_source" overrides_path = File.expand_path("../../../../omnibus_overrides.rb", current_file) instance_eval(IO.read(overrides_path), overrides_path) -dependency "chef-local-source" +dependency "preparation" +# dependency "chef-local-source" + +dependency "chef" + +# +# addons which require omnibus software defns (not direct deps of chef itself - RFC-063) +# +dependency "nokogiri" # (nokogiri cannot go in the Gemfile, see wall of text in the software defn) + +# FIXME?: might make sense to move dependencies below into the omnibus-software chef +# definition or into a chef-complete definition added to omnibus-software. +dependency "gem-permissions" +dependency "shebang-cleanup" +dependency "version-manifest" +dependency "openssl-customization" + +# devkit needs to come dead last these days so we do not use it to compile any gems +dependency "ruby-msys2-devkit" if windows? + +dependency "ruby-cleanup" + +# further gem cleanup other projects might not yet want to use dependency "more-ruby-cleanup" diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 669385e321..78bc0e361e 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -138,9 +138,9 @@ RSpec.configure do |config| config.filter_run_excluding skip_buildkite: true if ENV["BUILDKITE"] - config.filter_run_excluding fips_mode: !fips_mode_build? unless windows? + config.filter_run_excluding fips_mode: !fips_mode_build? # Skip fips on windows - config.filter_run_excluding :fips_mode if windows? + # config.filter_run_excluding :fips_mode if windows? config.filter_run_excluding windows_only: true unless windows? config.filter_run_excluding not_supported_on_windows: true if windows? |