Homec4science

Add PhageActions to libphutil

Authored by epriestley <git@epriestley.com> on Feb 17 2017, 23:11.

Description

Add PhageActions to libphutil

Summary:
Ref T2794. I'm not 100% sold on the design of this and it doesn't interact with any other code yet, but get deployment-related code upstream.

The overall approach I'm taking here is that you build a "plan", which is like a DOM tree of stuff you want to do, then execute the plan.

The only plan we build or execute right now goes like this:

  • Phage Plan
    • Launch a local Phage agent
      • Have that agent run a bunch of commands

...but I think this approach should be flexible enough to accommodate more complicated deployment processes in the future.

Test Plan: Successfully deployed secure without typing a bunch of different commands.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T2794

Differential Revision: https://secure.phabricator.com/D17380

Details

Committed
epriestley <git@epriestley.com>Feb 18 2017, 01:57
Pushed
aubortMar 17 2017, 12:03
Parents
rPHUd09e94e4b94a: Make Phage agents stream output continuously
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHUdbb46e76c829: Add PhageActions to libphutil (authored by epriestley <git@epriestley.com>).Feb 18 2017, 01:57