Sha256: 0e7f5be887499fd5c9bc8fc2fae6437b465a2ca49b8827de20217198fd6bcf5d

Contents?: true

Size: 1.09 KB

Versions: 4

Compression:

Stored size: 1.09 KB

Contents

{
  "variables": {
    "aws_access_key_id": "{{ env `AWS_ACCESS_KEY_ID` }}",
    "aws_secret_access_key": "{{ env `AWS_SECRET_ACCESS_KEY` }}",
    "aws_region": "{{ env `AWS_REGION` }}",
    "fastly_api_key": "{{ env `FASTLY_API_KEY` }}"
  },
  "builders": [
    {
      "type": "docker",
      "image": "ruby:2.3-slim",
      "commit": "true"
    }
  ],
  "provisioners": [
    {
      "type": "file",
      "source": ".",
      "destination": "/app"
    },
    {
      "type": "shell",
      "environment_vars": [
        "AWS_ACCESS_KEY_ID={{ user `aws_access_key_id` }}",
        "AWS_SECRET_ACCESS_KEY={{ user `aws_secret_access_key` }}",
        "AWS_REGION={{ user `aws_region` }}",
        "FASTLY_API_KEY={{ user `fastly_api_key` }}"
      ],
      "inline": [
        "apt-get -qq update",
        "apt-get -yqq install build-essential curl git libffi-dev wget",
        "apt-get -yqq install python-pip",
        "pip install s3cmd",
        "cd /app",

        "bundle check || bundle install --jobs 7",
        "bundle exec middleman build",

        "/bin/bash ./scripts/deploy.sh"
      ]
    }
  ]
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vagrant-compose-yaml-0.1.3 vendor/bundle/ruby/2.2.0/bundler/gems/vagrant-dbb756c7b6da/website/packer.json
vagrant-compose-yaml-0.1.2 vendor/bundle/ruby/2.2.0/bundler/gems/vagrant-dbb756c7b6da/website/packer.json
vagrant-compose-yaml-0.1.1 vendor/bundle/ruby/2.2.0/bundler/gems/vagrant-dbb756c7b6da/website/packer.json
vagrant-compose-yaml-0.1.0 vendor/bundle/ruby/2.2.0/bundler/gems/vagrant-dbb756c7b6da/website/packer.json