Skip to content

Commit

Permalink
Prep release 1.6.0 (#513)
Browse files Browse the repository at this point in the history
* chore(doc): Update README

Reflect the correct golang version

* Update API token link

* Update changelog

* Update release pipeline steps for new cluster

* Set cluster for acceptance test step

* Remove oss-deploy queue from CI pipeline

---------

Co-authored-by: Trung Lê <[email protected]>
  • Loading branch information
jradtilbrook and runlevel5 authored Apr 4, 2024
1 parent f3bd7e9 commit dfbf832
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 12 deletions.
8 changes: 7 additions & 1 deletion .buildkite/pipeline.release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,16 @@ steps:
- label: release
command: ".buildkite/steps/release.sh"
plugins:
- aws-assume-role-with-web-identity:
role-arn: arn:aws:iam::445615400570:role/pipeline-buildkite-terraform-provider-buildkite-release
- ecr#v2.3.0:
account-ids: "445615400570"
login: true
- aws-ssm#v1.0.0:
parameters:
GITHUB_TOKEN: /pipelines/buildkite/terraform-provider-buildkite-release/github-token
GPG_SECRET_KEY_BASE64: /pipelines/buildkite/terraform-provider-buildkite-release/gpg-secret-key-base64
- docker-compose#v2.2.0:
run: go
agents:
queue: "deploy"
queue: "oss-deploy"
16 changes: 8 additions & 8 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
steps:
- name: ":golangci-lint: lint"
- name: ":golangci-lint: lint"
key: lint
command : golangci-lint run --timeout 2m0s
plugins:
- docker#v5.9.0:
image: "golangci/golangci-lint:v1.54.1"
always-pull: true
volumes:
- "/.cache/golangci-lint/v1.54.1:/root/.cache"
image: "golangci/golangci-lint:v1.54.1"
always-pull: true
volumes:
- "/.cache/golangci-lint/v1.54.1:/root/.cache"
- label: vet
key: vet
command: "make vet"
plugins:
docker-compose#v3.9.0:
run: go
run: go

- label: test
key: test
command: "make test"
plugins:
docker-compose#v3.9.0:
run: go
run: go

- label: acceptance tests
key: testacc
Expand Down Expand Up @@ -51,4 +51,4 @@ steps:
- lint
- test
- testacc
- vet
- vet
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Changelog

# Unreleased changes
## [v1.6.0](https://github.com/buildkite/terraform-provider-buildkite/compare/v1.5.2...v1.6.0)
- Update tests resolving an error when `provider_settings` attribute is omitted or set to null [[PR #510](https://github.com/buildkite/terraform-provider-buildkite/pull/510)] @lizrabuya
- Bump docker/library/golang from 1.22.0 to 1.22.1 [[PR #511](https://github.com/buildkite/terraform-provider-buildkite/pull/511)] @lizrabuya
- SUP-2021 Add Test Suite Datasource [[PR #512](https://github.com/buildkite/terraform-provider-buildkite/pull/512)] @jradtilbrook

## [v1.5.2](https://github.com/buildkite/terraform-provider-buildkite/compare/v1.5.1...v1.5.2)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The provider allows you to manage resources in your Buildkite organization.

Two configuration values are required:

- An API token, generated at https://buildkite.com/user/api-access-tokens. The token must have the `write_pipelines`, `read_pipelines` and `write_suites` REST API scopes and be enabled for GraphQL API access.
- An API token, with `write_pipelines`, `read_pipelines` and `write_suites` REST API scopes and be enabled for GraphQL API access. You can generate one [here](https://buildkite.com/user/api-access-tokens/new?description=terraform&scopes[]=write_pipelines&scopes[]=write_suites&scopes[]=read_pipelines&scopes[]=graphql)
- A Buildkite organization slug, available by signing into buildkite.com and examining the URL: https://buildkite.com/<org-slug>.

## Documentation
Expand All @@ -28,7 +28,7 @@ Buildkite Terraform Provider is licensed under the MIT license.

Contributions are welcome.

If you wish to work on the provider, you'll first need Go installed on your machine (version 1.14+ is required). Dependencies are managed via gomodules and installed automatically as required.
If you wish to work on the provider, you'll first need Go installed on your machine (version 1.21+ is required). Dependencies are managed via gomodules and installed automatically as required.

To compile the provider:

Expand Down

0 comments on commit dfbf832

Please sign in to comment.