DataDog/agent-github-action

Agent doesn't assign the context network

Closed this issue · 1 comments

If you run tests inside docker container connected to git services like postgre,
the DDAgent doesn't assign network. (job.container.network from Contexts)

This does not allow to communicate the test container with the DD agent, are not on the same network.

If there is a github action network in the context, it should automatically be assigned to the ddagent if you want.
For example with argument like "use_context_network_if_exists=true/false"

I have already tried to assign the network to ddagent and works.

hey @jgranesa , all test visibility supported languages now can use agentless mode, and that's the way we recommend to use if your workflow runs in github actions: https://docs.datadoghq.com/tests/setup/javascript/?tab=cloudciprovideragentless. We're deprecating this action