Page MenuHomeDevCentral

Update mailer configuration
Open, HighPublic

Description

Phabricator updated configuration format for mailer, to use a JSON document.

An example for Mailgun is the configuration for DevCentral:

[                                                      
  {                                                    
    "key": "nasqueron-mailgun",                        
    "type": "mailgun",                                 
    "options": {                                       
      "domain": "devcentral.nasqueron.org",            
      "api-key": "key-00000000000000"
    }                                                  
  }                                                    
]

We need to generate such document from environment variables in the setup container script,
then provide it using ./bin/config set --stdin cluster.mailers < /tmp/mailers.json

Key could be "default-<mailer type>".

Related Objects

StatusAssignedTask
OpenNone
OpenNone

Event Timeline

dereckson triaged this task as High priority.Dec 6 2019, 07:53
dereckson created this task.
dereckson updated the task description. (Show Details)
dereckson updated the task description. (Show Details)Dec 6 2019, 07:55
dereckson edited projects, added easy; removed Servers, Nasqueron Docker deployment squad.
dereckson moved this task from Backlog to Need Dockerfile or config on the Docker images board.
dereckson moved this task from Backlog to Ops on the Technical debt board.Dec 16 2019, 18:50
dereckson moved this task from Backlog to Ops on the easy board.Jan 25 2020, 08:18