<commit_before>=============
pipeline.json
=============

.. toctree::

    pipeline_json

=======
Purpose
-------
This configuration file is used for defining pipeline settings that affect the pipeline as a whole, not a specific account/environment.

Example Configuration
---------------------

.. literalinclude:: ../src/foremast/templates/pipeline.json.j2

Configuration Details
----------------------

``owner_email``
~~~~~~~~~~~~~~~

The application owners email address. This is not used directly in the pipeline but can be consumed by other tools

    | *Default*: ``null``

``documentation``
~~~~~~~~~~~~~~~~~

Link to the applications documentation. This is not used directly in the pipeline but can be consumed by other tools

    | *Default*: ``null``

``notifications`` Block
~~~~~~~~~~~~~~~~~~~~~~~

Where to send pipeline failure notifications 

``email``
**********

Email address to send pipeline failures (email must be configured in Spinnaker Echo)

    | *Default*: ``null``

``slack``
**********

Slack channel to send pipeline failures (Slack must be configured in Spinnaker Echo)

    | *Default*: ``null``

``promote_restrict``
~~~~~~~~~~~~~~~~~~~~

Restriction setting for promotions to prod* accounts.

    | *Default*: ``"none"``
    | *Options*:

       - ``"masters-only"`` - only masters/owners on a repository can approve deployments
       - ``"members-only"`` - Any member of a repository can approve deployments
       - ``"none"`` - No restrictions

``base``
~~~~~~~~

The base AMI to use for baking the application

    | *Default*: ``"tomcat8"``

``envs``
~~~~~~~~

List of accounts that the application will be deployed to. Order matters as it defines the order of the pipeline. The accounts should be named the same as you have them in Spinnaker Clouddriver

    | *Type*: List of strings
    | *Default*: ``["stage", "prod"]``

``image`` Block
~~~~~~~~~~~~~~~

Holds settings for the baked image

``root_volume_size``
********************

Defines the root volume size of the resulting AMI in GB

        | *Type*: int
        | *Units*: Gigabyte
        | *Default*: `6`
=======
<commit_msg>fixed merge issue<commit_after>=============
pipeline.json
=============

.. toctree::

    pipeline_json

=======
Purpose
-------
This configuration file is used for defining pipeline settings that affect the pipeline as a whole, not a specific account/environment.

Example Configuration
---------------------

.. literalinclude:: ../src/foremast/templates/pipeline.json.j2

Configuration Details
----------------------

``owner_email``
~~~~~~~~~~~~~~~

The application owners email address. This is not used directly in the pipeline but can be consumed by other tools

    | *Default*: ``null``

``documentation``
~~~~~~~~~~~~~~~~~

Link to the applications documentation. This is not used directly in the pipeline but can be consumed by other tools

    | *Default*: ``null``

``notifications`` Block
~~~~~~~~~~~~~~~~~~~~~~~

Where to send pipeline failure notifications 

``email``
**********

Email address to send pipeline failures (email must be configured in Spinnaker Echo)

    | *Default*: ``null``

``slack``
**********

Slack channel to send pipeline failures (Slack must be configured in Spinnaker Echo)

    | *Default*: ``null``

``promote_restrict``
~~~~~~~~~~~~~~~~~~~~

Restriction setting for promotions to prod* accounts.

    | *Default*: ``"none"``
    | *Options*:

       - ``"masters-only"`` - only masters/owners on a repository can approve deployments
       - ``"members-only"`` - Any member of a repository can approve deployments
       - ``"none"`` - No restrictions

``base``
~~~~~~~~

The base AMI to use for baking the application

    | *Default*: ``"tomcat8"``

``envs``
~~~~~~~~

List of accounts that the application will be deployed to. Order matters as it defines the order of the pipeline. The accounts should be named the same as you have them in Spinnaker Clouddriver

    | *Type*: List of strings
    | *Default*: ``["stage", "prod"]``

``image`` Block
~~~~~~~~~~~~~~~

Holds settings for the baked image

``root_volume_size``
********************

Defines the root volume size of the resulting AMI in GB

    | *Type*: int
    | *Units*: Gigabyte
    | *Default*: `6`

{'fraction_non_alphanumeric': 0.1984463276836158, 'fraction_numerical': 0.0014124293785310734, 'mean_word_length': 3.618478260869565, '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': '4771633', 'n_tokens_mistral': 1156, 'n_tokens_neox': 1102, 'n_words': 460}