Skip to content

Commit

Permalink
Omit empty buildRetentionEnabled input (#291)
Browse files Browse the repository at this point in the history
* Omit empty buildRetentionEnabled input

* Update changelog

* Update other versions
  • Loading branch information
jradtilbrook authored Jun 23, 2023
1 parent 7291497 commit b2bad78
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 20 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ All notable changes to this project will be documented in this file.

## Unreleased

## [v0.19.1](https://github.com/buildkite/terraform-provider-buildkite/compare/v0.19.0...v0.19.1)

* SUP-202 Add graphql example queries for finding import IDs [[PR #280](https://github.com/buildkite/terraform-provider-buildkite/pull/280)] @james2791 @jradtilbrook
* SUP-1072 Create new provider using framework plugin [[PR #286](https://github.com/buildkite/terraform-provider-buildkite/pull/286)] @jradtilbrook
* SUP-1066 Migrate agent token to framework [[PR #289](https://github.com/buildkite/terraform-provider-buildkite/pull/289)] @jradtilbrook
* Omit empty buildRetentionEnabled input [[PR #291](https://github.com/buildkite/terraform-provider-buildkite/pull/291)] @jradtilbrook

## [v0.19.0](https://github.com/buildkite/terraform-provider-buildkite/compare/v0.18.0...v0.19.0)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ terraform {
required_providers {
buildkite = {
source = "buildkite/buildkite"
version = "0.19.0"
version = "0.19.1"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion buildkite/generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions buildkite/graphql/pipeline.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ query getPipeline($slug: ID!) {

# @genqlient(for: "PipelineUpdateInput.clusterId", pointer: true)
# @genqlient(for: "PipelineUpdateInput.visibility", omitempty: true)
# @genqlient(for: "PipelineUpdateInput.buildRetentionEnabled", omitempty: true)
# @genqlient(for: "PipelineUpdateInput.buildRetentionPeriod", omitempty: true)
# @genqlient(for: "PipelineUpdateInput.buildRetentionNumber", omitempty: true)
# @genqlient(for: "PipelineUpdateInput.archived", omitempty: true)
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ terraform {
required_providers {
buildkite = {
source = "buildkite/buildkite"
version = "0.19.0"
version = "0.19.1"
}
}
}
Expand Down
34 changes: 17 additions & 17 deletions schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -546,33 +546,33 @@ union AuditSubjectNode =APIAccessToken | AgentToken | AuthorizationBitbucket | A

"""All the possible types of subjects in an Audit Event"""
enum AuditSubjectType {
TEAM_SUITE
SCM_SERVICE
SCM_PIPELINE_SETTINGS
SCM_REPOSITORY_HOST
SUITE_MONITOR
PIPELINE
PIPELINE_SCHEDULE
TEAM
SUITE
USER_EMAIL
USER_TOTP
SSO_PROVIDER
ORGANIZATION_MEMBER
USER
CLUSTER
CLUSTER_PERMISSION
AUTHORIZATION
SUBSCRIPTION
AGENT_TOKEN
API_ACCESS_TOKEN
CLUSTER_QUEUE
CLUSTER_TOKEN
NOTIFICATION_SERVICE
CLUSTER
ORGANIZATION
ORGANIZATION_INVITATION
SSO_PROVIDER
ORGANIZATION_MEMBER
PIPELINE_SCHEDULE
AUTHORIZATION
TEAM_MEMBER
TEAM
TEAM_SUITE
TEAM_PIPELINE
CLUSTER_PERMISSION
SCM_SERVICE
SCM_PIPELINE_SETTINGS
SCM_REPOSITORY_HOST
SUITE_MONITOR
SUITE
USER_EMAIL
SUBSCRIPTION
USER_TOTP
PIPELINE
}

"""Context for an audit event created during a web request"""
Expand Down

0 comments on commit b2bad78

Please sign in to comment.