Recued
Menu
← Back to recipes

Run a Heroku dyno lifecycle action

by recued-core v2 30 views

Use “Run a Heroku dyno lifecycle action” in Recued. It runs the Heroku dyno lifecycle workflow with approval before changes are made.

How it works 19 steps

Inspect the data fetches, transforms, gates, and output this recipe runs.

Process (19 steps)
■ app_key trim
Trim whitespace from setting app name
■ dyno_key trim
Trim whitespace from setting dyno id or name
■ formation_key trim
Trim whitespace from setting formation type
◆ app recued-core.heroku.app.read
Read app on heroku
◆ dynos_before_raw recued-core.heroku.dyno.search
Search dyno on heroku
◆ formation_before_raw recued-core.heroku.formation.search
Search formation on heroku
■ should_restart_dyno compare
Check if setting action equals restart_dyno
■ should_restart_all compare
Check if setting action equals restart_all
■ should_stop_dyno compare
Check if setting action equals stop_dyno
■ should_stop_formation compare
Check if setting action equals stop_formation
◆ restart_dyno recued-core.heroku.dyno.restart_one
Restart one dyno on heroku
skip: step.should_restart_dyno not_equal true
◆ restart_all recued-core.heroku.dyno.restart_all
Restart all dyno on heroku
skip: step.should_restart_all not_equal true
◆ stop_dyno recued-core.heroku.dyno.stop_one
Stop one dyno on heroku
skip: step.should_stop_dyno not_equal true
◆ stop_formation recued-core.heroku.dyno.stop_formation
Stop formation dyno on heroku
skip: step.should_stop_formation not_equal true
◆ dynos_after_raw recued-core.heroku.dyno.search
Search dyno on heroku
■ defaults defaults
Apply defaults
■ dyno_rows slice
Take a subset of
■ dyno_table to_table
Format results as a data table
■ card to_summary
Format results as a summary card
▼
Output
summary card
table dyno_table
Settings 4 configurable

Configurable at install. Defaults shown — change them anytime in Recued.

action setting = restart_dyno
app name setting =
formation type setting = web
dyno id or name setting =

Uses (7 operations)

Pack operation Read app on heroku recued-core.heroku.app.read
Pack operation Search dyno on heroku recued-core.heroku.dyno.search
Pack operation Search formation on heroku recued-core.heroku.formation.search
Pack operation Restart one dyno on heroku recued-core.heroku.dyno.restart_one
Pack operation Restart all dyno on heroku recued-core.heroku.dyno.restart_all
Pack operation Stop one dyno on heroku recued-core.heroku.dyno.stop_one
Pack operation Stop formation dyno on heroku recued-core.heroku.dyno.stop_formation

Trust & control

What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.

Permissions it requires

Read your Heroku connection
Declared by the recipe — Recued grants these at install, where you review them before approving.

About

Tags

heroku herokudynosrestartstoplifecycleapprovalpack:heroku

Details

19 steps 4 configurable settings recipe_id: run-dyno-lifecycle-action-heroku