Skip to content

Commit

Permalink
Merge pull request #36 from src-d/rename-repo
Browse files Browse the repository at this point in the history
Rename repo to terraform-provider-online
  • Loading branch information
meyskens authored Oct 3, 2018
2 parents 264fe26 + 9f054ae commit de7e3fa
Show file tree
Hide file tree
Showing 13 changed files with 20 additions and 20 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ sudo: false
language: go
go:
- 1.11
go_import_path: github.com/src-d/terraform-provider-online-net
go_import_path: github.com/src-d/terraform-provider-online
script:
- make test
- make vet
Expand All @@ -14,7 +14,7 @@ deploy:
api_key:
secure: mbVV+H0EqwOaZ/bmBn1cV15V0W/xCYEUqFX2ZJLnvo/dunzOEhMoBzu7TVyZgirWCku32rrEBB0VyXkAvbSROc2vL4HJy8nFX0DH2h4zPvsBVNP89lXJONovYUnSAL0ENAzy4MyPmKTQnGe7RrYvc74hmExQwcvV7K2RNESHsn6nltoEYBtDS3232sSeTs3b44v2XhU3OgG6y61+Y4BIGwrfcZTgYjhRVrgmOtw907rlzav+mThzitYlcv30yyy4jfNDdR+CYLAfi8E3ZXh2i6WY+8owlZe7+Bk+QYENbrDpu3y2IYo6VAJEWuaA0c6eYBv72likynxgWOYnIjmgO6l1EW9yBuLryYGOfBmywWlO8vvPBHEa/bqxRysrgIwGUCKAZeHwBYbRicXvFi1g73Eo1VJJj+oSuctOPG0ras5cSrvVbK3R/gExxmZ1HSMUP8OZOg21d3mJabNPoIjswyl3LXhVqV5auwaqlpwykAl7x/Tf7lBqFptO9vwCnSFf0l7wXcgWR2RzpnF09GxB0RGcrEluehEXL5tlc1YGgvvziIlCBDYtiE8bol5aXhpxpPxSEInzuragjrF8hnaSW9FoA42brX90R4OY5xXDiOCd9w8TZMSXOlWWUden8VwzymVp0bB4UoLB1SC4gbuFDA2QK75EhWEQQMeJnAv5bU0=
file:
- build/terraform-provider-online-net_${TRAVIS_TAG}_darwin_amd64.tar.gz
- build/terraform-provider-online-net_${TRAVIS_TAG}_linux_amd64.tar.gz
- build/terraform-provider-online_${TRAVIS_TAG}_darwin_amd64.tar.gz
- build/terraform-provider-online_${TRAVIS_TAG}_linux_amd64.tar.gz
on:
tags: true
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ build: fmtcheck

local-install: build
mkdir -p ~/.terraform.d/plugins/$(SYSTEM_OS)_$(SYSTEM_ARCH)/; \
mv ./terraform-provider-online-net ~/.terraform.d/plugins/$(SYSTEM_OS)_$(SYSTEM_ARCH)/
mv ./terraform-provider-online ~/.terraform.d/plugins/$(SYSTEM_OS)_$(SYSTEM_ARCH)/

test: fmtcheck
go test -i $(TEST) || exit 1
Expand Down Expand Up @@ -97,7 +97,7 @@ errcheck:
test-compile: fmtcheck
@if [ "$(TEST)" = "./..." ]; then \
echo "ERROR: Set TEST to a specific package. For example,"; \
echo " make test-compile TEST=./terraform-provider-online-net"; \
echo " make test-compile TEST=./terraform-provider-online"; \
exit 1; \
fi
go test -c $(TEST) $(TESTARGS)
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,24 @@ Requirements
Building The Provider
---------------------

Clone repository to: `$GOPATH/src/github.com/src-d/terraform-provider-online-net`
Clone repository to: `$GOPATH/src/github.com/src-d/terraform-provider-online`

```sh
$ mkdir -p $GOPATH/src/github.com/scr-d; cd $GOPATH/src/github.com/src-d
$ git clone [email protected]:src-d/terraform-provider-online-net
$ git clone [email protected]:src-d/terraform-provider-online
```

Enter the provider directory and build the provider

```sh
$ cd $GOPATH/src/github.com/src-d/terraform-provider-online-net
$ cd $GOPATH/src/github.com/src-d/terraform-provider-online
$ make build
```

To install it in your home directory to test the provifer

```sh
$ cd $GOPATH/src/github.com/src-d/terraform-provider-online-net
$ cd $GOPATH/src/github.com/src-d/terraform-provider-online
$ make local-install
```

Expand All @@ -50,7 +50,7 @@ To compile the provider, run `make build`. This will build the provider and put
```sh
$ make build
...
$ $GOPATH/bin/terraform-provider-online-net
$ $GOPATH/bin/terraform-provider-online
...
```

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package main

import (
"github.com/hashicorp/terraform/plugin"
"github.com/src-d/terraform-provider-online-net/provider"
"github.com/src-d/terraform-provider-online/provider"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion online/mock/mock.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package mock
import (
"time"

"github.com/src-d/terraform-provider-online-net/online"
"github.com/src-d/terraform-provider-online/online"
"github.com/stretchr/testify/mock"
)

Expand Down
2 changes: 1 addition & 1 deletion provider/data_rescue_image.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"strings"

"github.com/src-d/terraform-provider-online-net/online"
"github.com/src-d/terraform-provider-online/online"

"github.com/hashicorp/terraform/helper/schema"
)
Expand Down
2 changes: 1 addition & 1 deletion provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package provider
import (
"github.com/hashicorp/terraform/helper/schema"
"github.com/hashicorp/terraform/terraform"
"github.com/src-d/terraform-provider-online-net/online"
"github.com/src-d/terraform-provider-online/online"
)

const TokenEnvVar = "ONLINE_TOKEN"
Expand Down
2 changes: 1 addition & 1 deletion provider/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/hashicorp/terraform/helper/schema"
"github.com/hashicorp/terraform/terraform"
"github.com/src-d/terraform-provider-online-net/online/mock"
"github.com/src-d/terraform-provider-online/online/mock"
)

var testAccProviders = map[string]terraform.ResourceProvider{}
Expand Down
2 changes: 1 addition & 1 deletion provider/resource_failover_ip.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"strings"

"github.com/hashicorp/terraform/helper/schema"
"github.com/src-d/terraform-provider-online-net/online"
"github.com/src-d/terraform-provider-online/online"
)

func resourceFailoverIP() *schema.Resource {
Expand Down
2 changes: 1 addition & 1 deletion provider/resource_failover_ip_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"time"

"github.com/hashicorp/terraform/terraform"
"github.com/src-d/terraform-provider-online-net/online"
"github.com/src-d/terraform-provider-online/online"

"github.com/hashicorp/terraform/helper/resource"
)
Expand Down
2 changes: 1 addition & 1 deletion provider/resource_rpnv2.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"time"

"github.com/hashicorp/terraform/helper/schema"
"github.com/src-d/terraform-provider-online-net/online"
"github.com/src-d/terraform-provider-online/online"
)

func resourceRPNv2() *schema.Resource {
Expand Down
2 changes: 1 addition & 1 deletion provider/resource_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"strings"

"github.com/hashicorp/terraform/helper/schema"
"github.com/src-d/terraform-provider-online-net/online"
"github.com/src-d/terraform-provider-online/online"
)

func resourceServer() *schema.Resource {
Expand Down
2 changes: 1 addition & 1 deletion provider/resource_server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"testing"

"github.com/hashicorp/terraform/helper/resource"
"github.com/src-d/terraform-provider-online-net/online"
"github.com/src-d/terraform-provider-online/online"
)

func setupMock() {
Expand Down

0 comments on commit de7e3fa

Please sign in to comment.