Skip to content
This repository has been archived by the owner on Oct 4, 2021. It is now read-only.

Commit

Permalink
Merge pull request #12 from UpCloudLtd/feature/rebrand
Browse files Browse the repository at this point in the history
Feature/rebrand
  • Loading branch information
Jalle19 authored May 26, 2017
2 parents 621b8a8 + 7a6b433 commit 8a5e870
Show file tree
Hide file tree
Showing 13 changed files with 56 additions and 39 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.idea
examples/crash.log
resources/build-host-web-root/packer-builder-upcloud*
packer-builder-upcloud
dist
upcloud-packer
vendor
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ install:

script:
# build for all platforms with gox
- gox -arch="amd64" -os="darwin linux windows" -output "dist/{{.OS}}-{{.Arch}}/{{.Dir}}" .
- gox -arch="amd64" -os="darwin linux windows" -output "dist/{{.OS}}-{{.Arch}}/packer-builder-upcloud" .
# create one archive per platform
- zip -j packer-builder-upcloud-${TRAVIS_TAG}-darwin-amd64.zip ./dist/darwin-amd64/*
- zip -j packer-builder-upcloud-${TRAVIS_TAG}-linux-amd64.zip ./dist/linux-amd64/*
Expand All @@ -29,5 +29,5 @@ deploy:
- packer-builder-upcloud-${TRAVIS_TAG}-linux-amd64.zip
- packer-builder-upcloud-${TRAVIS_TAG}-windows-amd64.zip
on:
repo: Jalle19/packer-builder-upcloud
repo: UpCloudLtd/upcloud-packer
tags: true
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Change log

## 3.0.0

* Moved the project to UpCloud's GitHub organization
* Adapted to the fact that the UpCloud Go SDK was moved to UpCloud's GitHub organization
* Renamed the repository from `packer-builder-upcloud` to `upcloud-packer`. The released binaries still use the
`packer-$TYPE-$NAME` naming scheme though.
* Bumped the Packer dependency to v1.0.0

## 2.0.5

* Fix some issues with the Travis releases
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# packer-builder-upcloud
# upcloud-packer

[![Build Status](https://travis-ci.org/Jalle19/packer-builder-upcloud.svg?branch=master)](https://travis-ci.org/Jalle19/packer-builder-upcloud)
[![Build Status](https://travis-ci.org/UpCloudLtd/upcloud-packer.svg?branch=master)](https://travis-ci.org/UpCloudLtd/upcloud-packer)

This is a Packer builder which can be used to generate storage templates on UpCloud. It uses the
[UpCloud Go SDK](https://github.com/Jalle19/upcloud-go-sdk) to interface with UpCloud's API.
[UpCloud Go SDK](https://github.com/UpCloudLtd/upcloud-go-sdk) to interface with UpCloud's API.

## Installation

### Pre-built binaries

You can download pre-built binaries of the plugin from the
[GitHub releases page](https://github.com/Jalle19/packer-builder-upcloud/releases). Just download the archive for your
[GitHub releases page](https://github.com/UpCloudLtd/upcloud-packer/releases). Just download the archive for your
operating system and architecture, unpack it, then place the binary in `~/.packer.d/plugins`. Make sure the file is
executable.

Expand All @@ -26,11 +26,11 @@ instructions in their README to install it.
Run the following commands:

```
go get github.com/Jalle19/packer-builder-upcloud
cd $GOPATH/src/github.com/Jalle19/packer-builder-upcloud
go get github.com/UpCloudLtd/upcloud-packer
cd $GOPATH/src/github.com/UpCloudLtd/upcloud-packer
glide install --strip-vendor
go build
cp packer-builder-upcloud ~/.packer.d/plugins
cp upcloud-packer ~/.packer.d/plugins/packer-builder-upcloud
```

## Usage
Expand Down
4 changes: 2 additions & 2 deletions builder/upcloud/artifact.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package upcloud

import (
"fmt"
"github.com/Jalle19/upcloud-go-sdk/upcloud/request"
"github.com/Jalle19/upcloud-go-sdk/upcloud/service"
"github.com/UpCloudLtd/upcloud-go-sdk/upcloud/request"
"github.com/UpCloudLtd/upcloud-go-sdk/upcloud/service"
"log"
)

Expand Down
6 changes: 3 additions & 3 deletions builder/upcloud/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package upcloud

import (
"fmt"
"github.com/Jalle19/upcloud-go-sdk/upcloud"
"github.com/Jalle19/upcloud-go-sdk/upcloud/request"
"github.com/UpCloudLtd/upcloud-go-sdk/upcloud"
"github.com/UpCloudLtd/upcloud-go-sdk/upcloud/request"
"github.com/mitchellh/multistep"
"github.com/mitchellh/packer/common"
"github.com/mitchellh/packer/helper/communicator"
Expand All @@ -12,7 +12,7 @@ import (
)

// The unique ID for this builder.
const BuilderId = "jalle19.upcloud"
const BuilderId = "upcloudltd.upcloud"

// Builder represents a Packer Builder.
type Builder struct {
Expand Down
4 changes: 2 additions & 2 deletions builder/upcloud/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package upcloud
import (
"errors"
"fmt"
"github.com/Jalle19/upcloud-go-sdk/upcloud/client"
"github.com/Jalle19/upcloud-go-sdk/upcloud/service"
"github.com/UpCloudLtd/upcloud-go-sdk/upcloud/client"
"github.com/UpCloudLtd/upcloud-go-sdk/upcloud/service"
"github.com/mitchellh/packer/common"
"github.com/mitchellh/packer/helper/communicator"
"github.com/mitchellh/packer/helper/config"
Expand Down
2 changes: 1 addition & 1 deletion builder/upcloud/ssh.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"golang.org/x/crypto/ssh"

"github.com/Jalle19/upcloud-go-sdk/upcloud"
"github.com/UpCloudLtd/upcloud-go-sdk/upcloud"
"github.com/mitchellh/multistep"
)

Expand Down
6 changes: 3 additions & 3 deletions builder/upcloud/step_create_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package upcloud

import (
"fmt"
"github.com/Jalle19/upcloud-go-sdk/upcloud"
"github.com/Jalle19/upcloud-go-sdk/upcloud/request"
"github.com/Jalle19/upcloud-go-sdk/upcloud/service"
"github.com/UpCloudLtd/upcloud-go-sdk/upcloud"
"github.com/UpCloudLtd/upcloud-go-sdk/upcloud/request"
"github.com/UpCloudLtd/upcloud-go-sdk/upcloud/service"
"github.com/mitchellh/multistep"
"github.com/mitchellh/packer/packer"
"time"
Expand Down
6 changes: 3 additions & 3 deletions builder/upcloud/step_templatize_storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package upcloud

import (
"fmt"
"github.com/Jalle19/upcloud-go-sdk/upcloud"
"github.com/Jalle19/upcloud-go-sdk/upcloud/request"
"github.com/Jalle19/upcloud-go-sdk/upcloud/service"
"github.com/UpCloudLtd/upcloud-go-sdk/upcloud"
"github.com/UpCloudLtd/upcloud-go-sdk/upcloud/request"
"github.com/UpCloudLtd/upcloud-go-sdk/upcloud/service"
"github.com/mitchellh/multistep"
"github.com/mitchellh/packer/packer"
"github.com/pkg/errors"
Expand Down
27 changes: 18 additions & 9 deletions glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions glide.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
package: github.com/Jalle19/packer-builder-upcloud
package: github.com/UpCloudLtd/upcloud-packer
flatten: true
import:
- package: github.com/Jalle19/upcloud-go-sdk
- package: github.com/UpCloudLtd/upcloud-go-sdk
subpackages:
- upcloud
- upcloud/client
- upcloud/request
- upcloud/service
- package: github.com/mitchellh/multistep
- package: github.com/mitchellh/packer
version: ~0.10.2
- package: github.com/hashicorp/packer
version: ~1.0.0
subpackages:
- common
- helper/communicator
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main

import (
"github.com/Jalle19/packer-builder-upcloud/builder/upcloud"
"github.com/UpCloudLtd/upcloud-packer/builder/upcloud"
"github.com/mitchellh/packer/packer/plugin"
)

Expand Down

0 comments on commit 8a5e870

Please sign in to comment.