Packer post processor for uploading to artifactory
Switch branches/tags
Nothing to show
Clone or download
pyToshka Merge pull request #2 from mindrunner/master
merge from mindrunner repo
Latest commit 6e7d089 Jan 17, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example Init repo May 4, 2017
.gitignore Init repo May 4, 2017
README.md Init repo May 4, 2017
artifact.go Init repo May 4, 2017
build.sh Init repo May 4, 2017
main.go Init repo May 4, 2017
post-processor.go better checksum calculation Nov 14, 2017

README.md

Packer post-processor. This post-processor can help you to upload you Vagrant box to Jfrog Artifactory.

Building

cd $GOPATH/src
clone repos
go build  -o packer-post-processor-artifactory
$ mkdir $HOME/.packer.d/plugins
$ cp $GOPATH/bin/packer-post-processor-artifactory $HOME/.packer.d/plugins


or

go get github.com/pyToshka/packer-post-processor-artifactory

Usage

"post-processors": [[
    {
      "type": "vagrant"
    },
    {
      "type":"artifactory",
      "url": "http://localhost:8080/artifactory",
      "repo": "repo-name",
      "key": "artifactory-key"

    }]
  ]

Automation step-by-step

git clone https://github.com/pyToshka/packer-post-processor-artifactory
vi example/packer.json
Change url,repo name and key for artifactory 
run 

buid.sh

After building you get Ubuntu 16.04 Vagrant box, and post processor will uploaded it to your artifactory server.

I written it Just for Fun :)