desc:'Recipients/channels separated by whitespaces'
},
{
required:false,
name::default_irc_uri,
type:String,
desc:'Default: irc://irc.network.net:6697'
},
{
required:false,
name::server_host,
type:String,
desc:'Server host. Default localhost'
},
{
required:false,
name::server_port,
type:Integer,
desc:'Server port. Default 6659'
},
{
required:false,
name::colorize_messages,
type:Boolean,
desc:'Colorize messages'
}
],
'jira'=>[
{
required:true,
name::url,
type:String,
desc:'The base URL to the JIRA instance web interface which is being linked to this GitLab project. E.g., https://jira.example.com'
},
{
required:false,
name::api_url,
type:String,
desc:'The base URL to the JIRA instance API. Web URL value will be used if not set. E.g., https://jira-api.example.com'
},
{
required:true,
name::username,
type:String,
desc:'The username of the user created to be used with GitLab/JIRA'
},
{
required:true,
name::password,
type:String,
desc:'The password of the user created to be used with GitLab/JIRA'
},
{
required:false,
name::jira_issue_transition_id,
type:String,
desc:'The ID of a transition that moves issues to a closed state. You can find this number under the JIRA workflow administration (**Administration > Issues > Workflows**) by selecting **View** under **Operations** of the desired workflow of your project. The ID of each state can be found inside the parenthesis of each transition name under the **Transitions (id)** column ([see screenshot][trans]). By default, this ID is set to `2`'
}
],
'kubernetes'=>[
{
required:true,
name::namespace,
type:String,
desc:'The Kubernetes namespace to use'
},
{
required:true,
name::api_url,
type:String,
desc:'The URL to the Kubernetes cluster API, e.g., https://kubernetes.example.com'
},
{
required:true,
name::token,
type:String,
desc:'The service token to authenticate against the Kubernetes cluster with'
},
{
required:false,
name::ca_pem,
type:String,
desc:'A custom certificate authority bundle to verify the Kubernetes cluster with (PEM format)'
}
],
'mattermost-slash-commands'=>[
{
required:true,
name::token,
type:String,
desc:'The Mattermost token'
}
],
'slack-slash-commands'=>[
{
required:true,
name::token,
type:String,
desc:'The Slack token'
}
],
'packagist'=>[
{
required:true,
name::username,
type:String,
desc:'The username'
},
{
required:true,
name::token,
type:String,
desc:'The Packagist API token'
},
{
required:false,
name::server,
type:String,
desc:'The server'
}
],
'pipelines-email'=>[
{
required:true,
name::recipients,
type:String,
desc:'Comma-separated list of recipient email addresses'
},
{
required:false,
name::notify_only_broken_pipelines,
type:Boolean,
desc:'Notify only broken pipelines'
}
],
'pivotaltracker'=>[
{
required:true,
name::token,
type:String,
desc:'The Pivotaltracker token'
},
{
required:false,
name::restrict_to_branch,
type:String,
desc:'Comma-separated list of branches which will be automatically inspected. Leave blank to include all branches.'
}
],
'prometheus'=>[
{
required:true,
name::api_url,
type:String,
desc:'Prometheus API Base URL, like http://prometheus.example.com/'
}
],
'pushover'=>[
{
required:true,
name::api_key,
type:String,
desc:'The application key'
},
{
required:true,
name::user_key,
type:String,
desc:'The user key'
},
{
required:true,
name::priority,
type:String,
desc:'The priority'
},
{
required:true,
name::device,
type:String,
desc:'Leave blank for all active devices'
},
{
required:true,
name::sound,
type:String,
desc:'The sound of the notification'
}
],
'redmine'=>[
{
required:true,
name::new_issue_url,
type:String,
desc:'The new issue URL'
},
{
required:true,
name::project_url,
type:String,
desc:'The project URL'
},
{
required:true,
name::issues_url,
type:String,
desc:'The issues URL'
},
{
required:false,
name::description,
type:String,
desc:'The description of the tracker'
}
],
'youtrack'=>[
{
required:true,
name::project_url,
type:String,
desc:'The project URL'
},
{
required:true,
name::issues_url,
type:String,
desc:'The issues URL'
},
{
required:false,
name::description,
type:String,
desc:'The description of the tracker'
}
],
'slack'=>[
chat_notification_settings,
chat_notification_flags,
chat_notification_channels,
chat_notification_events
].flatten,
'microsoft-teams'=>[
{
required:true,
name::webhook,
type:String,
desc:'The Microsoft Teams webhook. e.g. https://outlook.office.com/webhook/…'
}
],
'mattermost'=>[
chat_notification_settings,
chat_notification_flags,
chat_notification_channels,
chat_notification_events
].flatten,
'teamcity'=>[
{
required:true,
name::teamcity_url,
type:String,
desc:'TeamCity root URL like https://teamcity.example.com'
},
{
required:true,
name::build_type,
type:String,
desc:'Build configuration ID'
},
{
required:true,
name::username,
type:String,
desc:'A user with permissions to trigger a manual build'