Skip to content

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

Merged
rwgk merged 1 commit into
NVIDIA:mainfrom
carterbox:dching/fetch-mini-ctk-hash
Apr 24, 2025
Merged

CI: Remove fetch_ctk component hardcoding and add hash to filename#575
rwgk merged 1 commit into
NVIDIA:mainfrom
carterbox:dching/fetch-mini-ctk-hash

Conversation

@carterbox

@carterbox carterbox commented Apr 23, 2025

Copy link
Copy Markdown
Contributor

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-pr-bot

copy-pr-bot Bot commented Apr 23, 2025

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor Author

/ok to test 56ffaef

@github-actions

This comment has been minimized.

@carterbox

Copy link
Copy Markdown
Contributor Author

@leofang, please review

@carterbox

Copy link
Copy Markdown
Contributor Author

@cryos, please review?

@cryos cryos left a comment

Copy link
Copy Markdown
Collaborator

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
Comment thread .github/actions/fetch_ctk/action.yml
@carterbox

Copy link
Copy Markdown
Contributor Author

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

@rwgk rwgk merged commit d695bfe into NVIDIA:main Apr 24, 2025
@rwgk

rwgk commented Apr 24, 2025

Copy link
Copy Markdown
Contributor

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

Done :-)

@github-actions

Copy link
Copy Markdown
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