Skip to content

Commit

Permalink
Merge pull request #1 from Marfeel/develop
Browse files Browse the repository at this point in the history
refactor: Point to Marfeel's fork
  • Loading branch information
iagoalonsomrf authored Jul 8, 2024
2 parents 3076527 + 6c3ed9f commit d5848ef
Show file tree
Hide file tree
Showing 14 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ testacc: test
TF_ACC=1 go test ./...

install: terraform-provider-dockerhub
mkdir -p ~/.terraform.d/plugins/registry.terraform.io/BarnabyShearer/dockerhub/0.1.0/linux_amd64
cp $+ ~/.terraform.d/plugins/registry.terraform.io/BarnabyShearer/dockerhub/0.1.0/linux_amd64
mkdir -p ~/.terraform.d/plugins/registry.terraform.io/Marfeel/dockerhub/0.1.0/linux_amd64
cp $+ ~/.terraform.d/plugins/registry.terraform.io/Marfeel/dockerhub/0.1.0/linux_amd64
-rm .terraform.lock.hcl
terraform init

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
=======
# Docker Hub Provider

[![registry.terraform.io](https://img.shields.io/badge/terraform-docs-success)](https://registry.terraform.io/providers/BarnabyShearer/dockerhub/latest/docs)
[![registry.terraform.io](https://img.shields.io/badge/terraform-docs-success)](https://registry.terraform.io/providers/Marfeel/dockerhub/latest/docs)

![Build Status](https://github.com/BarnabyShearer/terraform-provider-dockerhub/actions/workflows/publish.yml/badge.svg)
![Build Status](https://github.com/Marfeel/terraform-provider-dockerhub/actions/workflows/publish.yml/badge.svg)

Lifecycle management of Docker Hub using the v2 API.

Expand All @@ -21,7 +21,7 @@ terraform {
required_providers {
dockerhub = {
source = "BarnabyShearer/dockerhub"
source = "Marfeel/dockerhub"
version = ">= 0.0.15"
}
}
Expand Down
2 changes: 1 addition & 1 deletion dockerhub/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"

rtd "github.com/BarnabyShearer/dockerhub/v2"
rtd "github.com/Marfeel/dockerhub/v2"
)

func Provider() *schema.Provider {
Expand Down
2 changes: 1 addition & 1 deletion dockerhub/resource_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"

dh "github.com/BarnabyShearer/dockerhub/v2"
dh "github.com/Marfeel/dockerhub/v2"
)

func resourceGroup() *schema.Resource {
Expand Down
2 changes: 1 addition & 1 deletion dockerhub/resource_repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"

dh "github.com/BarnabyShearer/dockerhub/v2"
dh "github.com/Marfeel/dockerhub/v2"
)

func resourceRepository() *schema.Resource {
Expand Down
2 changes: 1 addition & 1 deletion dockerhub/resource_repository_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"

dh "github.com/BarnabyShearer/dockerhub/v2"
dh "github.com/Marfeel/dockerhub/v2"
)

func TestAccDockerhubRepository_basic(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion dockerhub/resource_repositorygroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"

dh "github.com/BarnabyShearer/dockerhub/v2"
dh "github.com/Marfeel/dockerhub/v2"
)

func resourceRepositoryGroup() *schema.Resource {
Expand Down
2 changes: 1 addition & 1 deletion dockerhub/resource_token.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"

dh "github.com/BarnabyShearer/dockerhub/v2"
dh "github.com/Marfeel/dockerhub/v2"
)

func resourceToken() *schema.Resource {
Expand Down
2 changes: 1 addition & 1 deletion dockerhub/resource_token_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"

dh "github.com/BarnabyShearer/dockerhub/v2"
dh "github.com/Marfeel/dockerhub/v2"
)

func toGenericArray(old []string) []interface{} {
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ terraform {
required_providers {
dockerhub = {
source = "BarnabyShearer/dockerhub"
source = "Marfeel/dockerhub"
version = ">= 0.0.15"
}
}
Expand Down
2 changes: 1 addition & 1 deletion examples/provider/installation.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform {

required_providers {
dockerhub = {
source = "BarnabyShearer/dockerhub"
source = "Marfeel/dockerhub"
version = ">= 0.0.15"
}
}
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module github.com/BarnabyShearer/terraform-provider-dockerhub
module github.com/Marfeel/terraform-provider-dockerhub

go 1.16

require (
github.com/BarnabyShearer/dockerhub/v2 v2.1.0
github.com/Marfeel/dockerhub/v2 v2.2.0
github.com/agext/levenshtein v1.2.3 // indirect
github.com/hashicorp/terraform-plugin-docs v0.13.0
github.com/hashicorp/terraform-plugin-sdk/v2 v2.26.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,8 @@ cloud.google.com/go/workflows v1.7.0/go.mod h1:JhSrZuVZWuiDfKEFxU0/F1PQjmpnpcoIS
cloud.google.com/go/workflows v1.8.0/go.mod h1:ysGhmEajwZxGn1OhGOGKsTXc5PyxOc0vfKf5Af+to4M=
cloud.google.com/go/workflows v1.9.0/go.mod h1:ZGkj1aFIOd9c8Gerkjjq7OW7I5+l6cSvT3ujaO/WwSA=
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
github.com/BarnabyShearer/dockerhub/v2 v2.1.0 h1:g0WJWuFrcSyKK43xPgryRHS/28WYpbwiBGdPgE5ybgs=
github.com/BarnabyShearer/dockerhub/v2 v2.1.0/go.mod h1:z5UKZBcwG+G4G+ZepWmzbdS7lPY/jTC8q/mcVKJIyWc=
github.com/Marfeel/dockerhub/v2 v2.2.0 h1:1yTUwnTi8hiIgsjBq3i4KTrpHlX7sOIqyoNjK49trYQ=
github.com/Marfeel/dockerhub/v2 v2.2.0/go.mod h1:0oJJy/ogptA+kYjmrviXU/GEwDkj09XrqsQ2lw/9KNg=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
github.com/Masterminds/goutils v1.1.0/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU=
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/BarnabyShearer/terraform-provider-dockerhub/dockerhub"
"github.com/Marfeel/terraform-provider-dockerhub/dockerhub"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/v2/plugin"
)
Expand Down

0 comments on commit d5848ef

Please sign in to comment.