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 docker run --dns-search flag to agent template #1105

Merged
merged 2 commits into from
Oct 12, 2024

Conversation

kirk-fitz
Copy link
Contributor

I need to be able to add --dns-search flag to agent template run command.

https://docs.docker.com/engine/network/

I have created this issue #1104

I believe this PR addresses this issue, but I have been unable to test this in full due to environment issues.

Testing done

I was able to do a quick manual test and I can see the field for the --dns-search in the GUI and when I provision an agent via the template I can see the correct entry in the /etc/resolv.conf file in the container

image

image

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

@kirk-fitz
Copy link
Contributor Author

Can anyone review this please?

@krisstern
Copy link
Member

Hi @kirk-fitz, thanks for the PR! Let me review it over the next few days

Copy link
Member

@krisstern krisstern left a comment

Choose a reason for hiding this comment

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

Thanks @kirk-fitz! This makes a lot of sense to me.

@krisstern krisstern merged commit 6d223a3 into jenkinsci:master Oct 12, 2024
17 checks passed
@kirk-fitz
Copy link
Contributor Author

Thanks for reviewing @krisstern, does a maintainer need to create a release manually? Cd isnt setup on the repo?

@krisstern
Copy link
Member

Hi @kirk-fitz, you are welcome! I think I will need to update the Jenkins version in "pom.xml" first within the next few hours before I manually release a new version of the plugin shortly afterwards. But I promise I will do it ASAP.

@kirk-fitz
Copy link
Contributor Author

kirk-fitz commented Oct 12, 2024 via email

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.

2 participants