Azure / functions-action

Enable GitHub developers to deploy to Azure Function Apps using GitHub Actions
MIT License
152 stars 75 forks source link

Additional deployment infos in azure portal #202

Closed nikolaiessel closed 10 months ago

nikolaiessel commented 1 year ago

We just migrate projects from DevOps to Github. When we use this action to deploy our functions, we loosing source informations comparing with DevOps release pipeline.

The reason is, that the _getUpdateHistoryRequest supports custom message content, but callees only deliver a slotName https://github.com/Azure/functions-action/blob/d4767f407ecaeeddbc26ae38255231c704dd3c5e/src/appservice-rest/Utilities/KuduServiceUtility.ts#L149-L165

The message JSON of this Action is

{
  "type": "deployment",
  "sha": "...",
  "repoName": "...",
  "actor": "...",
  "slotName": "production"
}

DevOps creates

{
  "type": "deployment",
  "commitId": "...",
  "buildId": "...",
  "releaseId": "...",
  "buildNumber": "...",
  "releaseName": "...",
  "repoProvider": "TfsGit",
  "repoName": "...",
  "collectionUrl": "https://dev.azure.com/...",
  "teamProject": "...",
  "buildProjectUrl": "https://dev.azure.com/...",
  "repositoryUrl": "",
  "branch": "main",
  "teamProjectName": "...",
  "slotName": "production"
}

Maybe the azure portal will display the informations too, if GitHub Action delivers it

github-actions[bot] commented 11 months ago

This issue is idle because it has been open for 14 days with no activity.

nikolaiessel commented 11 months ago

yeah, idle because no maintainer had time to look into it. All that "bots" aren´t "user-friendly" (in all issue-tracking systems)

github-actions[bot] commented 11 months ago

This issue is idle because it has been open for 14 days with no activity.