forked from labd/terraform-provider-commercetools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Dmytro Makukh
committed
Oct 25, 2023
1 parent
72e378b
commit e85abaa
Showing
2 changed files
with
12 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,25 +53,27 @@ for more information about installing third-party providers. | |
|
||
## Building the provider | ||
|
||
Clone repository to: `$GOPATH/src/github.com/labd/terraform-provider-commercetools` | ||
Clone repository to: `$GOPATH/src/github.com/vaimo/terraform-provider-commercetools` | ||
|
||
```sh | ||
$ mkdir -p $GOPATH/src/github.com/labd; cd $GOPATH/src/github.com/labd | ||
$ git clone [email protected]:labd/terraform-provider-commercetools | ||
$ mkdir -p $GOPATH/src/github.com/vaimo; cd $GOPATH/src/github.com/vaimo | ||
$ git clone [email protected]:vaimo/terraform-provider-commercetools.git | ||
``` | ||
|
||
Enter the provider directory and build the provider | ||
|
||
```sh | ||
$ cd $GOPATH/src/github.com/labd/terraform-provider-commercetools | ||
$ cd $GOPATH/src/github.com/vaimo/terraform-provider-commercetools | ||
$ task build-local | ||
$ GOOS=linux GOARCH=amd64 task build-local | ||
$ GOARCH=amd64 task build-local | ||
``` | ||
|
||
A build is created `terraform-provider-commercetools_99.0.0` in the root directory and added to plugin folder available | ||
A build is created `terraform-provider-commercetools_13.1.0` in the root directory and added to plugin folder available | ||
locally: | ||
|
||
```sh | ||
~/.terraform.d/plugins/local/labd/commercetools/99.0.0/${OS_ARCH}/terraform-provider-commercetools_v99.0.0 | ||
~/.terraform.d/plugins/terraform.vaimo.com/vaimo/commercetools/1.13.0${OS_ARCH}/terraform-provider-commercetools_v13.1.0 | ||
``` | ||
|
||
Use version `99.0.0` in the provider to test your changes locally | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters