mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-07-02 03:22:59 +00:00
Minor update to changelog and versions.tf. Added initial test workflow as a replacement for Travis
This commit is contained in:
parent
259b446583
commit
53f1e93f21
37
.github/workflows/test.yml
vendored
Normal file
37
.github/workflows/test.yml
vendored
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
name: Test changes
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
- master
|
||||||
|
- 'v*'
|
||||||
|
jobs:
|
||||||
|
goreleaser:
|
||||||
|
runs-on: ubuntu-20.04
|
||||||
|
steps:
|
||||||
|
-
|
||||||
|
name: Checkout the repository
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
-
|
||||||
|
name: Set up the required version of Go
|
||||||
|
uses: actions/setup-go@v2
|
||||||
|
with:
|
||||||
|
go-version: 1.15
|
||||||
|
-
|
||||||
|
name: Import the GPG signing key
|
||||||
|
env:
|
||||||
|
GPG_KEY: ${{ secrets.GPG_KEY }}
|
||||||
|
run: |
|
||||||
|
echo "$GPG_KEY" | base64 -d | gpg --batch --allow-secret-key-import --import
|
||||||
|
gpg --keyid-format LONG --list-secret-keys
|
||||||
|
-
|
||||||
|
name: Create release
|
||||||
|
uses: goreleaser/goreleaser-action@v2
|
||||||
|
with:
|
||||||
|
version: latest
|
||||||
|
args: release --rm-dist --snapshot
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
GPG_FINGERPRINT: ${{ secrets.GPG_FINGERPRINT }}
|
14
CHANGELOG.md
14
CHANGELOG.md
@ -9,13 +9,13 @@ BREAKING CHANGES:
|
|||||||
|
|
||||||
* resource/virtual_environment_vm: `interface` is now required to create disks
|
* resource/virtual_environment_vm: `interface` is now required to create disks
|
||||||
|
|
||||||
```
|
```
|
||||||
disk {
|
disk {
|
||||||
datastore_id = "local-lvm"
|
datastore_id = "local-lvm"
|
||||||
file_id = "${proxmox_virtual_environment_file.ubuntu_cloud_image.id}"
|
file_id = "${proxmox_virtual_environment_file.ubuntu_cloud_image.id}"
|
||||||
interface = "scsi0"
|
interface = "scsi0"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
ENHANCEMENTS:
|
ENHANCEMENTS:
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ terraform {
|
|||||||
source = "hashicorp/local"
|
source = "hashicorp/local"
|
||||||
}
|
}
|
||||||
proxmox = {
|
proxmox = {
|
||||||
source = "terraform.danitso.com/provider/proxmox"
|
source = "danitso/proxmox"
|
||||||
}
|
}
|
||||||
tls = {
|
tls = {
|
||||||
source = "hashicorp/tls"
|
source = "hashicorp/tls"
|
||||||
|
Loading…
Reference in New Issue
Block a user