Home GnuPG

Add PhageActions to libphutil
dbb46e76c829Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

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
epriestley <git@epriestley.com>Authored on Feb 17 2017, 11:11 PM
Parents
rPHUTILd09e94e4b94a: Make Phage agents stream output continuously
Branches
Unknown
Tags
Unknown

Event Timeline

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