diff options
author | Tom Duffield <tom@chef.io> | 2017-07-20 13:57:28 -0500 |
---|---|---|
committer | Tom Duffield <tom@chef.io> | 2017-07-24 10:15:17 -0500 |
commit | 43616bb699dccad598c88df55682d2a7821ad7ee (patch) | |
tree | 084c41ee85a9036beee53ac9effc96c43ec1df7b /Rakefile | |
parent | 89d13b94b7de1d4d16304065425c3349d1222148 (diff) | |
download | chef-43616bb699dccad598c88df55682d2a7821ad7ee.tar.gz |
Update Expeditor config to use new Merge and Artifact Actionstduffield/use-new-artifact-actions
Chef Expeditor now supports built in merge and artifact actions which
allow us to reduce the burden of duplicating common processes across
all our repositories. This change introduces several of these built_in
functions, replacing functionality that was previously kept in our
Rakefile.
Signed-off-by: Tom Duffield <tom@chef.io>
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -27,9 +27,7 @@ require_relative "tasks/rspec" require_relative "tasks/maintainers" require_relative "tasks/cbgb" require_relative "tasks/dependencies" -require_relative "tasks/changelog" require_relative "tasks/announce" -require_relative "tasks/version" ChefConfig::PackageTask.new(File.expand_path("..", __FILE__), "Chef", "chef") do |package| package.component_paths = ["chef-config"] @@ -51,15 +49,6 @@ task :register_eventlog do end end -desc "Keep the Dockerfile up-to-date" -task :update_dockerfile do - require "mixlib/install" - latest_stable_version = Mixlib::Install.available_versions("chef", "stable").last - text = File.read("Dockerfile") - new_text = text.gsub(/^ARG VERSION=[\d\.]+$/, "ARG VERSION=#{latest_stable_version}") - File.open("Dockerfile", "w+") { |f| f.write(new_text) } -end - begin require "chefstyle" require "rubocop/rake_task" |