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 <jinhao.hu@pingcap.com>
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 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 <jinhao.hu@pingcap.com>
@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

Merging #8071 (07dd253) into master (22543a9) will increase coverage by 0.01%.
The diff coverage is n/a.

❗ Current head 07dd253 differs from pull request most recent head c04dca0. Consider uploading reports for the commit c04dca0 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8071      +/-   ##
==========================================
+ Coverage   77.28%   77.30%   +0.01%     
==========================================
  Files         469      469              
  Lines       61097    61097              
==========================================
+ Hits        47218    47229      +11     
+ Misses      10325    10302      -23     
- Partials     3554     3566      +12     
Flag Coverage Δ
unittests 77.30% <ø> (+0.01%) ⬆️

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 <jinhao.hu@pingcap.com>
@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
@ti-chi-bot ti-chi-bot bot added status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels Apr 16, 2024
@HuSharp
Copy link
Member Author

HuSharp commented Apr 16, 2024

/merge

Copy link
Contributor

ti-chi-bot bot commented Apr 16, 2024

@HuSharp: It seems you want to merge this PR, I will help you trigger all the tests:

/run-all-tests

You only need to trigger /merge once, and if the CI test fails, you just re-trigger the test that failed and the bot will merge the PR for you after the CI passes.

If you have any questions about the PR merge process, please refer to pr process.

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.

Copy link
Contributor

ti-chi-bot bot commented Apr 16, 2024

This pull request has been accepted and is ready to merge.

Commit hash: 07dd253

@ti-chi-bot ti-chi-bot bot added the status/can-merge Indicates a PR has been approved by a committer. label Apr 16, 2024
Copy link
Contributor

ti-chi-bot bot commented Apr 16, 2024

@HuSharp: Your PR was out of date, I have automatically updated it for you.

If the CI test fails, you just re-trigger the test that failed and the bot will merge the PR for you after the CI passes.

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 ti-chi-bot bot merged commit acbb9af into tikv:master Apr 16, 2024
22 checks passed
@HuSharp HuSharp deleted the update_node16_to_20 branch April 16, 2024 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note-none 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
3 participants