Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inform users when a new version is available #883

Open
rquadling opened this issue Aug 21, 2020 · 2 comments · May be fixed by #1735
Open

Inform users when a new version is available #883

rquadling opened this issue Aug 21, 2020 · 2 comments · May be fixed by #1735

Comments

@rquadling
Copy link
Contributor

Running 0.17 via pre-commit-terraform on a 0.13 terraform setup says that the variable validation is experimental which it isn't in terraform 0.13.

It would be useful to know have tflint inform us of a new version as it is not always easy to remember what tools work with what version.

Terraform lets you know of a new release even though you haven't update terraform. That pattern would be extremely useful.

@bendrucker
Copy link
Member

FWIW Terraform tells you this only when you run terraform version, and it looks like this:

Your version of Terraform is out of date! The latest version
is 0.13.0. You can update by downloading from https://www.terraform.io/downloads.html

That much definitely seems doable/useful, via a GitHub releases API call, with a download link. Is that what you have in mind?

@rquadling
Copy link
Contributor Author

rquadling commented Aug 25, 2020

Exactly what I poorly described.

Each week I run a container build including a load of tools (some of which can only supply the latest build, no versioning). The pipeline then checks what's new (essentially running the --version check on the installed code) and reports back what has changed.

I then create tickets to do the upgrades of the codebases that require that tool. This way, I'm in control of what tools are used in the pipelines AND I get notified when there's a change.

This provides a far saner approach than "just install the latest in the pipeline" or doing nothing and then being years out of date.

@bendrucker bendrucker changed the title Version checking. Inform users when a new version is available Oct 10, 2020
@uthark uthark linked a pull request Apr 5, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

3 participants