<commit_before>#!/bin/bash
set -ex

echo "-----> Running script: $0"

docker run \
  --rm=true \
  --volume=${PWD}:/vm_shepherd \
  --workdir=/vm_shepherd \
  --env=VCENTER_IP=${VCENTER_IP} \
  --env=USERNAME=${USERNAME} \
  --env=PASSWORD=${PASSWORD} \
  --env=DATACENTER_NAME=${DATACENTER_NAME} \
  --env=DATASTORE_NAME=${DATASTORE_NAME} \
  ${DOCKER_REGISTRY}/${DOCKER_IMAGE_NAME} \
  /bin/sh -c 'bundle && bundle exec rspec --format documentation'
<commit_msg>Run `rake` instead of `rspec` in CI<commit_after>#!/bin/bash
set -ex

echo "-----> Running script: $0"

docker run \
  --rm=true \
  --volume=${PWD}:/vm_shepherd \
  --workdir=/vm_shepherd \
  --env=VCENTER_IP=${VCENTER_IP} \
  --env=USERNAME=${USERNAME} \
  --env=PASSWORD=${PASSWORD} \
  --env=DATACENTER_NAME=${DATACENTER_NAME} \
  --env=DATASTORE_NAME=${DATASTORE_NAME} \
  ${DOCKER_REGISTRY}/${DOCKER_IMAGE_NAME} \
  /bin/sh -c 'bundle && bundle exec rake -t'

{'fraction_non_alphanumeric': 0.20559741657696448, 'fraction_numerical': 0.002152852529601722, 'mean_word_length': 3.449760765550239, 'pattern_counts': {'":': 0, '<': 3, '<?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': '4689919', 'n_tokens_mistral': 392, 'n_tokens_neox': 376, 'n_words': 57}