Skip to content

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

Merged
nikola-jokic merged 2 commits into
actions:mainfrom
gbuskey:main
Apr 14, 2025
Merged

nikola-jokic merged 2 commits into
actions:mainfrom
gbuskey:main

Conversation

@gbuskey

@gbuskey gbuskey commented Nov 27, 2024 •

Copy link
Copy Markdown
Contributor

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

gbuskey commented Mar 27, 2025

Copy link
Copy Markdown
Contributor Author

@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

@nikola-jokic nikola-jokic 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.

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