Skip to content

Commit 7447bd8

Browse files
committed
Update import paths
1 parent 8272447 commit 7447bd8

12 files changed

Lines changed: 16 additions & 16 deletions

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.idea
22
examples/crash.log
33
dist
4-
upcloud-packer
4+
packer-plugin-upcloud
55
vendor

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ build:
1515

1616
install: build
1717
mkdir -p ~/.packer.d/plugins
18-
install ./upcloud-packer ~/.packer.d/plugins/packer-builder-upcloud
18+
install ./packer-plugin-upcloud ~/.packer.d/plugins/
1919

2020
.PHONY: default test test_integration lint build install

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# UpCloud Packer builder
22

3-
[![Build Status](https://travis-ci.org/UpCloudLtd/upcloud-packer.svg?branch=master)](https://travis-ci.org/UpCloudLtd/upcloud-packer)
3+
![Build Status](https://github.com/UpCloudLtd/packer-plugin-upcloud/workflows/test/badge.svg)
44

55
This is a builder plugin for Packer which can be used to generate storage templates on UpCloud. It utilises the [UpCloud Go API](https://github.com/UpCloudLtd/upcloud-go-api) to interface with the UpCloud API.
66

77
## Installation
88

99
### Pre-built binaries
1010

11-
You can download the pre-built binaries of the plugin from the [GitHub releases page](https://github.com/UpCloudLtd/upcloud-packer/releases). Just download the archive for your operating system and architecture, unpack it, and place the binary in the appropriate location, e.g. on Linux `~/.packer.d/plugins`. Make sure the file is executable, then install [Packer](https://www.packer.io/).
11+
You can download the pre-built binaries of the plugin from the [GitHub releases page](https://github.com/UpCloudLtd/packer-plugin-upcloud/releases). Just download the archive for your operating system and architecture, unpack it, and place the binary in the appropriate location, e.g. on Linux `~/.packer.d/plugins`. Make sure the file is executable, then install [Packer](https://www.packer.io/).
1212

1313
### Installing from source
1414

@@ -21,10 +21,10 @@ You will need to have the [Go](https://golang.org/) programming language and the
2121
Run the following commands to download and install the plugin from the source.
2222

2323
```sh
24-
git clone https://github.com/UpCloudLtd/upcloud-packer
25-
cd upcloud-packer
24+
git clone https://github.com/UpCloudLtd/packer-plugin-upcloud
25+
cd packer-plugin-upcloud
2626
go build
27-
cp upcloud-packer ~/.packer.d/plugins/packer-builder-upcloud
27+
cp packer-plugin-upcloud ~/.packer.d/plugins/packer-builder-upcloud
2828
```
2929

3030
## Usage

builder/upcloud/artifact.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"strings"
66

77
"github.com/UpCloudLtd/upcloud-go-api/upcloud"
8-
internal "github.com/UpCloudLtd/upcloud-packer/internal"
8+
internal "github.com/UpCloudLtd/packer-plugin-upcloud/internal"
99
)
1010

1111
// packersdk.Artifact implementation

builder/upcloud/builder.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"context"
55
"fmt"
66

7+
internal "github.com/UpCloudLtd/packer-plugin-upcloud/internal"
78
"github.com/UpCloudLtd/upcloud-go-api/upcloud"
8-
internal "github.com/UpCloudLtd/upcloud-packer/internal"
99
"github.com/hashicorp/hcl/v2/hcldec"
1010
"github.com/hashicorp/packer-plugin-sdk/communicator"
1111
"github.com/hashicorp/packer-plugin-sdk/multistep"

builder/upcloud/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
"github.com/UpCloudLtd/upcloud-go-api/upcloud"
1111
"github.com/UpCloudLtd/upcloud-go-api/upcloud/request"
12-
internal "github.com/UpCloudLtd/upcloud-packer/internal"
12+
internal "github.com/UpCloudLtd/packer-plugin-upcloud/internal"
1313
"github.com/hashicorp/packer-plugin-sdk/common"
1414
"github.com/hashicorp/packer-plugin-sdk/communicator"
1515
"github.com/hashicorp/packer-plugin-sdk/packer"

builder/upcloud/step_create_server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"context"
55
"fmt"
66

7-
internal "github.com/UpCloudLtd/upcloud-packer/internal"
7+
internal "github.com/UpCloudLtd/packer-plugin-upcloud/internal"
88
"github.com/hashicorp/packer-plugin-sdk/multistep"
99
"github.com/hashicorp/packer-plugin-sdk/packer"
1010
"github.com/hashicorp/packer-plugin-sdk/packerbuilderdata"

builder/upcloud/step_create_ssh_key.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"io/ioutil"
1111
"strings"
1212

13-
internal "github.com/UpCloudLtd/upcloud-packer/internal"
13+
internal "github.com/UpCloudLtd/packer-plugin-upcloud/internal"
1414
"github.com/hashicorp/packer-plugin-sdk/multistep"
1515
packersdk "github.com/hashicorp/packer-plugin-sdk/packer"
1616
"golang.org/x/crypto/ssh"

builder/upcloud/step_create_template.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"fmt"
66

77
"github.com/UpCloudLtd/upcloud-go-api/upcloud"
8-
internal "github.com/UpCloudLtd/upcloud-packer/internal"
8+
internal "github.com/UpCloudLtd/packer-plugin-upcloud/internal"
99
"github.com/hashicorp/packer-plugin-sdk/multistep"
1010
"github.com/hashicorp/packer-plugin-sdk/packer"
1111
"github.com/hashicorp/packer-plugin-sdk/packerbuilderdata"

builder/upcloud/step_teardown_server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"context"
55
"fmt"
66

7-
internal "github.com/UpCloudLtd/upcloud-packer/internal"
7+
internal "github.com/UpCloudLtd/packer-plugin-upcloud/internal"
88
"github.com/hashicorp/packer-plugin-sdk/multistep"
99
"github.com/hashicorp/packer-plugin-sdk/packer"
1010
)

0 commit comments

Comments
 (0)