1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-24 07:42:40 +01:00
phorge-phorge/src/applications/config
epriestley f74e6bbf8d Make "phabricator.silent" disable build steps which rely on external services
Summary:
Depends on D19084. Fixes T13078. When `phabricator.silent` is enabled, immediately fail the "HTTP Request", "CircleCI" and "Buildkite" build steps.

This doesn't feel quite as clean as most of the other behavior of `phabricator.silent`, since these calls are not exactly notifications in the same way that email is, and failing to make these calls means that builds run differently (whereas failing to deliver email doesn't really do anything).

However, I suspect that this behavior is almost always reasonable/correct, and that we can probably get away with it until this grey area between "notifications" and "external service calls" is more clearly defined.

Test Plan:
  - Created a build with HTTP, CircleCI, and Buildkite steps.
  - Put install in `phabricator.silent` mode: all three steps failed with "declining, because silent" messages.
  - Put install back in normal mode: all three steps made HTTP requests.
  - Read updated documentation.

Subscribers: PHID-OPKG-gm6ozazyms6q6i22gyam

Maniphest Tasks: T13078

Differential Revision: https://secure.phabricator.com/D19085
2018-02-14 11:41:47 -08:00
..
application Fix two strings with missing pht() 2017-04-07 10:07:01 -07:00
check Don't run older mail setup checks if "cluster.mailers" is configured 2018-02-08 17:51:32 -08:00
constants Config re-design 2017-09-05 15:24:15 -07:00
controller Add "persistence" types (data, cache, or index) to tables, and tweak what "storage dump" dumps 2017-10-04 12:09:33 -07:00
custom Revert partial/nonfunctional OpenGraph support 2017-11-22 15:21:10 -08:00
editor Create revisions into "Draft", publish them when builds finish 2017-09-21 07:21:21 -07:00
engine When we "discover" new fatal setup issues, stop serving traffic 2016-11-21 15:54:40 -08:00
exception Apply some autofix linter rules 2014-09-10 06:55:05 +10:00
issue Clean up another insufficiently-general exception 2016-11-23 10:41:19 -08:00
json Improve UI formatting of some configuration values 2015-12-05 09:58:47 -08:00
management Add a bin/config set <key> --stdin < value.json flag to make CLI configuration of complex values easier 2018-02-08 06:09:09 -08:00
module Split setup checks into "preflight" and "normal" checks 2016-09-06 11:57:18 -07:00
option Make "phabricator.silent" disable build steps which rely on external services 2018-02-14 11:41:47 -08:00
phid Mark PhabricatorPHIDType::getPHIDTypeApplicationClass() as abstract 2015-11-03 06:47:12 +11:00
query Make buildWhereClause() a method of AphrontCursorPagedPolicyAwareQuery 2015-04-20 10:06:09 -07:00
response Add a friendlier "in flight" error page 2016-09-07 06:59:48 -07:00
schema For backup persitsence, mark the "common ngrams" table as a data table, not an index table 2017-10-11 11:07:43 -07:00
storage Add "Manual Activities", to tell administrators to rebuild the search index 2016-11-30 11:23:54 -08:00
type Convert cluster/projects config options to newer modular structure 2017-06-27 12:35:54 -07:00
view Config re-design 2017-09-05 15:24:15 -07:00