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

Fix agent docker #3288

Merged
merged 3 commits into from Oct 20, 2023
Merged

Fix agent docker #3288

merged 3 commits into from Oct 20, 2023

Conversation

schoren
Copy link
Collaborator

@schoren schoren commented Oct 20, 2023

This PR fixes the agent to run in docker. The problem was a validation (version match)that was being skipped if the env TRACETEST_DEV was set. In docker, the env is not set, so it always tried to do the check. However that check happens before other params are loaded (like endpoint) so the only way for that check to pass is having a config.yaml file, which is not present on docker. Removing that check makes things work again

I also modified the entrypoint of the docker image so it allows passing extra parameters to the agent.

Changes

Fixes

Checklist

  • tested locally
  • added new dependencies
  • updated the docs
  • added a test

@schoren schoren merged commit 900f483 into main Oct 20, 2023
38 checks passed
@schoren schoren deleted the fix-agent-docker branch October 20, 2023 18:07
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.

None yet

2 participants