-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Do not modify a custom agent build name provided by the user when running the e2e environments #16052
Do not modify a custom agent build name provided by the user when running the e2e environments #16052
Conversation
29918de
to
a84b35a
Compare
Codecov Report
Flags with carried forward coverage won't be shown. Click here to find out more. |
a84b35a
to
cbe2512
Compare
381a51d
to
516da42
Compare
…ning the e2e environments
516da42
to
6c24411
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have some vague memory of discussing this usecase (local agent images) specifically with you about a year ago!
I'm +1 to just give user total control over how the custom image is named.
IIRC our discussion was to be able to not always pull the image in case the image was built locally, this was introduced with the new |
Co-authored-by: Ursula Chen <[email protected]>
What does this PR do?
Do not modify a custom agent build name provided by the user when running the e2e environments if it's not coming from our repository.
Motivation
I'm trying to run the e2e tests with a custom image I have locally:
╰─ DDEV_E2E_DOCKER_NO_PULL='1' ddev env start -a 486234852809.dkr.ecr.us-east-1.amazonaws.com/ci/datadog-agent/agent:v21934574-987b4f2b-7-arm64 http_check py3.11 ─╯
I end up with this error:
As you can see, a suffix is applied. I'd like
ddev
to stop modifying the image name if it's provided by the user and is not from our repo.Additional Notes
This is not ideal, I know but I do not have a better option for now. Let me know what you think!
Review checklist (to be filled by reviewers)
qa/skip-qa
label if the PR doesn't need to be tested during QA.