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

feat: allow overriding entrypoint in RunJob #323

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

Conversation

akhy
Copy link

@akhy akhy commented Feb 5, 2025

This will resolves #236

Please let me know if there's something I missed

@@ -62,6 +63,7 @@ func (s *SuiteRunJob) TestRun(c *C) {
time.Sleep(200 * time.Millisecond)
container, err := job.getContainer()
c.Assert(err, IsNil)
c.Assert(container.Config.Entrypoint, DeepEquals, []string{"/bin/bash", "-c"})
Copy link
Collaborator

Choose a reason for hiding this comment

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

We would need two test cases for this, one with no Entrypoint provided to make sure that default value is honoured and another with entrypoint to make sure that default one is overwritten

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.

Override entrypoint
2 participants