Skip to content

Latest commit

 

History

History
387 lines (241 loc) · 25 KB

CHANGELOG.md

File metadata and controls

387 lines (241 loc) · 25 KB

Changelog

All notable changes to this project will be documented in this file.

v1.0.0-beta

  • SUP-1394 Add validation to provider_settings [PR #387] @jradtilbrook

Unreleased

  • retryContextError util resource switch [PR #394] @james2791
  • SUP-805: SUP-805: Team resource retries [PR #360] @james2791
  • SUP-1392: Random test suite names in tests/t.Run() conversion [PR #376] @james2791
  • SUP-1374 Add timeout to provider and cluster datasource [PR #363] @jradtilbrook
  • SUP-804: Retry pipeline_schedule api requests[PR #380] @lizrabuya
  • SUP-1374 Remove timeout context [PR #378] @jradtilbrook
  • SUP-1400: Test suite and test suite team (team suite) resource retries [PR #383] @james2791
  • SUP-1322: Team member resource retries [PR #381] @james2791
  • SUP-1402: Agent token resource retries [PR #382] @james2791
  • SUP-1399: Add retry to pipeline team resource [PR #384] @lizrabuya
  • SUP-1401: Cluster Queue and Cluster Agent Token resource retries [PR #388] @james2791
  • SUP-1361: Add timeouts to pipeline resource api [PR #385] @lizrabuya
  • SUP-1393 Detect repository provider type [PR #386] @jradtilbrook
  • SUP-1405: Fix dangling team resources created in tests [PR #389] @lizrabuya

Changes

This release introduces a default timeout for all CRUD operations on resources of 30 seconds. You can override this using the timeout attribute of the provider configuration block.

  • SUP-1375 Use context everywhere [PR #362] @jradtilbrook
  • SUP-1319: Removal of archive_on_delete from pipeline resource [PR #369] @james2791
  • SUP-1383 Fix teams block bug in v0.25.0 [PR #370] @jradtilbrook
  • SUP-1320 Remove deletion_protection from pipeline resource [PR #373] @lizrabuya
  • SUP-1337 Remove org settings resource [PR #368] @lizrabuya
  • SUP-1380 Use ID for Cluster importing [PR #372] @mcncl
  • SUP-1388 Implement planmodifier.String for slugs [PR #374] @jradtilbrook

Changes

The archive_on_delete attribute has been removed from the buildkite_pipeline resource in this release. Please use the provider configuration archive_pipeline_on_delete instead.

The deletion_protection attribute has also been removed from the buildkite_pipeline resource in this release. This feature offers similar functionality to lifecycles which are supported by Terraform.

  • Move archive pipeline config to provider [PR #354] @jradtilbrook
  • SUP-1076 Convert testing to framework [PR #361] @jradtilbrook
    • SUP-1076 Move Cluster tests to use t.Run [PR #365] @mcncl
  • SUP-1368 Fix pipeline resource update [PR #359] @lizrabuya
  • SUP-1307: Implement Pipeline Team Resource[PR #351] @lizrabuya

This release implements the buildkite_pipeline_team resource to create and manage team configuration in a pipeline. Tests have also been refactored to use Framework from SDKv2.

  • SUP-1068 Migrate pipeline resource to framework [PR #345] @jradtilbrook
  • Bump github.com/hashicorp/terraform-plugin-framework from 1.3.3 to 1.3.4 [PR #349]
  • Bump github.com/hashicorp/terraform-plugin-framework-validators [PR #350]
  • refactor 🧹: Refactor templates to use Conventional Commits[PR #348] @mcncl

This release migrates buildkite_pipeline to the terraform plugin framework. Every effort was made to maintain backwards compatibility with the provider. Due to these changes, there are some transparent changes to the state file. This should not cause any errors for end-users, however if you find a problem, please raise an issue.

Added

  • SUP-1305: Test Suite Team Resource addition [PR #346] @james2791
  • SUP-1301: Deletion protection deprecation warning [PR #342] @mcncl

Fixed

  • Fixed a bug in buildkite_test_suite resources where team_owner_id could be set to the access_level instead @james2791 @jradtilbrook

Forthcoming Changes

deletion_protection is being deprecated and will be removed in a future release (v1). This feature offers similar functionality to lifecycles which are supported by Terraform.

Added

  • SUP-1281: Pipeline resource ReadPipeline conversion to Genqlient[PR #319] @james2791
  • Convert CreatePipeline to genqlient [PR #334] @jradtilbrook
  • SUP-196: Pipeline Schedule GraphQL transition [PR #339] @james2791
  • Add buildkite_test_suite resource [PR #327] @jradtilbrook

Forthcoming Changes

deletion_protection is being deprecated and will be removed in a future release (v1). This feature offers similar functionality to lifecycles which are supported by Terraform.

Fixed

  • Make descriptions not required on Team [PR #331] @mcncl
  • Set pipeline_schedule enabled=true [PR #332] @jradtilbrook

Fixed

  • Fix: goreleaser and Terraform manifest [PR #330] @james2791

Added

  • SUP-1052: Migrate Pipeline Schedule resource to Genqlient/Framework [PR #320] @lizrabuya
  • Migrate organization datasource to plugin framework [PR #304] @jradtilbrook
  • SUP-1051: Team Member resource Framework/Genqlient conversion [PR #313] @james2791
  • SUP-1067: Organization resource conversion to Framework[PR #311] @james2791
  • SUP-1063 Convert meta datasource to framework [PR #314] @jradtilbrook
  • SUP-1065: Pipeline Datasource conversion to Framework [PR #315] @james2791
  • Convert DeletePipeline to genqlient [PR #317] @jradtilbrook
  • SUP-1049 Migrate Team to framework & Genqlient [PR #318] @mcncl

Forthcoming changes

This release deprecates the buildkite_organization_settings resource. In a future minor release, we will remove this resource in favour of the newer buildkite_organization resource that aligns with the datasource of the same name.

PR #318 introduces a change to make it easier to use data-sources with Teams; both slug and id are now accepted as arguments. Only one of either slug or id should be set in order to use the data.buildkite_team data-source.

Added

  • Support option to archive on delete [PR #296] @mcncl
  • SUP-1085: Cluster Queue resource implementation [PR #297] @james2791
  • SUP-1084 Add Cluster resource [PR #301] @mcncl
  • Add cluster datasource [PR #303] @jradtilbrook
  • SUP-1086 Add cluster agent token resource [PR #309] @lizrabuya

Fixed

  • SUP-270 Fix branch_configuration updating to empty string [PR #298] @jradtilbrook

Added

  • Consistent naming for environment variables [PR #290] @mcncl

Fixed

  • Support TF version < 0.15.4 [PR #294] @mcncl

Added

  • SUP-202 Add graphql example queries for finding import IDs [PR #280] @james2791 @jradtilbrook
  • SUP-1072 Create new provider using framework plugin [PR #286] @jradtilbrook
  • SUP-1066 Migrate agent token to framework [PR #289] @jradtilbrook
  • Omit empty buildRetentionEnabled input [PR #291] @jradtilbrook

Breaking changes

This release removes the ability to import Agent tokens.
As per https://buildkite.com/changelog/207-agent-token-being-deprecated-from-graphql-apis, it will soon not be possible to read the agent token value after creation, making importing Agent tokens impossible.

Note: If you are using an earlier version than v0.19.0 after the change above occurs, you will likely see an unexpected diff in your terraform plans. Upon state refresh, the token values will be emptied out which could trigger other dependent resources to change. It is highly recommended to upgrade to v0.19.0 prior to avoid this happening.

Fixed

  • Pipelines resource Computed/Default nil values reversion [PR #277] @james2791
  • Allow pipeline to be removed from a cluster [PR #279] @jradtilbrook
  • Change default provider settings to match new pipeline [PR #282] @jradtilbrook

Added

  • Agent Token resource genqlient migration & adjustment [PR #281] @james2791

Added

  • DOCS fmt [PR #271] @mattclegg
  • Add PR/issue templates [PR #272] @jradtilbrook
  • Add bug report issue template [PR #273] @jradtilbrook
  • Use gotestsum for running and reporting tests [PR #274] @jradtilbrook
  • Remove Computed values from Pipeline where not required [PR #275] @mcncl
  • SUP-995: Changelog updates, v0.18.0 release prep [PR #276] @james2791

Fixed

  • Fixed issues when bumping genqlient from 0.4.0 to 0.6.0 [PR #278] @lizrabuya

Fixed

  • SUP-906/Fix: Adjustment of README version, Pipeline Argument Reference amendments [PR #269] @james2791

Added

  • SUP-707: Pipeline resource's steps made optional, default pipeline upload step [PR #265] @james2791
  • Update the paths where we load environment variables from [PR #266] @yob

Added

  • Allow release pipeline to pull from private ECR registry [PR #258] @ellsclytn
  • Set User-Agent header on both REST and graphql requests [PR #259] @yob
  • Update terraform SDKv2 to the latest version [PR #261] @yob
  • Run go mod tidy [PR #262] @yob
  • SUP-819 Retrieve org id only once in provider configuration [PR #263] @jradtilbrook
  • SUP-820 Pull latest 1.4 version terraform from docker image [PR #264] @jradtilbrook

Added

  • Don't include null body in GET requests [PR #254] @nhurden
  • Set User-Agent header in client [PR #256] @danstn

Added

  • Update Go and the package dependendies (inc SUP-841) [PR #240] @mcncl
  • SUP-857 Manually update go getter & deps [PR #246] @mcncl
  • Add documentation around plugin override for local dev [PR #247] @mcncl
  • SUP-838 Ensure CI passes/fails correctly [PR #248] @jradtilbrook
  • SUP-866 Add deletion protection for a pipeline [PR #250] @mcncl

Fixed

  • SUP-770 Fix panic in GetOrganizationID [PR #249] @jradtilbrook

Added

  • Add a reviewer to dependabot PRs [PR #236] @yob
  • Add support for timeout settings. [PR #238] @mcncl

Added

  • Add organization_settings documentation [PR #237] @mcncl

Added

  • Added Organisational settings [PR #230] @mcncl
  • Documentation had fallen out of sync due to lack of tag use. This change in the version includes a tag bump in order to merge documentation changes/improvements in to the provider page.

  • GraphQL demo with Khan/genqlient [PR #205] @jradtilbrook
  • Add allow_rebuilds documentation. Grammar. [#PR 208] @jmctune
  • SUP-191 Generate test coverage [PR #206] @jradtilbrook
  • Add arch command for agnostic support of architecture in build command [PR #228] @mcncl
  • Update version and tag so that documentation is merged in to provider [PR #229] @mcncl

Added

  • Allow configuring API endpoints [PR #202] @jradtilbrook

Added

  • Allow tests to run on PRs [PR #197] @jradtilbrook

Fixed

  • Fix cluster support [#PR 200] @jradtilbrook

Added

  • Add team data source [PR #190] @margueritepd
  • add support for tags [PR #186] @mhornbacher
  • Add allow rebuilds to pipeline resource [#PR 193] @jradtilbrook

Added

  • Add cluster_id argument to pipeline resource [PR #181] @kate-syberspace

Fixed

  • Brought back build target for darwin/arm64 [PR #189] @mhornbacher

Added

  • buildkite_team_member resource: Manage organisation team membership [PR #173] @jradtilbrook Bump Golang to 1.17.3
  • Pipeline resource: Add build_pull_request_labels_changed property [PR #164] @hadusam

Fixed

  • Fixed typo in pipeline docs [PR #172] @RussellRollins
  • Added cancel_deleted_branch_builds to pipeline docs [PR #160] @keith

Added

  • pipeline resource: Add badge_url property [PR #151] @JPScutt
  • pipeline resource: Add filter_condition and filter_enabled to provider_settings [PR #157] @gu-kevin

Fixed

  • Improved documentation for pipeline resource [PR #145] [PR #146] @jlisee
  • Improved error when an unrecognised team slug is used in pipeline resource [PR #155] @yob
  • Improved error message when an unrecognised ID is used while importing a pipeline schedule [PR #144] @yob

Added

  • buildkite_meta data source for fetching the IP addresses Buildkite uses for webhooks [PR #136] @yob

Added

  • buildkite_pipeline resource can now manage provider settings (which webhooks to build on, etc) [PR #123] @vgrigoruk

Changed

  • buildkite_pipeline resource: use 'Computed: true' for attributes that are initialized on backend [PR #125] @vgrigoruk
    • when these properties are unspecified in terraform, default values are left to Buildkite to define

Added

  • New buildkite_pipeline data source [PR #106] @yob

Changed

  • Add darwin/arm64 (M1 systems) to the build matrix [PR #104] @yob
  • The following resources and data sources can now be used by API tokens that belong to non administrators, provided the token belongs to a user who has team maintainer permissions [PR #112] @chloeruka @yob
    • buildkite_pipeline resource
    • buildkite_pipeline data source
    • buildkite_pipeline_schedule resource
  • All resources and data sources now have acceptance tests [many PRs] @chloeruka @yob

Added

  • New pipeline_schedule resource [PR #87] @vgrigoruk

Changed

  • Require terraform 0.13 or greater [PR #89] @vgrigoruk
  • Add PowerPC 64 LE to the build matrix [PR #92] @runlevel5
  • No code changes from 0.0.16 - just the first release signed by a buildkite gpg key that will be available in the terraform registry as buildkite/buildkite.