1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-02 19:52:44 +01:00
phorge-phorge/src/docs/user/userguide/drydock_blueprints.diviner
epriestley a763f9510e Add some Drydock documentation plus "Test Configuration" for repository automation
Summary:
Ref T182. Ref T9252.

  - Adds a "Test" repository operation that just runs `git status` to see if things work.
  - Adds a button for it in Edit Repository.
  - Shows operation status on the operation detail view to make this workflow work a little better.
  - Adds a lot of words. Words words words words.

Test Plan:
  - Tested repository operation.
  - Read words.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T182, T9252

Differential Revision: https://secure.phabricator.com/D14349
2015-10-27 18:04:02 +00:00

80 lines
2.7 KiB
Text

@title Drydock Blueprints
@group userguide
Overview of Drydock blueprint types.
Overview
========
IMPORTANT: Drydock is not a mature application and may be difficult to
configure and use for now.
Drydock builds and manages various hardware and software resources, like
hosts and repository working copies. Other applications can use these resources
to perform useful work (like running tests or builds).
For additional disussion of Drydock, see @{article:Drydock User Guide}.
Drydock can't create any resources until you configure it. You'll configure
Drydock by creating **Blueprints**. Each blueprint tells Drydock how to build
a specific kind of resource, how many it is allowed to build, where it should
build them, who is authorized to request them, and so on.
You can create a new blueprint in Drydock from the web UI:
{nav Drydock > Blueprints > New Blueprint}
Each blueprint builds resources of a specific type, like hosts or repository
working copies. Detailed topic guides are available for each resource type:
**Hosts**: Hosts are the building block for most other resources. For details,
see @{article:Drydock Blueprints: Hosts}.
**Working Copies**: Working copies allow Drydock to perform repository
operations like running tests, performing builds, and handling merges.
Authorizing Access
==================
Before objects in other applications can use a blueprint, the blueprint must
authorize them.
This mostly serves to prevent users with limited access from executing
operations on trusted hosts. For additional discussion, see
@{article:Drydock User Guide: Security}.
This also broadly prevents Drydock from surprising you by coming up with a
valid but unintended solution to an allocation problem which runs some
operation on resources that are techincally suitable but not desirable. For
example, you may not want your Android builds running on your iPhone build
tier, even if there's no technical reason they can't.
You can review active authorizations and pending authorization requests in
the "Active Authorizations" section of the blueprint detail screen.
To approve an authorization, click it and select {nav Approve Authorization}.
Until you do, the requesting object won't be able to access resources from
the blueprint.
You can also decline an authorization. This prevents use of resources and
removes it from the authorization approval queue.
Disabling Blueprints
====================
You can disable a blueprint by selecting {nav Disable Blueprint} from the
blueprint detail screen.
Disabled blueprints will no longer be used for new allocations. However,
existing resources will continue to function.
Next Steps
==========
Continue by:
- returning to the @{article:Drydock User Guide}.