<commit_before># totem
Repository for totem documentation, issues, guides.

## What is totem ?
Totem is continous delivery pipline tool which is aimed in simplifying delivery of the code to any environment.
![](http://www.gliffy.com/go/publish/image/7041599/L.png)

## Reporting Bugs / Feature Requests
Issues can be reported at :
[https://github.com/totem/totem/issues](https://github.com/totem/totem/issues)
<commit_msg>Adding instructions for Totem flow<commit_after># totem
Repository for totem documentation, issues, guides.

## What is totem ?
Totem is continous delivery pipline tool which is aimed in simplifying delivery of the code to any environment.

## Totem flow
![](http://www.gliffy.com/go/publish/image/7041599/L.png)
* Developer commits file to git and pushes the changes to scm (e.g: github)
* Github triggers webhooks for push events to image builder tool e.g: "Image Factory" and CI tools e.g. Travis, Bamboo.
* Oncetravis  (or any other ci) build  and image builder build finishes it notifies orchestrator about the status using post build webhooks.
* Orchestrator on receving any hook, loads/caches the configuration for the build (.totem.yml). This file is loaded from Amazon S3 (or etcd).
* Orchestrator on receving all the hooks with status as "success", it invokes deployer api to deploy the built image to CoreOS cluster.
* Deployer creates fleet unit files for the application and submits the job to fleet daemon (running on CoreOS clusteR). On successul deploy, deployer promotes the current deployment by updating the yoda proxy configuration stored in etcd.

## Reporting Bugs / Feature Requests
Issues can be reported at :
[https://github.com/totem/totem/issues](https://github.com/totem/totem/issues)

{'fraction_non_alphanumeric': 0.08069164265129683, 'fraction_numerical': 0.008645533141210375, 'mean_word_length': 4.6547231270358305, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3122851', 'n_tokens_mistral': 517, 'n_tokens_neox': 486, 'n_words': 218}