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

Use different path pattern for caching certificates #2761

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

NotTheEvilOne
Copy link
Contributor

What this PR does / why we need it:
This PR adds support for symlinked cert directories like used for gardenlinux-ccloud.

Which issue(s) this PR fixes:
Fixes gardenlinux/gardenlinux-ccloud#42

@NotTheEvilOne NotTheEvilOne requested a review from a team as a code owner February 23, 2025 12:14
@NotTheEvilOne NotTheEvilOne force-pushed the fix/support-symlinked-cert-directory branch 4 times, most recently from ac144de to 587c270 Compare February 23, 2025 14:37
@NotTheEvilOne NotTheEvilOne marked this pull request as draft February 23, 2025 15:35
@NotTheEvilOne NotTheEvilOne force-pushed the fix/support-symlinked-cert-directory branch 2 times, most recently from 3fab69f to 2f455cc Compare February 23, 2025 15:54
This change adds support for symlinked `cert` directories.

Signed-off-by: Tobias Wolf <[email protected]>
@NotTheEvilOne NotTheEvilOne force-pushed the fix/support-symlinked-cert-directory branch from 2f455cc to 4dbd8d7 Compare February 23, 2025 16:01
@NotTheEvilOne NotTheEvilOne marked this pull request as ready for review February 23, 2025 16:20
@NotTheEvilOne NotTheEvilOne requested a review from a team February 23, 2025 16:20
with:
path: cert
path: cert/*.*
Copy link
Contributor

Choose a reason for hiding this comment

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

thanks for taking care of this.

Interesting that this action references actions/toolkit but do not seem to expose the follow-symbolic-links feature, at least I could not find it in actions/cache repo.

Do you have a test run that you can link by any chance?

Otherwise looks good to me

Copy link
Contributor

@Vincinator Vincinator Feb 26, 2025

Choose a reason for hiding this comment

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

I would assume that cert/*.* would force the action to follow the symlinks via wildcard (implemented by mentioned https://github.com/actions/toolkit/tree/main/packages/glob)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Broken buildsystem
3 participants