<commit_before># CfCanaries

[![Build Status](https://travis-ci.org/pivotal-cf-experimental/cf_canaries.png)](https://travis-ci.org/pivotal-cf-experimental/cf_canaries)

Install canary apps into a Cloudfoundry cluster.

## Installation

Add this line to your application's Gemfile:

    gem 'cf_canaries'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install cf_canaries

## Usage

    $ canaries --number-of-zero-downtime-apps=0 \
               --number-of-instances-canary-instances=0 \
               --app-domain=<Application Domain> \
               --target=<Cloudfoundry API Endpoint> \
               --username=<Cloudfoundry Username> \
               --password=<<PASSWORD>> \
               --organization=<Cloudfoundry Organization> \
               --space=<Cloudfoundry Space>

## Contributing

1. Fork it ( http://github.com/pivotal-cf-experimental/cf_canaries/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request<commit_msg>Update README with optional args to canaries<commit_after># CfCanaries

[![Build Status](https://travis-ci.org/pivotal-cf-experimental/cf_canaries.png)](https://travis-ci.org/pivotal-cf-experimental/cf_canaries)

Install canary apps into a Cloudfoundry cluster.

## Installation

Add this line to your application's Gemfile:

    gem 'cf_canaries'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install cf_canaries


## Usage

    $ canaries --number-of-zero-downtime-apps=0 \
               --number-of-instances-canary-instances=0 \
               --app-domain=<Application Domain> \
               --target=<Cloudfoundry API Endpoint> \
               --username=<Cloudfoundry Username> \
               --password=<<PASSWORD>> \
               --organization=<Cloudfoundry Organization> \
               --space=<Cloudfoundry Space>


### Optional command-line flags

- `--dry-run`: If set, shows all the commands the canary breeder will run without actually executing them
- `--number-of-instances-per-app=<n>`: Push n instances of each app (apart from the instances canaries). Defaults to 1.


## Contributing

1. Fork it ( http://github.com/pivotal-cf-experimental/cf_canaries/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request
{'fraction_non_alphanumeric': 0.11932707355242567, 'fraction_numerical': 0.005868544600938967, 'mean_word_length': 2.810730253353204, 'pattern_counts': {'":': 0, '<': 18, '<?xml version=': 0, '>': 18, 'https://': 4, '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': '5841900', 'n_tokens_mistral': 808, 'n_tokens_neox': 762, 'n_words': 213}