Skip to content

docs: update CHANGELOG.md #2138

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/acceptance-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
with:
ref: 'main'

- name: Write the SSH key and create session folders
run: |
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ./ssh_private_key
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version-file: '.go-version'

- name: Set up Node
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
with:
Expand All @@ -73,13 +73,13 @@ jobs:

- name: Go mod verify
run: go mod verify

- name: Run acceptance tests
continue-on-error: true
run: |
set -euo pipefail
TF_ACC=1 go test -json -v ./... -timeout 360m 2>&1 | tee /tmp/gotest.log | gotestfmt

- name: Get today's date
run: echo "TODAY_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: CodeQL
'on':

on:
push:
branches:
- main
Expand All @@ -8,6 +9,7 @@ name: CodeQL
- main
schedule:
- cron: 00 00 * * 00

jobs:
analyze:
name: Analyze
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/issue_greeting.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
---
name: Issue Greeting
'on':

on:
issues:
types:
- opened

jobs:
greeting:
name: Send Greeting
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lock.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'Lock Threads'
name: Lock Threads

on:
schedule:
Expand All @@ -18,4 +18,4 @@ jobs:
pr-comment: >
I'm going to lock this pull request because it has been closed for _30 days_ ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
pr-inactive-days: '30'
pr-inactive-days: '30'
3 changes: 1 addition & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
--
name: "Pull Request Labels"
name: Pull Request Labels

on:
pull_request_target:
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/remove-issue-label.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Remove specified label from issue
name: Remove Labels

on:
# This file is reused, and called from other workflows
Expand All @@ -8,7 +8,6 @@ on:
required: true
type: string


jobs:
remove-label:
runs-on: ubuntu-latest
Expand All @@ -20,22 +19,22 @@ jobs:
script: |
const { REMOVE_LABEL } = process.env
console.log(`Attempting to remove label "${REMOVE_LABEL}"`)

const { data } = await github.rest.issues.listLabelsOnIssue({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
})

// Return early if there are no labels
if (data.length == 0){
console.log(`Issue has no labels; not attempting to remove label "${REMOVE_LABEL}"`)
return
}

// Check if REMOVE_LABEL is present
const filteredData = data.filter(label => label.name == REMOVE_LABEL)

// Return early if filtering didn't identify the label as present
if (filteredData.length == 0){
console.log(`Label "${REMOVE_LABEL}" not found on issue; not attempting to remove it.`)
Expand All @@ -49,4 +48,4 @@ jobs:
owner: context.repo.owner,
repo: context.repo.repo,
name: REMOVE_LABEL
})
})
6 changes: 4 additions & 2 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
---
name: Manage Stale Items
'on':

on:
schedule:
- cron: 00 00 * * *

jobs:
stale:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -34,7 +36,7 @@ jobs:
stale-pr-message: >
Marking this pull request as stale due to inactivity in the past
180 days. This helps us focus on the active pull requests. If this
pull request receives no comments in the next 30 days it will
pull request receives no comments in the next 30 days it will
automatically be closed.

If this pull request was automatically closed and you feel this
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/unit_tests.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Unit tests
name: Unit Tests

on:
push:
Expand All @@ -9,6 +9,7 @@ on:
- main
paths:
- '**.go'

jobs:
unit_tests:
runs-on: ubuntu-latest
Expand Down
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# <!-- markdownlint-disable first-line-h1 no-inline-html -->

## 2.7.0 (Unreleased)

BUG FIXES:

* `resource/virtual_machine`: Fixes support for SR-IOV passthrough virtual machine network adapters. ([#2133](https://github.com/terraform-providers/terraform-provider-vsphere/pull/2133))
* `resource/virtual_machine`: Unifies `disk.keep_on_remove` with default and `disk.label` with the correct one assigned to the virtual machine disk during import. If the datastore for a virtual machine is part of a datastore cluster the `datastore_cluster_id` attribute is filled during import. ([#2127](https://github.com/terraform-providers/terraform-provider-vsphere/pull/2127))
* `resource/virtual_machine`: Changed the default value for `sync_time_with_host` in `r/vsphere_virtual_machine` to `true` to align with default value provided by the UI. ([#2120](https://github.com/terraform-providers/terraform-provider-vsphere/pull/2120))
* `resource/virtual_machine`: Added the virtual machine folder in the search for virtual machine criteria when deploying from an OVF/OVA. scenario. Allows virtual machines with same names in different virtual machine folders to be not distinguished as different managed entities. ([#2118](https://github.com/terraform-providers/terraform-provider-vsphere/pull/2118))
* `resource/virtual_disk`: Fixes import to use the correct the `vmdk_path`. ([#1762](https://github.com/terraform-providers/terraform-provider-vsphere/pull/1762))

FEATURES:

* `resource/virtual_machine`: Adds support for `memory_reservation_locked_to_max` property. If set true, memory resource reservation for the virtual machine will always be equal to the virtual machine's memory size. ([#2093](https://github.com/terraform-providers/terraform-provider-vsphere/pull/2093))
* `data/vsphere_host_vgpu_profile`: Adds data source to the provider to query and return available vGPU profiles for an ESXi host. ([#2048](https://github.com/terraform-providers/terraform-provider-vsphere/pull/2048))
* `data/vsphere_datastore_stats`: Adds datastore stats to report total capacity and free space of datastores. ([#1896](https://github.com/terraform-providers/terraform-provider-vsphere/pull/1896))
* `data/vsphere_datastore`: Adds stats to report total capacity and free space of a single datastore. ([#1896](https://github.com/terraform-providers/terraform-provider-vsphere/pull/1896))

DOCUMENTATION:

* Updates `INSTALL.md` use use `unzip` for Linux and macOS examples. ([#2105](https://github.com/terraform-providers/terraform-provider-vsphere/pull/2105))

CHORES:

* `provider`: Updates `vmware/govmomi` to v0.35.0. ([#2132](https://github.com/terraform-providers/terraform-provider-vsphere/pull/2132))
* `provider`: Updates `hashicorp/terraform-plugin-sdk` to v2.32.0. ([#2125](https://github.com/terraform-providers/terraform-provider-vsphere/pull/2125))
* `provider`: Updates `golang/go` to v1.22.0 ([#2139](https://github.com/terraform-providers/terraform-provider-vsphere/pull/2139))

## 2.6.1 (December 11, 2023)

BUG FIXES:
Expand Down