HomePhabricator

Add PhageActions to libphutil

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

Provenance
epriestleyAuthored on Feb 17 2017, 10:11 PM
epriestleyPushed on Feb 18 2017, 12:57 AM
Reviewer
chad
Differential Revision
D17380: Add PhageActions to libphutil
Parents
rPHUd09e94e4b94a: Make Phage agents stream output continuously
Branches
Unknown
Tags
Unknown
Tasks
T2794: Implement Phage (like Hypershell)
Build Status
Buildable 15692
Build 20729: Run Core Tests