mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-08-22 19:38:35 +00:00
chore: new release workflow (#135)
* bump TF versions * chore: new release workflow
This commit is contained in:
parent
d584ec1de4
commit
9e5edc1405
13
.github/workflows/release-please.yml
vendored
Normal file
13
.github/workflows/release-please.yml
vendored
Normal 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
|
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -43,9 +43,9 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
# list whatever Terraform versions here you would like to support
|
# list whatever Terraform versions here you would like to support
|
||||||
terraform:
|
terraform:
|
||||||
- '1.0.1'
|
|
||||||
- '1.1.9'
|
- '1.1.9'
|
||||||
- '1.2.5'
|
- '1.2.9'
|
||||||
|
- '1.3.2'
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
|
@ -38,7 +38,7 @@ signs:
|
|||||||
- artifacts: checksum
|
- artifacts: checksum
|
||||||
args:
|
args:
|
||||||
# if you are using this in a GitHub action or some other automated pipeline, you
|
# 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"
|
- "--batch"
|
||||||
- "--local-user"
|
- "--local-user"
|
||||||
- "{{ .Env.GPG_FINGERPRINT }}" # set this environment variable for your signing key
|
- "{{ .Env.GPG_FINGERPRINT }}" # set this environment variable for your signing key
|
||||||
|
@ -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 |
|
| 7.x | 0.4.x \> 0.4.4 <br>0.5.x |
|
||||||
|
|
||||||
## Requirements
|
## 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)
|
- [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)
|
- [GoReleaser](https://goreleaser.com/install/) v1.10+ (to build the provider plugin)
|
||||||
|
|
||||||
|
2
main.go
2
main.go
@ -19,7 +19,7 @@ func main() {
|
|||||||
|
|
||||||
opts := &plugin.ServeOpts{
|
opts := &plugin.ServeOpts{
|
||||||
Debug: debug,
|
Debug: debug,
|
||||||
ProviderAddr: "registry.terraform.io/example-namespace/example",
|
ProviderAddr: "registry.terraform.io/bpg/terraform",
|
||||||
ProviderFunc: func() *schema.Provider {
|
ProviderFunc: func() *schema.Provider {
|
||||||
return proxmoxtf.Provider()
|
return proxmoxtf.Provider()
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user