0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-06-30 18:42:58 +00:00

Minor update to changelog and versions.tf. Added initial test workflow as a replacement for Travis

This commit is contained in:
Dan Petersen 2021-02-10 00:13:53 +01:00
parent 259b446583
commit 53f1e93f21
4 changed files with 45 additions and 8 deletions

37
.github/workflows/test.yml vendored Normal file
View 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 }}

View File

@ -9,13 +9,13 @@ BREAKING CHANGES:
* resource/virtual_environment_vm: `interface` is now required to create disks
```
disk {
datastore_id = "local-lvm"
file_id = "${proxmox_virtual_environment_file.ubuntu_cloud_image.id}"
interface = "scsi0"
}
```
```
disk {
datastore_id = "local-lvm"
file_id = "${proxmox_virtual_environment_file.ubuntu_cloud_image.id}"
interface = "scsi0"
}
```
ENHANCEMENTS:

View File

@ -4,7 +4,7 @@ terraform {
source = "hashicorp/local"
}
proxmox = {
source = "terraform.danitso.com/provider/proxmox"
source = "danitso/proxmox"
}
tls = {
source = "hashicorp/tls"