mjm-ansible Add gathering of Homebrew package versions to build

It's currently kind of a pain to assemble the versions of all the
installed Homebrew packages for an image. This is easy to generate, we
just needed a way to get it off the machine.

Add a step in the 'homebrew' role to generate a file with the info. Then
add a step to the Packer build that downloads that file locally into a
records directory that we will track in Git so we have a record of what
is installed on the various images.

Matt Moriarity avatar Matt Moriarity

Push event #30.1 passed

  • Ran for
AMD64
no language set
Git
sudo: true
language: ruby
before_script:
- curl -L https://releases.hashicorp.com/packer/1.2.5/packer_1.2.5_linux_amd64.zip -o /tmp/packer.zip
- sudo unzip -o -d /usr/local/bin /tmp/packer.zip
- sudo chmod +x /usr/local/bin/packer
- sudo curl -L https://github.com/jetbrains-infra/packer-builder-vsphere/releases/download/v2.0/packer-builder-vsphere-clone.linux -o /usr/local/bin/packer-builder-vsphere-clone.linux
- sudo chmod +x /usr/local/bin/packer-builder-vsphere-clone.linux
script:
- rake

notifications:
  email: false
Build Config
{
  "os": [
    "linux"
  ],
  "dist": "trusty",
  "sudo": true,
  "script": [
    "rake"
  ],
  "language": "ruby",
  "before_script": [
    "curl -L https://releases.hashicorp.com/packer/1.2.5/packer_1.2.5_linux_amd64.zip -o /tmp/packer.zip",
    "sudo unzip -o -d /usr/local/bin /tmp/packer.zip",
    "sudo chmod +x /usr/local/bin/packer",
    "sudo curl -L https://github.com/jetbrains-infra/packer-builder-vsphere/releases/download/v2.0/packer-builder-vsphere-clone.linux -o /usr/local/bin/packer-builder-vsphere-clone.linux",
    "sudo chmod +x /usr/local/bin/packer-builder-vsphere-clone.linux"
  ],
  "notifications": {
    "email": {
      "enabled": false
    }
  }
}