Skip to content
Merged
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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## HEAD

## 8.0.6

- Fix `hatchet:setup_ci` not printing output (https://github.com/heroku/hatchet/pull/220)

## 8.0.5

- Updated excon version requirements (https://github.com/heroku/hatchet/pull/215)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ app.get_config("DEPLOY_TASKS") # => "run:bloop"

- `app.set_lab()`: Enables the specified lab/feature on the app
- `app.add_database()`: adds a database to the app, defaults to the "dev" database
- `app.update_stack()`: Change the app's stack to that specified (for example `"heroku-20"`). Will take effect on the next build.
- `app.update_stack()`: Change the app's stack to that specified (for example `"heroku-24"`). Will take effect on the next build.
- `app.run()`: Runs a `heroku run bash` session with the arguments, covered above.
- `app.run_multi()`: Runs a `heroku run bash` session in the background and yields the results. This requires the `run_multi` flag of the app to be set to `true`, which will charge your application (the `HATCHET_EXPENSIVE_MODE` env var must also be set to use this feature). Example above.
- `app.create_app`: Can be used to manually create the app without deploying it (You probably want `setup!` though)
Expand Down
8 changes: 6 additions & 2 deletions lib/hatchet/tasks.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
namespace :hatchet do
task :setup_ci do
script = File.expand_path(File.join(__dir__, "../../etc/ci_setup.rb"))
out = `#{script}`
raise "Command #{script.inspect} failed\n#{out}" unless $?.success?
puts "Running script `#{script}`"
out = `#{script} 2>&1`
puts "Done"
puts "Output:\n"
puts out
raise "Command #{script.inspect} failed" unless $?.success?
end

task :setup_travis do
Expand Down
2 changes: 1 addition & 1 deletion lib/hatchet/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Hatchet
VERSION = "8.0.5"
VERSION = "8.0.6"
end
2 changes: 1 addition & 1 deletion spec/hatchet/app_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
end

it "create app with stack" do
stack = "heroku-20"
stack = "heroku-24"
app = Hatchet::App.new("default_ruby", stack: stack)
app.create_app
expect(app.platform_api.app.info(app.name)["build_stack"]["name"]).to eq(stack)
Expand Down