<commit_before>#!/usr/bin/env bash

source ~/stackrc

WORKBOOK_DEV=0 # workbook is merged; are you developing it more?
if [[ $WORKBOOK_DEV -gt 0 ]]; then
    WORKBOOK=/home/stack/tripleo-common/workbooks/ceph-ansible.yaml
    if [[ ! -e $WORKBOOK ]]; then
	echo "$WORKBOOK does not exist (see init.sh)"
	exit 1
    fi
    EXISTS=$(mistral workbook-list | grep tripleo.storage.v1 | wc -l)
    if [[ $EXISTS -gt 0 ]]; then
	mistral workbook-update $WORKBOOK
    else
	mistral workbook-create $WORKBOOK
    fi
fi

time openstack overcloud deploy --templates ~/templates \
-r ~/tripleo-ceph-ansible/tht/roles_data.yaml \
-e ~/templates/environments/ceph-ansible/ceph-ansible.yaml \
-e ~/templates/environments/puppet-pacemaker.yaml \
-e ~/templates/environments/low-memory-usage.yaml \
-e ~/templates/environments/disable-telemetry.yaml \
-e ~/templates/environments/docker.yaml \
-e ~/tripleo-ceph-ansible/tht/overcloud-ceph-ansible.yaml<commit_msg>update deploy: don't use docker given http://sprunge.us/dSUR<commit_after>#!/usr/bin/env bash

source ~/stackrc

WORKBOOK_DEV=0 # workbook is merged; are you developing it more?
if [[ $WORKBOOK_DEV -gt 0 ]]; then
    WORKBOOK=/home/stack/tripleo-common/workbooks/ceph-ansible.yaml
    if [[ ! -e $WORKBOOK ]]; then
	echo "$WORKBOOK does not exist (see init.sh)"
	exit 1
    fi
    EXISTS=$(mistral workbook-list | grep tripleo.storage.v1 | wc -l)
    if [[ $EXISTS -gt 0 ]]; then
	mistral workbook-update $WORKBOOK
    else
	mistral workbook-create $WORKBOOK
    fi
fi

time openstack overcloud deploy --templates ~/templates \
-r ~/tripleo-ceph-ansible/tht/roles_data.yaml \
-e ~/templates/environments/ceph-ansible/ceph-ansible.yaml \
-e ~/templates/environments/puppet-pacemaker.yaml \
-e ~/templates/environments/low-memory-usage.yaml \
-e ~/templates/environments/disable-telemetry.yaml \
-e ~/tripleo-ceph-ansible/tht/overcloud-ceph-ansible.yaml

# still getting http://sprunge.us/dSUR
# -e ~/templates/environments/docker.yaml \
{'fraction_non_alphanumeric': 0.1393235739525492, 'fraction_numerical': 0.005047955577990914, 'mean_word_length': 3.62004662004662, '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': '1133538', 'n_tokens_mistral': 772, 'n_tokens_neox': 739, 'n_words': 154}