Skip to content

Releases: taiidani/terraform-provider-jenkins

v0.11-alpha3

25 Feb 19:25
8abbec3
Compare
Choose a tag to compare

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.

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.

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

Full Changelog: v0.11-alpha2...v0.11-alpha3

v0.11-alpha2

12 Oct 07:30
37ab436
Compare
Choose a tag to compare
v0.11-alpha2 Pre-release
Pre-release

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.

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 alpha, and will be migrated to the Framework before final release. Thanks @naitmare01!

Docs Generation

Automatic documentation generation is being introduced, rendering templates stored in the templates/ folder into the docs/ folder. Note that authors will not need to write any documentation for new resources -- a template will automatically be rendered from the resource's schema.

As items are migrated from SDKv2 to the Plugin Framework, their documentation will be migrated as well. Until that time, all SDKv2 items have static docs stored in the templates/ folder.

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/.

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

What's Changed

Full Changelog: v0.11-alpha1...v0.11-alpha2

v0.11.0-alpha1

16 Jul 08:23
7189fb2
Compare
Choose a tag to compare
v0.11.0-alpha1 Pre-release
Pre-release

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.

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_username Resource

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

Docs Generation

Automatic documentation generation is being introduced, rendering templates stored in the templates/ folder into the docs/ folder. Note that authors will not need to write any documentation for new resources -- a template will automatically be rendered from the resource's schema.

As items are migrated from SDKv2 to the Plugin Framework, their documentation will be migrated as well. Until that time, all SDKv2 items will have static docs stored in the templates/ folder.

Example Installation Renamed

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/.

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

Full Changelog: v0.10.2...v0.11-alpha1

v0.10.2

06 Jul 22:37
18ed4eb
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.10.1...v0.10.2

v0.10.1

02 Apr 21:53
643fd89
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.10.0...v0.10.1

v0.10.0

14 Jan 23:05
337edfd
Compare
Choose a tag to compare

Upcoming Changes

This will be the last release using the Terraform Plugin SDKv2. An upcoming release will build against HashiCorp's newer Terraform Plugin Framework.

Notable Changes

  • Add new resource for jenkins_credential_azure_service_principal. Thanks @gitflo1!

What's Changed

New Contributors

Full Changelog: v0.9.3...v0.10.0

v0.9.3

19 Sep 05:29
dc48433
Compare
Choose a tag to compare

What's Changed

  • Bump Go to 1.19, Address deprecations by @taiidani in #98
  • Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.17.0 to 2.21.0 by @dependabot in #97
  • Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.21.0 to 2.22.0 by @dependabot in #99
  • Exempt enhancement label from stale by @taiidani in #100

Full Changelog: v0.9.2...v0.9.3

v0.9.2

05 Jun 20:13
435a98d
Compare
Choose a tag to compare

What's Changed

  • Bump goreleaser/goreleaser-action from 2 to 3 by @dependabot in #88
  • Bump golangci/golangci-lint-action from 3.1.0 to 3.2.0 by @dependabot in #86
  • Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.14.0 to 2.17.0 by @dependabot in #89

Full Changelog: v0.9.1...v0.9.2

v0.9.1

30 Apr 16:59
2af083e
Compare
Choose a tag to compare

Upcoming Changes

The Terraform Plugin SDKv2 is being deprecated soon, which will require a full rewrite of the library. An upcoming release will build against HashiCorp's newer Terraform Plugin Framework.

What's Changed

  • Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.7.1 to 2.8.0 by @dependabot in #66
  • Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.8.0 to 2.9.0 by @dependabot in #71
  • Add Namespace attribute for credential_vault_approle by @JVanAartsen in #69
  • Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.9.0 to 2.10.1 by @dependabot in #72
  • Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.10.1 to 2.11.0 by @dependabot in #76
  • Bump actions/checkout from 2 to 3 by @dependabot in #75
  • Bump golangci/golangci-lint-action from 2 to 3.1.0 by @dependabot in #74
  • Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.11.0 to 2.12.0 by @dependabot in #77
  • Remove Codecov by @taiidani in #82
  • Bump actions/stale from 4 to 5 by @dependabot in #79
  • Bump actions/setup-go from 2 to 3 by @dependabot in #80
  • Remove duplicate push target from CI by @taiidani in #83
  • Bump Go to 1.18 by @taiidani in #84
  • Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.12.0 to 2.14.0 by @dependabot in #81

New Contributors

Full Changelog: v0.9.0...v0.9.1

v0.9.0

15 Sep 16:35
f9d1b62
Compare
Choose a tag to compare

Notable Changes

  • Added ability to import jenkins_job resources (#57)
  • Deprecate parameters property in jenkins_job resource in favour of using Terraform's built-in template_file resource or templatefile (Terraform 0.12+) (#61)
  • Improve Jenkins XML config diff, by escaping HTML entities before the diff is generated to ensure only meaningful changes are shown (#63)

Changelog

f9d1b62 Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.7.0 to 2.7.1 (#64)
4b89d6f Unescape HTML entities during state diff (#63)
8d11b81 Deprecate jenkins_job 'parameters' property (#61)
3730a01 Fix typo in validations_test.go (#59)
bf7747c Add support for importing jenkins_job resource (#57)