<commit_before>{
  "variables": {
    "bin_url": "{{ env `NOMAD_URL` }}"
  },
  "builders": [
    {
      "type": "digitalocean",
      "image": "ubuntu-12-04-x64",
      "region": "nyc3",
      "size": "512mb",
      "snapshot_name": "nomad-demo-{{timestamp}}"
    }
  ],
  "provisioners": [
    {
      "type": "shell",
      "inline": [
        "sudo apt-get -y update",
        "sudo apt-get -y install unzip",
        "curl -o /tmp/nomad.zip -L {{ user `bin_url` }}",
        "sudo unzip -d /usr/local/bin /tmp/nomad.zip",
        "mkdir -p /usr/local/etc/nomad",
        "curl -s https://get.docker.com/gpg | sudo apt-key add -",
        "curl -s https://get.docker.com/ | sudo sh"
      ]
    },
    {
      "type": "file",
      "source": "upstart.nomad",
      "destination": "/etc/init/nomad.conf"
    },
    {
      "type": "file",
      "source": "default.hcl",
      "destination": "/usr/local/etc/nomad/nomad.hcl"
    }
  ],
  "post-processors": [
    {
      "type": "atlas",
      "artifact": "hashicorp/nomad-demo",
      "artifact_type": "digitalocean.image"
    }
  ],
  "push": {
    "name": "hashicorp/nomad-demo",
    "vcs": true
  }
}
<commit_msg>demo/digitalocean: fix after docker repo change<commit_after>{
  "variables": {
    "bin_url": "{{ env `NOMAD_URL` }}"
  },
  "builders": [
    {
      "type": "digitalocean",
      "image": "ubuntu-12-04-x64",
      "region": "nyc3",
      "size": "512mb",
      "snapshot_name": "nomad-demo-{{timestamp}}"
    }
  ],
  "provisioners": [
    {
      "type": "shell",
      "inline": [
        "apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys <KEY>",
        "echo 'deb https://apt.dockerproject.org/repo ubuntu-precise main' > /etc/apt/sources.list.d/docker.list",
        "sudo apt-get -y update",
        "sudo apt-get -y install unzip docker-engine",
        "curl -o /tmp/nomad.zip -L {{ user `bin_url` }}",
        "sudo unzip -d /usr/local/bin /tmp/nomad.zip",
        "mkdir -p /usr/local/etc/nomad"
      ]
    },
    {
      "type": "file",
      "source": "upstart.nomad",
      "destination": "/etc/init/nomad.conf"
    },
    {
      "type": "file",
      "source": "default.hcl",
      "destination": "/usr/local/etc/nomad/nomad.hcl"
    }
  ],
  "post-processors": [
    {
      "type": "atlas",
      "artifact": "hashicorp/nomad-demo",
      "artifact_type": "digitalocean.image"
    }
  ],
  "push": {
    "name": "hashicorp/nomad-demo",
    "vcs": true
  }
}

{'fraction_non_alphanumeric': 0.20865345733926405, 'fraction_numerical': 0.009704811969268095, 'mean_word_length': 2.0505548705302097, 'pattern_counts': {'":': 48, '<': 4, '<?xml version=': 0, '>': 5, 'https://': 3, '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': '965371', 'n_tokens_mistral': 997, 'n_tokens_neox': 950, 'n_words': 163}