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

add chmod g=rwx $HOME to jenkins agent (#945) #946

Merged
merged 3 commits into from
Sep 18, 2023
Merged

add chmod g=rwx $HOME to jenkins agent (#945) #946

merged 3 commits into from
Sep 18, 2023

Conversation

matzehecht
Copy link
Contributor

@matzehecht matzehecht commented Aug 23, 2023

this fixes the issue that the user used during pipeline run cannot access the child direcories created the image build. See #945

Adds/Switches to g=rwx for affected jenkins-agents

Closes #945
Fixes #945

this fixes the issue that the user used during pipeline run cannot access the child direcories created the image build
@paulmayer
Copy link
Contributor

For potential consideration:

g=rwX could be an option to limit adding +x to directories and where a user already has x.

@matzehecht
Copy link
Contributor Author

For potential consideration:

g=rwX could be an option to limit adding +x to directories and where a user already has x.

You are right. Changed it.

@BraisVQ
Copy link
Contributor

BraisVQ commented Sep 12, 2023

@matzehecht is this PR also related to opendevstack/ods-jenkins-shared-library#1028 ?

@matzehecht
Copy link
Contributor Author

matzehecht commented Sep 13, 2023

@matzehecht is this PR also related to opendevstack/ods-jenkins-shared-library#1028 ?

No. Those are completely separate issues. As stated in the description: This PR solves the issue #945. In the description of the issue I posted a very detailed the description, which should make the difference clear.
But in short: This PR and #945 tackle an issue while importing a private key into the gpg keyring only on some jenkins agents (mainly the nodejs agents). The issue you mentioned tackles a problem that helm secrets sometimes can not find the right key in the keyring on a agent that is not affected by the problem described in #945.

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.

nodejs jenkins-agent can not import private keys into gpg keyring to use with helm secrets
4 participants