Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .expeditor/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ pipelines:
definition: .expeditor/release.omnibus.yml
env:
- ADHOC: true
- IGNORE_ARTIFACTORY_RUBY_PROXY: true
- IGNORE_ARTIFACTORY_RUBY_PROXY: true
- third-party-packages:
description: post-release publishing of Workstation packages to third party distribution platforms

Expand Down Expand Up @@ -122,9 +122,6 @@ subscriptions:
- workload: ruby_gem_published:chefspec-*
actions:
- bash:.expeditor/update_dep.sh
- workload: ruby_gem_published:chefstyle-*
actions:
- bash:.expeditor/update_dep.sh
- workload: ruby_gem_published:cookbook-omnifetch-*
actions:
- bash:.expeditor/update_dep.sh
Expand Down
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
source "https://rubygems.org"

group :development do
gem "chefstyle"
gem "cookstyle"
gem "rubocop-performance"
gem "rake"
# enable tests for the verification behavior in omnibus/verification
gem "chef-cli"
gem "rspec"

gem "simplecov", require: false
end

6 changes: 3 additions & 3 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
begin
require "chefstyle"
require "cookstyle/chefstyle"
require "rubocop/rake_task"
desc "Run Chefstyle tests"
desc "Run Cookstyle tests"
RuboCop::RakeTask.new(:style) do |task|
task.options += ["--display-cop-names", "--no-color"]
end
rescue LoadError
puts "chefstyle gem is not installed. bundle install first to make sure all dependencies are installed."
puts "cookstyle gem is not installed. bundle install first to make sure all dependencies are installed."
end
task default: %i{style}

Expand Down
2 changes: 0 additions & 2 deletions components/gems/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,6 @@ group(:ruby_shadow) do
gem "ruby-shadow", git: "https://github.com/chef/ruby-shadow", branch: "lcg/ruby-3.0", platforms: :ruby unless RUBY_PLATFORM == "x64-mingw-ucrt"
end

gem "chefstyle", group: :test

# Ensure support for push-client on Windows
if RUBY_PLATFORM.match?(/mswin|mingw|windows/)
gem "rdp-ruby-wmi"
Expand Down
4 changes: 1 addition & 3 deletions components/gems/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -456,8 +456,6 @@ GEM
logger (< 1.6)
rspec (~> 3.0)
rspec-expectations (<= 3.12.3)
chefstyle (2.2.3)
rubocop (= 1.25.1)
citrus (3.0.2)
cleanroom (1.0.0)
coderay (1.1.3)
Expand Down Expand Up @@ -956,6 +954,7 @@ GEM
optimist (3.2.0)
options (2.3.2)
os (1.1.4)
ostruct (0.6.1)
parallel (1.26.3)
parser (3.3.7.4)
ast (~> 2.4.1)
Expand Down Expand Up @@ -1383,7 +1382,6 @@ DEPENDENCIES
chef_deprecations (>= 0.1.2)
cheffish (>= 17.0)
chefspec (>= 9.3)
chefstyle
cookstyle (>= 7.8)
dep-selector-libgecode
dep_selector
Expand Down
2 changes: 1 addition & 1 deletion omnibus/config/projects/chef-workstation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -139,4 +139,4 @@
skip_packager true
end

compress :dmg
compress :dmg
2 changes: 1 addition & 1 deletion omnibus/config/software/gems.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
appbundle "chef-run", lockdir: project_dir, gem: "chef-apply", without: %w{development docs debug}, env: env
appbundle "chef-cli", lockdir: project_dir, gem: "chef-cli", without: %w{development profile test}, env: env
appbundle "berkshelf", lockdir: project_dir, gem: "berkshelf", without: %w{changelog build docs debug development}, env: env
appbundle "mixlib-install", lockdir: project_dir, gem: "mixlib-install", without: %w{test chefstyle debug}, env: env
appbundle "mixlib-install", lockdir: project_dir, gem: "mixlib-install", without: %w{test debug}, env: env
appbundle "chef-zero", lockdir: project_dir, gem: "chef-zero", without: %w{pedant development debug}, env: env
appbundle "cookstyle", lockdir: project_dir, gem: "cookstyle", without: %w{docs profiling rubocop_gems development debug}, env: env
appbundle "fauxhai", lockdir: project_dir, gem: "fauxhai-chef", env: env
Expand Down
26 changes: 13 additions & 13 deletions omnibus/config/software/git-custom-bindir.rb
Original file line number Diff line number Diff line change
Expand Up @@ -91,19 +91,19 @@
end

erb source: "config.mak.erb",
dest: "#{project_dir}/config.mak",
mode: 0755,
vars: {
cc: env["CC"],
ld: env["LD"],
cflags: env["CFLAGS"],
cppflags: env["CPPFLAGS"],
install: env["INSTALL"],
install_dir: install_dir,
ldflags: env["LDFLAGS"],
shell_path: env["SHELL_PATH"],
config_hash: config_hash,
}
dest: "#{project_dir}/config.mak",
mode: 0755,
vars: {
cc: env["CC"],
ld: env["LD"],
cflags: env["CFLAGS"],
cppflags: env["CPPFLAGS"],
install: env["INSTALL"],
install_dir: install_dir,
ldflags: env["LDFLAGS"],
shell_path: env["SHELL_PATH"],
config_hash: config_hash,
}

# NOTE - If you run ./configure the environment variables set above will not be
# used and only the command line args will be used. The issue with this is you
Expand Down
4 changes: 2 additions & 2 deletions omnibus/config/software/openssl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
# Source URL for OpenSSL 3.2.4
source url: "https://www.openssl.org/source/openssl-#{version}.tar.gz", extract: :lax_tar
internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz", extract: :lax_tar,
authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"

version("3.2.4") { source sha256: "b23ad7fd9f73e43ad1767e636040e88ba7c9e5775bfa5618436a0dd2c17c3716" }

Expand Down Expand Up @@ -147,4 +147,4 @@
end

command "#{install_dir}/embedded/bin/openssl list -providers"
end
end
Loading