Search code examples
testnggithub-actionsdatadog

Datadog CI for synthetic tests github action fails


I have some Datadog synthetic api tests.

I have created a API key and an APP key.

Also, I use the official simple github action https://github.com/marketplace/actions/datadog-synthetics-ci

But when I run the workflow i get this

Run DataDog/[email protected]

(node:1461) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
Error: Running Datadog Synthetics tests failed.

and when i try with version 0.2.0 i get this

Run DataDog/[email protected]
(node:1522) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
 ERROR: unable to obtain test configurations with search query 
Error: Running Datadog Synthetics tests failed.

Any ideas ???


Solution

  • I added

    datadog_site: us5.datadoghq.com
    

    and it run as it was supposed to.