<commit_before># How to use this file:
# export COOKBOOK=${PWD##*/} && docker-compose run --rm test

version: '2'
services:
  test:
    image: ${CHEF_IMAGE}
    volumes:
      - $PWD:/${COOKBOOK}
      - ${CHEF_CONFIG_DIR}:/root/.chef
      - ${CHEF_REPO_DIR}:/chef-repo
      - ${AWS_CRED_DIR}:/root/.aws
      - ${SSH_KEY_DIR}:/root/.ssh
    working_dir: /${COOKBOOK}
    network_mode: "host"
    environment:
      AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID}
      AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY}
      CHEF_DATA_BAGS: /chef-repo/data_bags
      CHEF_SECRET_FILE: /root/.chef/${CHEF_SECRET_FILE}
      COOKBOOK: ${COOKBOOK}
      EC2_ROLE_ARN: ${EC2_ROLE_ARN}
      EC2_SSH_KEY_ID: ${EC2_SSH_KEY_ID}
      EC2_REGION: ${EC2_REGION}
      EC2_AZ: ${EC2_AZ}
      EC2_SUBNET_ID: ${EC2_SUBNET_ID}
      EC2_INSTANCE_TYPE: ${EC2_INSTANCE_TYPE}
      EC2_IMAGE_NAME: ${EC2_IMAGE_NAME}
      EC2_SG: ${EC2_SG}
      LATEST_PPM_PACKAGE: ${LATEST_PPM_PACKAGE}
      REQUIRE_CHEF_OMNIBUS: ${REQUIRE_CHEF_OMNIBUS}
      WIN_USER: ${WIN_USER}
      WIN_PASS: ${WIN_PASS}
    command: "'chef exec rake'"<commit_msg>chore: update docker-compose.yml to add ubuntu support<commit_after># How to use this file:
# export COOKBOOK=${PWD##*/} && docker-compose run --rm test

version: '2'
services:
  test:
    image: ${CHEF_IMAGE}
    volumes:
      - $PWD:/${COOKBOOK}
      - ${AWS_CRED_DIR}:/root/.aws
      - ${CHEF_CONFIG_DIR}:/root/.chef
      - ${CHEF_REPO_DIR}:/chef-repo
      - ${SSH_KEY_DIR}:/root/.ssh
    working_dir: /${COOKBOOK}
    network_mode: "host"
    environment:
      AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID}
      AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY}
      CHEF_DATA_BAGS: /chef-repo/data_bags
      CHEF_SECRET_FILE: /root/.chef/${CHEF_SECRET_FILE}
      COOKBOOK: ${COOKBOOK}
      EC2_AZ: ${EC2_AZ}
      EC2_IMAGE_NAME: ${EC2_IMAGE_NAME}
      EC2_INSTANCE_TYPE: ${EC2_INSTANCE_TYPE}
      EC2_REGION: ${EC2_REGION}
      EC2_ROLE_ARN: ${EC2_ROLE_ARN}
      EC2_SG: ${EC2_SG}
      EC2_SSH_KEY_ID: ${EC2_SSH_KEY_ID}
      EC2_SUBNET_ID: ${EC2_SUBNET_ID}
      EC2_UBUNTU_IMAGE_NAME: ${EC2_UBUNTU_IMAGE_NAME}
      LATEST_PPM_PACKAGE: ${LATEST_PPM_PACKAGE}
      REQUIRE_CHEF_OMNIBUS: ${REQUIRE_CHEF_OMNIBUS}
      SSH_PASS: ${SSH_PASS}
      SSH_USER: ${SSH_USER}
      WIN_PASS: ${WIN_PASS}
      WIN_USER: ${WIN_USER}
    command: "'chef exec rake'"
{'fraction_non_alphanumeric': 0.13447842480100544, 'fraction_numerical': 0.01508169250104734, 'mean_word_length': 3.3027027027027027, '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': '5129746', 'n_tokens_mistral': 1079, 'n_tokens_neox': 1052, 'n_words': 145}