Uploaded image for project: 'integration-packaging'
  1. integration-packaging
  2. INTPAK-12

Add Jenkins jobs that do Packer builds, accepting vars as key:value params vs using var-files

    XMLWordPrintable

Details

    • New Feature
    • Status: Open
    • Low
    • Resolution: Unresolved
    • None

    Description

      > $ packer build -h
      > -var 'key=value' Variable for templates, can be used multiple times.
      > -var-file=path JSON file containing user variables.

      We currently build using a combination of OS and ODL var files, something like:

      > $ packer build -var-file=vars/opendaylight-4.4.0.json -var-file=vars/fedora-24.json templates/virtualbox.json

      Need to add a job that uses the other method of passing vars, as key:value pairs. Job should accept the vars as params.

      Mostly done here: https://git.opendaylight.org/gerrit/#/c/60435/

      Has some failures due to changes in underlying deps. Some build types could be merged as-is. Patch should be retested, maybe any failing jobs extracted to a follow-up patch. Of course, should download boxes and verify they actually work. In particular, check that the Fedora VM boot errors documented on this Trello don't still happen.

      Imported from Trello

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              dfarrell07 Daniel Farrell
              dfarrell07 Daniel Farrell
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: