Validate a Tugboat YAML config file

Returns a parsed Tugboat YAML config file. Throws an error if the config file is invalid.

Arguments

One of the following sets of arguments is required.

  • repo
    The ID of the repository to check the config for.

  • ref
    The git ref to pull the config file from.

OR

  • config
    A pre-parsed tugboat config object.

Example

socket.emit('tugboat', 'repos', 'config', args, callback);

results matching ""

    No results matching ""