Open juupas opened 1 year ago
Hi @juupas, thanks for reporting. So far I haven't been able to reproduce the issue. That error message typically means credentials are missing. Can you double check your API key is set in your GitHub secrets?
My team encountered this as well. The issue was that secrets aren't passed through to "reusable workflows" GH docs.
From what we went through debugging this image locally - I have a few recommendations for the NR team.
deployment-marker-action
to a versioned FROM
image of the NR CLI instead of using latest. This will avoid any breaking (or unknown) changes happening in the CLI that might break this Action. Fortunately this wasn't the case. I.E. FROM newrelic/cli:latest --> FROM newrelic/cli:v0.68
entrypoint.sh
to do the precondition check- making sure NEW_RELIC_API_KEY is set and has a value.Agreed we should have better error messaging :)
We are getting the following when trying to create a marker for our app in GitHub Actions:
This is the step configuration we have:
We've had markers working some time before, so I don't know what has happened.