mirror of
https://github.com/ysoftdevs/terraform-provider-bitbucket.git
synced 2026-04-22 08:38:26 +02:00
some improvements
This commit is contained in:
@@ -53,18 +53,19 @@ To build the provider binary:
|
|||||||
go build -o terraform-provider-bitbucket-token main.go
|
go build -o terraform-provider-bitbucket-token main.go
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
### Release & OpenTofu Registry
|
### Release & OpenTofu Registry
|
||||||
|
|
||||||
Releases are managed via `goreleaser.yml` and published automatically to the OpenTofu registry.
|
Releases are managed via `goreleaser.yml` and published automatically to the OpenTofu registry.
|
||||||
|
|
||||||
**How it works:**
|
**How it works:**
|
||||||
|
|
||||||
- Each time a new version tag (e.g., `v1.2.3`) is pushed to the repository, a release is built and published.
|
- Each time a new version tag (e.g., `v1.2.3`) is pushed to the repository, a release is built and published.
|
||||||
- The provider is automatically registered with the OpenTofu registry at `registry.opentofu.org/ysoftdevs/bitbucket`.
|
- The provider is automatically registered with the OpenTofu registry at `registry.opentofu.org/ysoftdevs/bitbucket`.
|
||||||
- After publishing, the registry will automatically promote the new version within a few hours (usually up to 2 hours).
|
- After publishing, the registry will automatically promote the new version within a few hours (usually up to 2 hours).
|
||||||
- No manual steps are required for registry promotion—users will see the new version available for installation after the delay.
|
- No manual steps are required for registry promotion—users will see the new version available for installation after the delay.
|
||||||
|
|
||||||
**User workflow:**
|
**User workflow:**
|
||||||
|
|
||||||
1. Wait for the new tag to be promoted (check registry for latest version).
|
1. Wait for the new tag to be promoted (check registry for latest version).
|
||||||
2. Reference the desired version in your Terraform/OpenTofu configuration:
|
2. Reference the desired version in your Terraform/OpenTofu configuration:
|
||||||
```hcl
|
```hcl
|
||||||
@@ -77,7 +78,7 @@ Releases are managed via `goreleaser.yml` and published automatically to the Ope
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
3. Run `tofu init` or `terraform init` to install the provider.
|
3. Run `tofu init` to install the provider.
|
||||||
|
|
||||||
See [GoReleaser](https://goreleaser.com/) for build details and `terraform-registry-manifest.json` for protocol info.
|
See [GoReleaser](https://goreleaser.com/) for build details and `terraform-registry-manifest.json` for protocol info.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user