Skip to content
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

Release v2.19.0 #1387

Merged
merged 16 commits into from
Apr 9, 2024
Merged

Release v2.19.0 #1387

merged 16 commits into from
Apr 9, 2024

Conversation

lgarber-akamai
Copy link
Contributor

No description provided.

jriddle-linode and others added 16 commits March 28, 2024 11:52
## 📝 Description

**What does this PR do and why is this change necessary?**

Updates the logic to reboot the Linode when the active Instance Config is updated. Will only reboot if:
- The config is already booted
- The user has not set SkipImplicitReboots in their config
- The Booted flag for this config is still True

## ✔️ How to Test

**What are the steps to reproduce the issue or verify the changes?**

```bash
make int-test PKG_NAME=linode/instanceconfig
```

## Manual Testing

```terraform
# ...

resource "linode_instance" "foobar" {
    label = "rebooter_instance"
    type = "g6-nanode-1"
    region = "us-mia"
}

resource "linode_instance_disk" "foobar" {
  label = "boot"
  linode_id = linode_instance.foobar.id
  size = linode_instance.foobar.specs.0.disk

  image = "linode/alpine3.18"
}

resource "linode_instance_config" "foobar" {
  linode_id = linode_instance.foobar.id
  label = "my-config-updated"
  comments = "cool-updated"

  devices {
    sdb {
      disk_id = linode_instance_disk.foobar.id
    }
  }

  helpers {
    devtmpfs_automount = false
    distro = false
    modules_dep = false
    network = false
    updatedb_disabled = false
  }

  interface {
    purpose = "public"
  }

  kernel = "linode/latest-32bit"
  memory_limit = 513
  root_device = "/dev/sdb"
  virt_mode = "fullvirt"

  booted = true
}
```

```bash
make apply
```

Then change something about the config like the Interface

```terraform
  interface {
    purpose = "vlan"
    label = "cooler"
    ipam_address = "10.0.0.3/24"
  }
```

Then apply again and see that the instance Reboots.
)

Bumps [github.com/hashicorp/terraform-plugin-framework](https://github.com/hashicorp/terraform-plugin-framework) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/hashicorp/terraform-plugin-framework/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-framework/blob/main/CHANGELOG.md)
- [Commits](hashicorp/terraform-plugin-framework@v1.6.1...v1.7.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-framework
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Allow import linode_user; use ID in CRUD operations

* oops
* POC: Run read API requests concurrently

* oops

* reorder

* Implement on linode_instance_config
…ources (#1371)

* Add site_type field to linode_region and linode_regions

* Update unit tests

* Bump linodego -> v1.32.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.22.0 to 0.23.0.
- [Commits](golang/net@v0.22.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
)

* Normalize debug logs; drop redundant logs

* final
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.23.0 to 0.24.0.
- [Commits](golang/net@v0.23.0...v0.24.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
## 📝 Description

**What does this PR do and why is this change necessary?**

Updates to use githubs built in release notes and using the following labels.

`**NOTE**: The labeler job is dry running on the PR to show what it will do, doesn't execute until we merge.`

### ⚠️  Breaking Change
breaking-change: any changes that break end users or downstream workflows
### 🐛 Bug Fixes
bugfix: changes that fix a existing bug
### 🚀 New Features
new-feature: changes that add new features such as endpoints or tools
### 💡 Improvements
improvement: changes that improve existing features or reflect small API changes
### 🧪 Testing Improvements
testing: improvements to the testing workflows
### ⚙️  Repo/CI Improvements
repo-ci-improvement: improvements to the CI workflow, like this PR!
### 📖 Documentation
documentation: updates to the package/repo documentation or wiki
### 📦 Dependency Updates
dependencies: Used by dependabot mostly
### Ignore For Release
ignore-for-release: for PRs you dont want rendered in the changelog, usually the release merge to main
…on options (#1378)

* Bring provider docs to parity with provider configuration options

* fix lint
… system (#1366)

* rebase

* adding back batch.go

* clean up makefile and fix unit test

* add dbaas tag and fix spelling in tests

* address pr comments

* address pr comments

* make format
@lgarber-akamai lgarber-akamai requested a review from a team as a code owner April 9, 2024 17:05
@lgarber-akamai lgarber-akamai requested review from jriddle-linode and ykim-akamai and removed request for a team April 9, 2024 17:05
@lgarber-akamai lgarber-akamai merged commit 4ab3fca into main Apr 9, 2024
9 of 10 checks passed
@jriddle-linode jriddle-linode added the ignore-for-release PRs you do not want to render in the changelog label Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ignore-for-release PRs you do not want to render in the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants