Skip to content

CI: Remove fetch_ctk component hardcoding and add hash to filename #575

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

Merged
merged 1 commit into from
Apr 24, 2025

Conversation

carterbox
Copy link
Contributor

@carterbox carterbox commented Apr 23, 2025

Description

Makes API changes to the local fetch_ctk GitHub action, so that non-admin developers can choose which CTK components are installed into the environment.

The hash of the string of the provided CTK components is now appended to the filename so that changing the components will be a cache miss.

closes #571

Checklist

- [ ] New or existing tests cover these changes.
- [ ] The documentation is up to date with these changes.

There are no tests for the CI, and although I have added a description to the new parameter, there are no docs for the CI?

Copy link
Contributor

copy-pr-bot bot commented Apr 23, 2025

Auto-sync is disabled for ready for review pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@carterbox
Copy link
Contributor Author

/ok to test 56ffaef

This comment has been minimized.

@carterbox
Copy link
Contributor Author

@leofang, please review

@carterbox
Copy link
Contributor Author

@cryos, please review?

Copy link
Collaborator

@cryos cryos left a comment

Choose a reason for hiding this comment

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

This looks like a solid approach to me, I would say that the CI is self-testing - if this was not working then the builds and/or tests would very likely fail! Great use of defaults. Do we want to add the sanitizer to the default (not sure how much bigger it is) or should it be added to the test run that will use it?

@cryos cryos requested a review from leofang April 23, 2025 21:18
@carterbox
Copy link
Contributor Author

I don't have permission to merge anything in this repo.

@rwgk rwgk merged commit d695bfe into NVIDIA:main Apr 24, 2025
75 checks passed
@rwgk
Copy link
Collaborator

rwgk commented Apr 24, 2025

I don't have permission to merge anything in this repo.

Done :-)

Copy link

Doc Preview CI
Preview removed because the pull request was closed or merged.

@carterbox carterbox deleted the dching/fetch-mini-ctk-hash branch April 24, 2025 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CI: Make the fetch_ctk action take component names as input for caching purposes
4 participants