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

ci: transitioning action version from node 16 to node 20 #8071

Merged
merged 5 commits into from
Apr 16, 2024

Conversation

Signed-off-by: husharp <[email protected]>
Copy link
Contributor

ti-chi-bot bot commented Apr 16, 2024

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • nolouch
  • rleungx

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

The full list of commands accepted by this bot can be found here.

Reviewer can indicate their review by submitting an approval review.
Reviewer can cancel approval by submitting a request changes review.

Copy link
Contributor

ti-chi-bot bot commented Apr 16, 2024

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@ti-chi-bot ti-chi-bot bot added release-note-none Denotes a PR that doesn't merit a release note. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. labels Apr 16, 2024
@ti-chi-bot ti-chi-bot bot requested a review from JmPotato April 16, 2024 02:58
@ti-chi-bot ti-chi-bot bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Apr 16, 2024
Signed-off-by: husharp <[email protected]>
@HuSharp HuSharp removed the request for review from JmPotato April 16, 2024 03:04
@ti-chi-bot ti-chi-bot bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Apr 16, 2024
Copy link

codecov bot commented Apr 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.34%. Comparing base (22543a9) to head (c04dca0).
Report is 245 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8071      +/-   ##
==========================================
+ Coverage   77.28%   77.34%   +0.06%     
==========================================
  Files         469      469              
  Lines       61097    61097              
==========================================
+ Hits        47218    47255      +37     
+ Misses      10325    10284      -41     
- Partials     3554     3558       +4     
Flag Coverage Δ
unittests 77.34% <ø> (+0.06%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

@HuSharp HuSharp force-pushed the update_node16_to_20 branch 2 times, most recently from 5b1cc8c to 16a8b73 Compare April 16, 2024 03:52
Signed-off-by: husharp <[email protected]>
@HuSharp HuSharp marked this pull request as ready for review April 16, 2024 05:31
@ti-chi-bot ti-chi-bot bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Apr 16, 2024
Comment on lines +60 to +61
pattern: cover-reports-*
merge-multiple: true
Copy link
Member Author

@HuSharp HuSharp Apr 16, 2024

Choose a reason for hiding this comment

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

added because
https://github.com/actions/upload-artifact/blob/ef09cdac3e2d3e60d8ccadda691f4f1cec5035cb/docs/MIGRATION.md#multiple-uploads-to-the-same-named-artifact

  • the pattern: input will filter the downloaded Artifacts to match the name specified.
  • the merge-multiple: input will support downloading multiple Artifacts to the same directory.

Comment on lines -40 to -45
path: |
~/go/pkg/mod
~/.cache/go-build
**/.tools
**/.dashboard_download_cache
key: ${{ runner.os }}-go-${{ matrix.worker_id }}-${{ hashFiles('**/go.sum') }}
Copy link
Member Author

@HuSharp HuSharp Apr 16, 2024

Choose a reason for hiding this comment

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

removed because have cached in setup actions/cache#1104 (comment)

Otherwise, we will meet error
image

Comment on lines 11 to +13
- name: Checkout code
uses: actions/checkout@v3
- name: Restore cache
uses: actions/cache@v3
uses: actions/checkout@v4
- uses: actions/setup-go@v5
Copy link
Member Author

Choose a reason for hiding this comment

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

change the checkout and setup place because actions/setup-node#624 (comment)

Comment on lines -17 to -25
uses: actions/cache@v3
uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
path: |
~/go/pkg/mod
~/.cache/go-build
**/.dashboard_download_cache
key: ${{ runner.os }}-golang-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-golang
Copy link
Member Author

@HuSharp HuSharp Apr 16, 2024

Choose a reason for hiding this comment

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

removed because have cached in setup actions/cache#1104 (comment)

@HuSharp HuSharp requested a review from JmPotato April 16, 2024 05:48
@ti-chi-bot ti-chi-bot bot added the status/LGT1 Indicates that a PR has LGTM 1. label Apr 16, 2024
@HuSharp HuSharp added the type/cherry-pick-for-release-6.1 This PR is cherry-picked to release-6.1 from a source PR. label Sep 13, 2024
@ti-chi-bot ti-chi-bot bot added needs-cherry-pick-release-7.1 Should cherry pick this PR to release-7.1 branch. needs-cherry-pick-release-6.5 Should cherry pick this PR to release-6.5 branch. needs-cherry-pick-release-6.1 Should cherry pick this PR to release-6.1 branch. labels Sep 13, 2024
ti-chi-bot pushed a commit to ti-chi-bot/pd that referenced this pull request Sep 13, 2024
@ti-chi-bot
Copy link
Member

In response to a cherrypick label: new pull request created to branch release-7.1: #8626.

@ti-chi-bot
Copy link
Member

In response to a cherrypick label: new pull request created to branch release-6.1: #8627.

@ti-chi-bot
Copy link
Member

In response to a cherrypick label: new pull request created to branch release-6.5: #8628.

ti-chi-bot pushed a commit to ti-chi-bot/pd that referenced this pull request Sep 13, 2024
@ti-chi-bot ti-chi-bot bot added the needs-cherry-pick-release-7.5 Should cherry pick this PR to release-7.5 branch. label Sep 13, 2024
@ti-chi-bot
Copy link
Member

In response to a cherrypick label: new pull request created to branch release-7.5: #8629.

ti-chi-bot bot pushed a commit that referenced this pull request Sep 13, 2024
@ti-chi-bot ti-chi-bot bot added the needs-cherry-pick-release-8.1 Should cherry pick this PR to release-8.1 branch. label Sep 14, 2024
@ti-chi-bot
Copy link
Member

In response to a cherrypick label: new pull request created to branch release-8.1: #8631.

ti-chi-bot bot pushed a commit that referenced this pull request Sep 14, 2024
ti-chi-bot bot pushed a commit that referenced this pull request Sep 14, 2024
@ti-chi-bot ti-chi-bot removed type/cherry-pick-for-release-5.4 This PR is cherry-picked to release-5.4 from a source PR. type/cherry-pick-for-release-6.1 This PR is cherry-picked to release-6.1 from a source PR. labels Sep 14, 2024
ti-chi-bot bot pushed a commit that referenced this pull request Sep 14, 2024
ti-chi-bot bot pushed a commit that referenced this pull request Sep 14, 2024
@HuSharp HuSharp added the type/cherry-pick-for-release-6.1 This PR is cherry-picked to release-6.1 from a source PR. label Sep 14, 2024
@ti-chi-bot ti-chi-bot bot removed the type/cherry-pick-for-release-6.1 This PR is cherry-picked to release-6.1 from a source PR. label Sep 14, 2024
Copy link
Contributor

ti-chi-bot bot commented Sep 14, 2024

@HuSharp: You cannot manually add or delete the cherry pick branch category labels. It will be added automatically by bot when the PR is created.

In response to adding label named type/cherry-pick-for-release-6.1.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository.

ti-chi-bot bot pushed a commit that referenced this pull request Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-cherry-pick-release-6.1 Should cherry pick this PR to release-6.1 branch. needs-cherry-pick-release-6.5 Should cherry pick this PR to release-6.5 branch. needs-cherry-pick-release-7.1 Should cherry pick this PR to release-7.1 branch. needs-cherry-pick-release-7.5 Should cherry pick this PR to release-7.5 branch. needs-cherry-pick-release-8.1 Should cherry pick this PR to release-8.1 branch. release-note-none Denotes a PR that doesn't merit a release note. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ci: transitioning action version from node 16 to node 20
4 participants