Skip to content

Releases: suzuki-shunsuke/tfcmt

v3.4.0-1

07 Aug 04:52
v3.4.0-1
48333ca
Compare
Choose a tag to compare
v3.4.0-1 Pre-release
Pre-release

Pull Requests | Issues | v3.3.0...v3.4.0-1

Features

#387 #390 Create comments to pull request instead of commit

GitHub no longer shows commit comments in the pull request timeline 1.

From v3.4.0, tfcmt gets a pull request from commit hash and creates a comment to not commit but associated pull request.
If there is no associated pull request, tfcmt sends a comment to commit.

Others

#392 Update Go from v1.18.4 to v1.18.5

Contributors

Thank you, Contributors!

@micnncim #387 #390

  1. https://github.blog/changelog/2022-08-04-commit-comments-no-longer-appear-in-the-pull-request-timeline/

v4.0.0-1

01 Aug 13:42
v4.0.0-1
Compare
Choose a tag to compare
v4.0.0-1 Pre-release
Pre-release

Pull Requests | Issues | v3.3.0...v4.0.0-1

#378

Changelog

  • 5efcbb9 fix: remove features to output environment variables for security

v3.3.0

25 Jul 23:53
v3.3.0
efda05c
Compare
Choose a tag to compare

Pull Requests | Issues | v3.2.5...v3.3.0

Features

#376 Support Google Cloud Build

Please set the environment variable GOOGLE_CLOUD_BUILD.

GOOGLE_CLOUD_BUILD=true

And please set the following environment variables using substitutions.

  • COMMIT_SHA
  • BUILD_ID
  • PROJECT_ID
  • _PR_NUMBER
  • _REGION

Please specify the repository owner and name in tfcmt.yaml.

e.g.

tfcmt.yaml

repo_owner: suzuki-shunsuke
repo_name: tfcmt

v3.3.0-0

25 Jul 08:39
v3.3.0-0
49bf91e
Compare
Choose a tag to compare
v3.3.0-0 Pre-release
Pre-release

Pull Requests | Issues | v3.2.5...v3.3.0-0

Features

#376 Support Google Cloud Build

Please set the environment variable GOOGLE_CLOUD_BUILD.

GOOGLE_CLOUD_BUILD=true

And please set the following environment variables using substitutions.

  • COMMIT_SHA
  • BUILD_ID
  • PROJECT_ID
  • _PR_NUMBER
  • _REGION

Please specify the repository owner and name in tfcmt.yaml.

e.g.

tfcmt.yaml

repo_owner: suzuki-shunsuke
repo_name: tfcmt

v4.0.0-0

24 Jul 05:23
v4.0.0-0
47a9cac
Compare
Choose a tag to compare
v4.0.0-0 Pre-release
Pre-release

Pull Requests | Issues | ...v4.0.0-0

Changelog

  • 47a9cac Merge branch 'main' into fix/prevent-output-env

v3.2.5

17 Jun 11:35
904dacc
Compare
Choose a tag to compare

Pull Requests | Issues | v3.2.4...v3.2.5

Others

#329 Windows Support 🎉

v3.2.5-0

17 Jun 11:30
904dacc
Compare
Choose a tag to compare
v3.2.5-0 Pre-release
Pre-release

Pull Requests | Issues | ...v3.2.5-0

Changelog

  • 904dacc Merge pull request #329 from suzuki-shunsuke/feat/windows-support

v3.2.4

09 Jun 02:39
a984929
Compare
Choose a tag to compare

Pull Requests | Issues | v3.2.3...v3.2.4

Bug Fixes

#317 Set os.Stdin when terraform command is run

This change allows you to run terraform apply without -auto-approve option.

AS IS

tfcmt apply -- terraform apply -no-color
null_resource.foo: Refreshing state... [id=8966706083595703589]

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  # null_resource.bar will be created
  + resource "null_resource" "bar" {
      + id = (known after apply)
    }

Plan: 1 to add, 0 to change, 0 to destroy.

Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: 
Error: error asking for approval: EOF
Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: 
Error: error asking for approval: EOF

TO BE

tfcmt apply -- terraform apply -no-color
null_resource.foo: Refreshing state... [id=8966706083595703589]

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  # null_resource.bar will be created
  + resource "null_resource" "bar" {
      + id = (known after apply)
    }

Plan: 1 to add, 0 to change, 0 to destroy.

Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes

null_resource.bar: Creating...
null_resource.bar: Creation complete after 0s [id=7780302426904623778]

Apply complete! Resources: 1 added, 0 changed, 0 destroyed.

v3.2.3

25 May 00:57
25b1e8b
Compare
Choose a tag to compare

Pull Requests | Issues | v3.2.2...v3.2.3

Bug Fixes

#300 #304 Fix the support of GitHub Enterprise. Support setting GitHub API v4 endpoint

https://suzuki-shunsuke.github.io/tfcmt/github-enterprise

To use tfcmt for GitHub Enterprise, please set the following fields in tfcmt.yaml.

e.g. tfcmt.yaml

ghe_base_url: https://example.com
ghe_graphql_endpoint: https://example.com/graphql

⚠️ I (@suzuki-shunsuke) don't use GitHub Enterprise, so I can't confirm if it works well for GitHub Enterprise.

v3.2.2

10 May 11:40
70d0d39
Compare
Choose a tag to compare

Pull Requests | Issues | v3.2.1...v3.2.2

Features

#288 (apply): Get the associated pull request with commit

The behavior of getting notification destination (pull request or commit) in tfcmt apply is improved.

AS IS

  1. Get pull request number from commit message
  2. Get SHA from previous commit

TO BE

  1. Get pull request number from associated pull request with GitHub API. https://docs.github.com/en/rest/commits/commits#list-pull-requests-associated-with-a-commit
  2. Get SHA from current commit

By getting associated pull request via GitHub API, this works even if the pull request was merged by squash merge.

Others

#279 Update Go to v1.18.1
#280 Update go-github to v43
#277 #278 #284 #287 Refactoring