<commit_before>.. Copyright 2015 tsuru authors. All rights reserved.
   Use of this source code is governed by a BSD-style
   license that can be found in the LICENSE file.


++++++++++
tsuru.yaml
++++++++++

tsuru.yaml is a special file located in the root of the application. The name of
the file may be ``tsuru.yaml`` or ``tsuru.yml``.

This file is used to describe certain aspects of your app. Currently it describes
information about deployment hooks and deployment time health checks. How to use
this features is described below.


.. _yaml_deployment_hooks:

Deployment hooks
================

tsuru provides some deployment hooks, like ``restart:before``, ``restart:after``
and ``build``. Deployment hooks allow developers to run commands before and after
some commands.<commit_msg>update license year<commit_after>.. Copyright 2014-2016 tsuru authors. All rights reserved.
   Use of this source code is governed by a BSD-style
   license that can be found in the LICENSE file.


++++++++++
tsuru.yaml
++++++++++

tsuru.yaml is a special file located in the root of the application. The name of
the file may be ``tsuru.yaml`` or ``tsuru.yml``.

This file is used to describe certain aspects of your app. Currently it describes
information about deployment hooks and deployment time health checks. How to use
this features is described below.


.. _yaml_deployment_hooks:

Deployment hooks
================

tsuru provides some deployment hooks, like ``restart:before``, ``restart:after``
and ``build``. Deployment hooks allow developers to run commands before and after
some commands.
{'fraction_non_alphanumeric': 0.10483364720652856, 'fraction_numerical': 0.007532956685499058, 'mean_word_length': 4.534722222222222, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4520980', 'n_tokens_mistral': 421, 'n_tokens_neox': 401, 'n_words': 213}