<commit_before># Deployment Manager Templates for Spinnaker

This repository contains Deployment Manager template for deploying [Spinnaker](http://www.spinnaker.io/).
By default, this will deploy the following topology:

![](images/spinnaker-arch.png)

Spinnaker will store its state in Google Cloud Storage and Redis. Jenkins
is used to run scripts required during the build process or in order to trigger
a pipeline.

## Deploying

1. Download the repository.
1. Create the deployment:

       gcloud deployment-manager deployments create --config config.yaml [DEPLOYMENT_NAME] --properties jenkinsPassword=[<PASSWORD>_PASSWORD]
1. Once instance provisioning is complete get the name of your Spinnaker instance by
   running:

       gcloud compute instances list | grep spinnaker
1. Creating an SSH tunnel to your Spinnaker instance as follows:

       gcloud compute ssh [DEPLOYMENT_NAME]-spinnaker-ogo8 --zone us-west1-a -- -L 9000:localhost:9000 -L8084:localhost:8084

1. Access the UI by visiting the following web address:

       http://localhost:9000

## Teardown

1. Delete the deployment by running:

       gcloud deployment-manager deployments delete [DEPLOYMENT_NAME]<commit_msg>Use jinja instead of yaml for main config<commit_after># Deployment Manager Templates for Spinnaker

This repository contains Deployment Manager template for deploying [Spinnaker](http://www.spinnaker.io/).
By default, this will deploy the following topology:

![](images/spinnaker-arch.png)

Spinnaker will store its state in Google Cloud Storage and Redis. Jenkins
is used to run scripts required during the build process or in order to trigger
a pipeline.

## Deploying

1. Download the repository.
1. Create the deployment:

       gcloud deployment-manager deployments create --config config.jinja [DEPLOYMENT_NAME] --properties jenkinsPassword=[<PASSWORD>_PASSWORD]
1. Once instance provisioning is complete get the name of your Spinnaker instance by
   running:

       gcloud compute instances list | grep spinnaker
1. Creating an SSH tunnel to your Spinnaker instance as follows:

       gcloud compute ssh [DEPLOYMENT_NAME]-spinnaker-ogo8 --zone us-west1-a -- -L 9000:localhost:9000 -L8084:localhost:8084

1. Access the UI by visiting the following web address:

       http://localhost:9000

## Teardown

1. Delete the deployment by running:

       gcloud deployment-manager deployments delete [DEPLOYMENT_NAME]
{'fraction_non_alphanumeric': 0.06619776582540339, 'fraction_numerical': 0.023169218038891187, 'mean_word_length': 4.256521739130434, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3329081', 'n_tokens_mistral': 710, 'n_tokens_neox': 648, 'n_words': 276}