Skip to content

feat(k8s): add /github/home to containerAction mounts and surface createSecretForEnvs errors #181 #198

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 2 commits into from
Apr 14, 2025

Conversation

gbuskey
Copy link
Contributor

@gbuskey gbuskey commented Nov 27, 2024

Hi maintainers, this PR is meant to accomplish two things:

  1. Make the /github/home directory available from container actions, which is a path frequently relied on by actions creating files in a user's home ($HOME/.netrc for instance)
  2. Surface error messages when the container hooks fail to create their required Kubernetes secret for storing environment variables.

I ran into both issues during a k8s runner deployment and a similar concern was raised in #181. I'd prefer not to maintain my internal for and custom runner image just for this additional mount if I don't have to

Thanks for the consideration!

@gbuskey gbuskey marked this pull request as ready for review November 27, 2024 21:06
@gbuskey gbuskey requested a review from a team as a code owner November 27, 2024 21:06
@gbuskey
Copy link
Contributor Author

gbuskey commented Mar 27, 2025

@nikola-jokic is there any way I could get you to take a look at this PR? I'm itching to delete our internal fork of this repo, and the custom actions-runner image I had to build to use the changes

Copy link
Contributor

@nikola-jokic nikola-jokic left a comment

Choose a reason for hiding this comment

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

LGTM!

@nikola-jokic nikola-jokic merged commit ef2229f into actions:main Apr 14, 2025
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.

2 participants