<commit_before>{
  "builders": [{
    "type": "amazon-ebs",
    "access_key": "{{user `access_key`}}",
    "secret_key": "{{user `secret_key`}}",
    "region": "{{user `region`}}",
    "source_ami": "{{user `source_ami`}}",
    "instance_type": "{{user `instance_type`}}",
    "ssh_username": "ubuntu",
    "ami_name": "lagotto {{timestamp}}"
  },
  {
    "type": "virtualbox-iso",
    "guest_os_type": "Ubuntu_64",
    "iso_url": "{{user `mirror`}}/14.04.2/ubuntu-14.04.2-server-amd64.iso",
    "iso_checksum": "8acd2f56bfcba2f7ac74a7e4a5e565ce68c024c38525c0285573e41c86ae90c0",
    "iso_checksum_type": "sha256",
    "output_directory": "output-spinone",
    "vm_name": "packer-spinone",
    "disk_size": "{{user `disk_size`}}",
    "headless": "{{user `headless`}}",
    "http_directory": "vendor/http",
    "boot_wait": "5s",
    "boot_command": [
      "<esc><wait>",
      "<esc><wait>",
      "<enter><wait>",
      "/install/vmlinuz ",
      "initrd=/install/initrd.gz ",
      "biosdevname=0 ",
      "auto-install/enable=true ",
      "debconf/priority=critical ",
      "preseed/url=http://{{.HTTPIP}}:{{.HTTPPort}}/ubuntu-14.04.2/preseed.cfg ",
      "<enter>"
    ],
    "ssh_wait_timeout": "60m",
    "ssh_username": "vagrant",
    "ssh_password": "<PASSWORD>",
    "shutdown_command": "sudo poweroff",
    "vboxmanage": [
      ["modifyvm", "{{.Name}}", "--memory", "{{user `memory`}}"],
      ["modifyvm", "{{.Name}}", "--cpus", "{{user `cpus`}}"]
    ]
  },
  {
    "type": "docker",
      "image": "ubuntu",
      "export_path": "image.tar",
      "commit": true
  }],
  "provisioners": [{
    "type": "shell",
    "only": ["virtualbox-iso"],
    "scripts": [
      "vendor/scripts/ubuntu/apt.sh",
      "vendor/scripts/ubuntu/init.sh",
      "vendor/scripts/ubuntu/virtualbox.sh",
      "vendor/scripts/common/vagrant.sh",
      "vendor/scripts/common/sshd.sh",
      "vendor/scripts/ubuntu/cleanup.sh",
      "vendor/scripts/common/minimize.sh"
    ]
  },
  {
    "type": "chef-solo",
    "cookbook_paths": ["vendor/cookbooks"],
    "run_list": ["recipe[spinone]"],
    "override": {
      "amazon-ebs": {
        "json": {
          "ruby": {
            "deploy_user": "ubuntu",
            "deploy_group": "ubuntu",
            "rails_env": "production"
          },
          "phantomjs": {
            "version": "1.9.7",
            "base_url": "https://bitbucket.org/ariya/phantomjs/downloads"
          }
        }
      },
      "virtualbox-iso": {
        "json": {
          "ruby": {
            "deploy_user": "vagrant",
            "deploy_group": "vagrant",
            "rails_env": "development"
          },
          "phantomjs": {
            "version": "1.9.7",
            "base_url": "https://bitbucket.org/ariya/phantomjs/downloads"
          }
        }
      }
    }
  }],
  "post-processors": [{
    "type": "atlas",
    "artifact": "datacite/spinone",
    "artifact_type": "amazon.ami",
    "token": "{{user `atlas_token`}}",
    "metadata": {
      "created_at": "{{timestamp}}"
    }
  },
  {
    "type": "vagrant",
    "compression_level": "{{user `compression_level`}}",
    "only": ["virtualbox-iso"],
    "output": "spinone-virtualbox.box"
  },
  {
    "type": "docker-import",
    "repository": "datacite/spinone",
    "tag": "{{user `version`}}"
  }],
  "variables": {
    "compression_level": "6",
    "cpus": "2",
    "disk_size": "40000",<commit_msg>removed docker builder<commit_after>{
  "builders": [{
    "type": "amazon-ebs",
    "access_key": "{{user `access_key`}}",
    "secret_key": "{{user `secret_key`}}",
    "region": "{{user `region`}}",
    "source_ami": "{{user `source_ami`}}",
    "instance_type": "{{user `instance_type`}}",
    "ssh_username": "ubuntu",
    "ami_name": "lagotto {{timestamp}}"
  },
  {
    "type": "virtualbox-iso",
    "guest_os_type": "Ubuntu_64",
    "iso_url": "{{user `mirror`}}/14.04.2/ubuntu-14.04.2-server-amd64.iso",
    "iso_checksum": "8acd2f56bfcba2f7ac74a7e4a5e565ce68c024c38525c0285573e41c86ae90c0",
    "iso_checksum_type": "sha256",
    "output_directory": "output-spinone",
    "vm_name": "packer-spinone",
    "disk_size": "{{user `disk_size`}}",
    "headless": "{{user `headless`}}",
    "http_directory": "vendor/http",
    "boot_wait": "5s",
    "boot_command": [
      "<esc><wait>",
      "<esc><wait>",
      "<enter><wait>",
      "/install/vmlinuz ",
      "initrd=/install/initrd.gz ",
      "biosdevname=0 ",
      "auto-install/enable=true ",
      "debconf/priority=critical ",
      "preseed/url=http://{{.HTTPIP}}:{{.HTTPPort}}/ubuntu-14.04.2/preseed.cfg ",
      "<enter>"
    ],
    "ssh_wait_timeout": "60m",
    "ssh_username": "vagrant",
    "ssh_password": "<PASSWORD>",
    "shutdown_command": "sudo poweroff",
    "vboxmanage": [
      ["modifyvm", "{{.Name}}", "--memory", "{{user `memory`}}"],
      ["modifyvm", "{{.Name}}", "--cpus", "{{user `cpus`}}"]
    ]
  }],
  "provisioners": [{
    "type": "shell",
    "only": ["virtualbox-iso"],
    "scripts": [
      "vendor/scripts/ubuntu/apt.sh",
      "vendor/scripts/ubuntu/init.sh",
      "vendor/scripts/ubuntu/virtualbox.sh",
      "vendor/scripts/common/vagrant.sh",
      "vendor/scripts/common/sshd.sh",
      "vendor/scripts/ubuntu/cleanup.sh",
      "vendor/scripts/common/minimize.sh"
    ]
  },
  {
    "type": "chef-solo",
    "cookbook_paths": ["vendor/cookbooks"],
    "run_list": ["recipe[spinone]"],
    "override": {
      "amazon-ebs": {
        "json": {
          "ruby": {
            "deploy_user": "ubuntu",
            "deploy_group": "ubuntu",
            "rails_env": "production"
          },
          "phantomjs": {
            "version": "1.9.7",
            "base_url": "https://bitbucket.org/ariya/phantomjs/downloads"
          }
        }
      },
      "virtualbox-iso": {
        "json": {
          "ruby": {
            "deploy_user": "vagrant",
            "deploy_group": "vagrant",
            "rails_env": "development"
          },
          "phantomjs": {
            "version": "1.9.7",
            "base_url": "https://bitbucket.org/ariya/phantomjs/downloads"
          }
        }
      }
    }
  }],
  "post-processors": [{
    "type": "atlas",
    "artifact": "datacite/spinone",
    "artifact_type": "amazon.ami",
    "token": "{{user `atlas_token`}}",
    "metadata": {
      "created_at": "{{timestamp}}"
    }
  },
  {
    "type": "vagrant",
    "compression_level": "{{user `compression_level`}}",
    "only": ["virtualbox-iso"],
    "output": "spinone-virtualbox.box"
  }],
  "variables": {
    "compression_level": "6",
    "cpus": "2",
    "disk_size": "40000",
{'fraction_non_alphanumeric': 0.22146533454435363, 'fraction_numerical': 0.023312140478353012, 'mean_word_length': 2.561725067385445, 'pattern_counts': {'":': 141, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1299829', 'n_tokens_mistral': 2598, 'n_tokens_neox': 2443, 'n_words': 330}