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

feat: bump to use node20 runtime #346

Merged
merged 8 commits into from Oct 27, 2023
Merged

Conversation

chenrui333
Copy link
Contributor

@chenrui333 chenrui333 commented Sep 4, 2023

Closes #366

This is consistent with all the recent github action updates. (mostly in actions repos, like actions/checkout, actions/setup-node, etc.)


Node12 was deleted from runner. Node20 was added to Actions Runner on v2.308.0.
Node16 has en end of life on 11 Sep 2023.

This PR updates the default runtime to node20, rather then node16

relates to actions/runner#2732

@chenrui333 chenrui333 requested a review from a team as a code owner September 4, 2023 18:15
@chenrui333
Copy link
Contributor Author

needs a major version release after the PR merge

@chenrui333
Copy link
Contributor Author

cc @bendbennett , this is ready to go. 🙏

@chenrui333
Copy link
Contributor Author

cc @austinvalle

@chenrui333
Copy link
Contributor Author

I dont understand what is going on, can someone help take a look at this?

Copy link
Member

@austinvalle austinvalle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there @chenrui333 👋🏻 , apologies on the delay here. This PR overall LGTM, we'll need a changelog but I can PR those in.

We haven't cut a release of this action in almost a year, so I want to double check some other things, but I plan to merge this PR and release a v3.0.0 later this week.

@austinvalle austinvalle added this to the v3.0.0 milestone Oct 16, 2023
.github/workflows/continuous-integration.yml Outdated Show resolved Hide resolved
.github/workflows/continuous-integration.yml Outdated Show resolved Hide resolved
Signed-off-by: Rui Chen <rui@chenrui.dev>

fix action refs for `actions/reusable-workflows`

Signed-off-by: Rui Chen <rui@chenrui.dev>
Signed-off-by: Rui Chen <rui@chenrui.dev>
@chenrui333
Copy link
Contributor Author

@austinvalle updated the action refs and rebased to the latest master, also add the changelog entry. Let me know if it works better now. Thanks!

Signed-off-by: Rui Chen <rui@chenrui.dev>
@chenrui333
Copy link
Contributor Author

@austinvalle all green 🎉

Copy link
Member

@austinvalle austinvalle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I pushed a couple changes to the PR:

  • Reverted some of the changes to .github/workflows/continuous-integration.yml, unforuntately our GH organization is limited to specific SHA commits of workflows that are approved. These are managed by a separate system so I just kept the node upgrades 👍🏻
  • Switched the changelog entry to be a changie entry

Thanks for your patience and contribution @chenrui333! I'm going to be releasing v3.0.0 early next week once I merge a couple other PRs into setup-terraform

@austinvalle austinvalle merged commit 9507e1d into hashicorp:main Oct 27, 2023
57 checks passed
@chenrui333
Copy link
Contributor Author

LGTM, I pushed a couple changes to the PR:

  • Reverted some of the changes to .github/workflows/continuous-integration.yml, unforuntately our GH organization is limited to specific SHA commits of workflows that are approved. These are managed by a separate system so I just kept the node upgrades 👍🏻
  • Switched the changelog entry to be a changie entry

Thanks for your patience and contribution @chenrui333! I'm going to be releasing v3.0.0 early next week once I merge a couple other PRs into setup-terraform

Sounds good and thank you for getting this going!

@@ -0,0 +1,5 @@
kind: NOTES

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this not be a breaking change just like the last node update?
https://github.com/hashicorp/setup-terraform/blob/main/CHANGELOG.md?plain=1#L62-L64

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Besides this change would require newer runner versions, it should not break anything.

@chenrui333 chenrui333 deleted the node-20 branch November 8, 2023 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tf-devex-triage Terraform DevEx project tracking
Projects
None yet
Development

Successfully merging this pull request may close these issues.

github deprecated node16 actions, and node20 support is not yet in the roadmap for HashiCorps actions
3 participants