Skip to content

Commit 018397a

Browse files
committed
feat: wire on publish to send the agent new version to newrelic metadata service
1 parent d0f8efd commit 018397a

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,3 +230,16 @@ jobs:
230230
gh release create "${RELEASE_TAG}" --title="${RELEASE_TITLE}" --repo=newrelic/newrelic-agent-init-container --notes="${RELEASE_NOTES}"
231231
env:
232232
GH_RELEASE_TOKEN: ${{ secrets.GH_RELEASE_TOKEN }}
233+
234+
update-agent-metadata:
235+
needs: [publish]
236+
permissions:
237+
contents: read
238+
uses: ./.github/workflows/agent-metadata.yml
239+
with:
240+
version: ${{ github.ref_name }}
241+
agent-type: 'NRPythonAgent'
242+
secrets:
243+
FC_SYS_ID_CLIENT_ID: ${{ secrets.FC_SYS_ID_CLIENT_ID }}
244+
FC_SYS_ID_PR_KEY: ${{ secrets.FC_SYS_ID_PR_KEY }}
245+
APM_CONTROL_NR_LICENSE_KEY_STAGING: ${{ secrets.APM_CONTROL_NR_LICENSE_KEY_STAGING }}

0 commit comments

Comments
 (0)