Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Go mod changes #3

Merged
merged 4 commits into from
Jul 22, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@
# Output of the go coverage tool, specifically when used with LiteIDE
*.out

# Project-local glide cache, RE: https://github.com/Masterminds/glide/issues/736
.glide/

/packer-builder-vultr
/dist/
.*.swp
.idea
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ branches:
- master
- "/^v/"
go: 1.12.x
go_import_path: github.com/ivandeex/packer-builder-vultr
go_import_path: github.com/vultr/packer-builder-vultr
env:
- GO111MODULE=off
install:
Expand All @@ -26,7 +26,7 @@ deploy:
skip_cleanup: true
overwrite: true
on:
repo: ivandeex/packer-builder-vultr
repo: vultr/packer-builder-vultr
tags: true
all_branches: true
condition: $TRAVIS_PULL_REQUEST == false
19 changes: 11 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,30 @@
[![GitHub latest release](https://img.shields.io/github/release/ivandeex/packer-builder-vultr.svg)](https://github.com/ivandeex/packer-builder-vultr/releases)
[![GitHub downloads](https://img.shields.io/github/downloads/ivandeex/packer-builder-vultr/total.svg)](https://github.com/ivandeex/packer-builder-vultr/releases)
[![Build Status](https://travis-ci.org/ivandeex/packer-builder-vultr.svg?branch=master)](https://travis-ci.org/ivandeex/packer-builder-vultr)
[![Go Report Card](https://goreportcard.com/badge/github.com/ivandeex/packer-builder-vultr)](https://goreportcard.com/report/github.com/ivandeex/packer-builder-vultr)
[![GoDoc](https://godoc.org/github.com/ivandeex/packer-builder-vultr?status.svg)](https://godoc.org/github.com/ivandeex/packer-builder-vultr/vultr)
[![GitHub latest release](https://img.shields.io/github/release/vultr/packer-builder-vultr.svg)](https://github.com/vultr/packer-builder-vultr/releases)
[![GitHub downloads](https://img.shields.io/github/downloads/vultr/packer-builder-vultr/total.svg)](https://github.com/vultr/packer-builder-vultr/releases)
[![Build Status](https://travis-ci.org/vultr/packer-builder-vultr.svg?branch=master)](https://travis-ci.org/vultr/packer-builder-vultr)
[![Go Report Card](https://goreportcard.com/badge/github.com/vultr/packer-builder-vultr)](https://goreportcard.com/report/github.com/vultr/packer-builder-vultr)
[![GoDoc](https://godoc.org/github.com/vultr/packer-builder-vultr?status.svg)](https://godoc.org/github.com/vultr/packer-builder-vultr/vultr)

# Packer Builder for Vultr

This is a [HashiCorp Packer](https://www.packer.io/) plugin for creating [Vultr](https://www.vultr.com/) snapshots. It uses the public [Vultr API](https://www.vultr.com/api/).

## Work in Progress
This project is currently being worked on and updated.

## Installation
* Download binaries from the [releases page](https://github.com/ivandeex/packer-builder-vultr/releases).
* Download binaries from the [releases page](https://github.com/vultr/packer-builder-vultr/releases).
* [Install](https://www.packer.io/docs/extending/plugins.html#installing-plugins) the plugin, or simply put it into the same directory with JSON templates.

## Build

Install Go, then run:
```sh
$ go get github.com/ivandeex/packer-builder-vultr
$ go get github.com/vultr/packer-builder-vultr
```

## Examples

See Ubuntu template in the [examples folder](https://github.com/ivandeex/packer-builder-vultr/tree/master/examples/).
See Ubuntu template in the [examples folder](https://github.com/vultr/packer-builder-vultr/tree/master/examples/).

You must have your Vultr API token obtained from the Vultr account pages.

Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module github.com/ivandeex/packer-builder-vultr
module github.com/vultr/packer-builder-vultr

go 1.12

require (
github.com/JamesClonk/vultr v2.0.1+incompatible
github.com/hashicorp/go-multierror v1.0.0
github.com/hashicorp/packer v1.4.2
golang.org/x/crypto v0.0.0-20190621222207-cc06ce4a13d4
golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4
)
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -349,8 +349,8 @@ golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnf
golang.org/x/crypto v0.0.0-20181030102418-4d3f4d9ffa16/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20190424203555-c05e17bb3b2d/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20190621222207-cc06ce4a13d4 h1:ydJNl0ENAG67pFbB+9tfhiL2pYqLhfoaZFw/cjLhY4A=
golang.org/x/crypto v0.0.0-20190621222207-cc06ce4a13d4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4 h1:HuIa8hRrWRSrqYzx1qI49NNxhdi2PrY7gxVSq1JjLDc=
golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/lint v0.0.0-20180702182130-06c8688daad7/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"log"

"github.com/ivandeex/packer-builder-vultr/vultr"
"github.com/vultr/packer-builder-vultr/vultr"
"github.com/hashicorp/packer/packer/plugin"
)

Expand Down
2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ go.opencensus.io/stats/internal
go.opencensus.io/internal/tagencoding
go.opencensus.io/metric/metricproducer
go.opencensus.io/resource
# golang.org/x/crypto v0.0.0-20190621222207-cc06ce4a13d4
# golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4
golang.org/x/crypto/ssh
golang.org/x/crypto/ssh/agent
golang.org/x/crypto/curve25519
Expand Down