Page MenuHomeSolus

Update packer to 1.3.5
ClosedPublic

Authored by der_eismann on Mar 5 2019, 10:05 AM.
Tags
None
Referenced Files
F11007925: D5614.diff
Tue, Aug 1, 11:06 PM
F10923286: D5614.diff
Sun, Jul 9, 10:23 PM
F10869602: D5614.diff
Jun 18 2023, 4:54 AM
F10866406: D5614.id13595.diff
Jun 17 2023, 3:24 PM
F10862840: D5614.id13607.diff
Jun 16 2023, 11:12 PM
F10858136: D5614.diff
Jun 15 2023, 1:51 PM
F10811897: D5614.id13595.diff
May 31 2023, 3:46 AM
F10756630: D5614.id.diff
May 17 2023, 4:06 AM
Subscribers

Details

Summary

Update packer to 1.3.5, upstream changelog can be found here.

Test Plan
  • Created build template with docker builder, named as docker.json:
{
  "builders": [
    {
      "type": "docker",
      "image": "ubuntu",
      "commit": true
    }
  ],
  "provisioners": [
    {
      "inline": [
        "echo hello"
      ],
      "type": "shell"
    }
  ]
}
  • Run packer validate docker.json to confirm template is valid.
  • Run packer build docker.json to build the image:
docker output will be in this color.

==> docker: Creating a temporary directory for sharing data...
==> docker: Pulling Docker image: ubuntu
    docker: Using default tag: latest
    docker: latest: Pulling from library/ubuntu
    docker: 6cf436f81810: Pulling fs layer
    docker: 987088a85b96: Pulling fs layer
    docker: b4624b3efe06: Pulling fs layer
    docker: d42beb8ded59: Pulling fs layer
    docker: d42beb8ded59: Waiting
    docker: b4624b3efe06: Verifying Checksum
    docker: b4624b3efe06: Download complete
    docker: 987088a85b96: Download complete
    docker: 6cf436f81810: Verifying Checksum
    docker: 6cf436f81810: Download complete
    docker: d42beb8ded59: Verifying Checksum
    docker: d42beb8ded59: Download complete
    docker: 6cf436f81810: Pull complete
    docker: 987088a85b96: Pull complete
    docker: b4624b3efe06: Pull complete
    docker: d42beb8ded59: Pull complete
    docker: Digest: sha256:7a47ccc3bbe8a451b500d2b53104868b46d60ee8f5b35a24b41a86077c650210
    docker: Status: Downloaded newer image for ubuntu:latest
==> docker: Starting docker container...
    docker: Run command: docker run -v /home/sysop/.packer.d/tmp:/packer-files -d -i -t ubuntu /bin/bash
    docker: Container ID: 025be6d125fd548383d3fea67df5c70fde556ea24e1a18d62befc2359b9d3bc8
==> docker: Using docker communicator to connect: 172.18.0.2
==> docker: Provisioning with shell script: /tmp/packer-shell275790636
    docker: hello
==> docker: Committing the container
    docker: Image ID: sha256:1df2aa79fb3fb1dab6571a39536e339877aaefd278a927c5cca335c1c81132b2
==> docker: Killing the container: 025be6d125fd548383d3fea67df5c70fde556ea24e1a18d62befc2359b9d3bc8
Build 'docker' finished.

==> Builds finished. The artifacts of successful builds are:
--> docker: Imported Docker image: sha256:1df2aa79fb3fb1dab6571a39536e339877aaefd278a927c5cca335c1c81132b2

Diff Detail

Repository
R4370 packer
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

JoshStrobl added a subscriber: JoshStrobl.

Thank you for the comprehensive test plan. It's much appreciated.

This revision is now accepted and ready to land.Mar 6 2019, 8:35 PM
This revision was automatically updated to reflect the committed changes.