<commit_before># Dingo Redis embedded Docker images

This BOSH release embeds a Docker image and pre-installs them into VMs running docker daemon. This allows Dingo Redis to be installed into data centers that do not have Internet network connectivity, and means that no Docker Registry is required for Dingo Redis.

Preparation:

```
git submodule update --init
export BOSH_ENVIRONMENT=<url/alias>
export BOSH_DEPLOYMENT=dingo-redis
```

```
bosh2 deploy manifests/docker-broker.yml \
  -o manifests/operators/dingo-redis.yml
```

If your BOSH does not have Credhub/Config Server (if `bosh2 env` includes `config_server: disabled`), then include `--vars-store` to generate/store internal credentials/passwords:

```
bosh2 deploy manifests/docker-broker.yml \
  -o manifests/operators/dingo-redis.yml \
  --vars-store tmp/creds.yml
```
<commit_msg>readme: sanity-test<commit_after># Dingo Redis embedded Docker images

This BOSH release embeds a Docker image and pre-installs them into VMs running docker daemon. This allows Dingo Redis to be installed into data centers that do not have Internet network connectivity, and means that no Docker Registry is required for Dingo Redis.

## Installation

Preparation:

```
git submodule update --init
export BOSH_ENVIRONMENT=<url/alias>
export BOSH_DEPLOYMENT=dingo-redis
```

Either:

```
bosh2 deploy manifests/docker-broker.yml \
  -o manifests/operators/dingo-redis.yml
```

If your BOSH does not have Credhub/Config Server (if `bosh2 env` includes `config_server: disabled`), then include `--vars-store` to generate/store internal credentials/passwords:

```
bosh2 deploy manifests/docker-broker.yml \
  -o manifests/operators/dingo-redis.yml \
  --vars-store tmp/creds.yml
```

### Sanity test

To confirm that Dingo Redis service is working, there is a built in `sanity-test` errand:

```
bosh2 run-errand sanity-test
```

This will interact directly with the service broker to provision and bind, and then set/get a value to the Redis service instance. Finally it will delete the service instance.

{'fraction_non_alphanumeric': 0.08629936616284739, 'fraction_numerical': 0.0034129692832764505, 'mean_word_length': 4.576086956521739, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '548436', 'n_tokens_mistral': 676, 'n_tokens_neox': 618, 'n_words': 234}