<commit_before>#!/bin/bash -l
set -o errexit
set -o nounset
set -o pipefail
set -x

readonly ROOT="${PWD}"

function main() {
  "./cf-space/login"

  # if [[ -z ${SKIP_DOCKER_START:-} ]]; then
  #   echo "Start Docker"
  #   ../buildpacks-ci/scripts/start-docker >/dev/null
  # fi

  local artifact_path version
  version="$( cut -d '-' -f 1 version/version )"

  # shellcheck disable=SC2086
  artifact_path="$(ls ${ROOT}/candidate/*.zip | head -1)"

  pushd buildpack-acceptance-tests
    ./scripts/integration.sh \
      --language "${LANGUAGE}" \
      --buildpack "${artifact_path}" \
      --buildpack-version "${version}"
  popd
}

main<commit_msg>Start docker in run-buildpack-acceptance task<commit_after>#!/bin/bash -l
set -o errexit
set -o nounset
set -o pipefail
set -x

readonly ROOT="${PWD}"

function main() {
  "./cf-space/login"

  if [[ -z ${SKIP_DOCKER_START:-} ]]; then
    echo "Start Docker"
    "${ROOT}/buildpacks-ci/scripts/start-docker" >/dev/null
  fi

  local artifact_path version
  artifact_path="$(find "${ROOT}/candidate" -name "*.zip" | head -1)"
  version="$( cut -d '-' -f 1 version/version )"

  pushd buildpack-acceptance-tests
    ./scripts/integration.sh \
      --language "${LANGUAGE}" \
      --buildpack "${artifact_path}" \
      --buildpack-version "${version}"
  popd
}

main
{'fraction_non_alphanumeric': 0.1765151515151515, 'fraction_numerical': 0.006060606060606061, 'mean_word_length': 2.943283582089552, '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': '6255356', 'n_tokens_mistral': 498, 'n_tokens_neox': 464, 'n_words': 111}