github taiidani/terraform-provider-jenkins v0.11.0

5 months ago

Breaking Changes

This release begins the provider migration from SDKv2 to the new Plugin Framework. As part of this, the minimum Terraform requirement has increased to 1.0+. Please update your tooling accordingly before upgrading to this version.

The deprecated parameters property on the jenkins_job resource has been removed. Please migrate your TF to use Terraform's native templatefile function instead.

Warning

This is a large refactoring of the codebase. Instability and migration issues may be encountered. Please report them as you encounter them, and feel free to contribute a Pull Request!

Framework

This release introduces the Terraform Plugin Framework. This framework dramatically changes how both data sources and resources are written. The following items have been migrated already:

  • credential_username Data Source
  • credential_vault_approle Data Source
  • folder Data Source
  • job Data Source
  • view Data Source
  • credential_azure_service_principal Resource
  • credential_secret_file Resource
  • credential_secret_text Resource
  • credential_ssh Resource
  • credential_username Resource
  • credential_vault_approle Resource
  • folder Resource
  • job Resource
  • view Resource

Additional items will be migrated as confidence increases in the new framework.

New Resources

The jenkins_view data source and resource were added in this release.

The jenkins_aws_credentials data source and resource were added in this release.

Docs Generation

Automatic documentation generation is being introduced, rendering templates stored in the resource definitions and templates/ folder into the docs/ folder. Authors will not need to write any documentation for new resources -- a template will automatically be rendered from the schema -- but will now need to run make generate before PRing their changes.

Example Installation Refactored

The example Docker Compose installation provided for developers encountered a name conflict with the documentation generation (which expects an examples/ folder) and was renamed from example/ to integration/.

The terraform test framework was configured into the new integration/ folder, expanding the available ways that integration testing can be performed. This framework requires Terraform 1.6+ for contributors to run.

What's Changed

  • Build forward compatibility for terraform-plugin-framework by @taiidani in #141
  • Migrate acceptance tests to new testing framework by @taiidani in #142
  • Address env var default mismatch by @taiidani in #143
  • Add mux to all acceptance tests, forward compatibility by @taiidani in #144
  • Introducing docs generation by @taiidani in #146
  • Migrate Username credential to Plugin Framework by @taiidani in #145
  • Add data source and resource Jenkins Views by @naitmare01 in #148
  • Set up terraform test on integration tests by @taiidani in #161
  • Bump the combined group with 5 updates by @dependabot[bot] in #158
  • Bump Go to 1.20 by @taiidani in #162
  • Bump the gha group with 3 updates by @dependabot[bot] in #163
  • Migrate Vault AppRole to Framework by @taiidani in #165
  • Reduce code duplication in Framework by @taiidani in #167
  • Bump the gomod group with 1 update by @dependabot[bot] in #164
  • Bump golang.org/x/net from 0.13.0 to 0.17.0 by @dependabot[bot] in #166
  • Migrate Azure Service Principal to Framework by @taiidani in #168
  • Migrate secret file credential to Framework by @taiidani in #169
  • Reduce duplication in Import block by @taiidani in #170
  • Migrate secret text credential to Framework by @taiidani in #171
  • Migrate SSH credential to Framework by @taiidani in #172
  • Migrate View Resource & Data Source to Framework by @taiidani in #173
  • Address Failing Integration Test by @taiidani in #195
  • Upgrade all Go dependencies by @taiidani in #194
  • Remove deprecated job "parameters" property by @taiidani in #197
  • Bump the gha group with 5 updates by @dependabot[bot] in #196
  • Bump the tools group in /tools with 1 update by @dependabot[bot] in #198
  • Bump the integration group in /integration with 1 update by @dependabot[bot] in #188
  • Allowing custom descriptions for resources by @taiidani in #200
  • Decouple the folder resource from the job resource by @taiidani in #201
  • Ensure resource names cannot include path characters by @taiidani in #202
  • Migrate job data-source to Framework by @taiidani in #203
  • Add integration test assertions for folders by @taiidani in #204
  • Migrate folder data-source to Framework by @taiidani in #205
  • Bump the gha group across 1 directory with 2 updates by @dependabot[bot] in #224
  • Adding jenkins_credential_aws resource and datasource by @sharon-raphael in #240
  • Introduce mise for standardized tool installs by @taiidani in #241
  • Bumping Go dependencies by @taiidani in #242
  • Bump github.com/hashicorp/terraform-plugin-testing from 1.6.0 to 1.13.3 in the gomod group across 1 directory by @dependabot[bot] in #244
  • Bump the integration group across 1 directory with 2 updates by @dependabot[bot] in #236
  • Bump github.com/hashicorp/terraform-plugin-docs from 0.18.0 to 0.19.4 in /tools in the tools group across 1 directory by @dependabot[bot] in #223
  • Bump the gha group across 1 directory with 3 updates by @dependabot[bot] in #243

New Contributors

Full Changelog: v0.10.2...v0.11.0

Don't miss a new terraform-provider-jenkins release

NewReleases is sending notifications on new releases.