Install Common Packer

Deploy common-packer in the ci-management repository’s packer directory as a submodule. Installing, upgrading, and rolling back changes is simple via the versioned git tags.

  1. Choose a common packer version to install

    COMMON_PACKER_VERSION=v0.1.0
    
  2. Clone common-packer into ci-management repo

    cd packer/
    git submodule add https://github.com/lfit/releng-common-packer common-packer
    
    # Checkout the version of common-packer you wish to deploy
    cd common-packer
    git checkout $COMMON_PACKER_VERSION
    
  3. Commit common-packer version to the ci-managment repo

    cd ../..
    git add packer/common-packer
    git commit -sm "Install common-packer $COMMON_PACKER_VERSION"
    
  4. Push the patch to ci-management for review

    git review