0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-06-30 02:31:10 +00:00

chore: new release workflow (#135)

* bump TF versions

* chore: new release workflow
This commit is contained in:
Pavel Boldyrev 2022-10-16 20:25:31 -04:00 committed by GitHub
parent d584ec1de4
commit 9e5edc1405
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 18 additions and 5 deletions

13
.github/workflows/release-please.yml vendored Normal file
View File

@ -0,0 +1,13 @@
on:
push:
branches:
- main
name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
with:
release-type: go
package-name: release-please-action

View File

@ -43,9 +43,9 @@ jobs:
matrix:
# list whatever Terraform versions here you would like to support
terraform:
- '1.0.1'
- '1.1.9'
- '1.2.5'
- '1.2.9'
- '1.3.2'
steps:
- name: Set up Go

View File

@ -38,7 +38,7 @@ signs:
- artifacts: checksum
args:
# if you are using this in a GitHub action or some other automated pipeline, you
# need to pass the batch flag to indicate its not interactive.
# need to pass the batch flag to indicate it's not interactive.
- "--batch"
- "--local-user"
- "{{ .Env.GPG_FINGERPRINT }}" # set this environment variable for your signing key

View File

@ -18,7 +18,7 @@ VM deployment in Proxmox v7.0, and a few other enhancements.
| 7.x | 0.4.x \> 0.4.4 <br>0.5.x |
## Requirements
- [Terraform](https://www.terraform.io/downloads.html) 1.0+
- [Terraform](https://www.terraform.io/downloads.html) 1.1+
- [Go](https://golang.org/doc/install) 1.18+ (to build the provider plugin)
- [GoReleaser](https://goreleaser.com/install/) v1.10+ (to build the provider plugin)

View File

@ -19,7 +19,7 @@ func main() {
opts := &plugin.ServeOpts{
Debug: debug,
ProviderAddr: "registry.terraform.io/example-namespace/example",
ProviderAddr: "registry.terraform.io/bpg/terraform",
ProviderFunc: func() *schema.Provider {
return proxmoxtf.Provider()
},