-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicate deployment entries in the Portal #110
Comments
We use kudu zip deploy api for deploying app, which creates first entry in deployments with message after this deployment we again update status of deployment here with additional details Line 54 in b062dd0
which is creating another entry in deployment. I have fixed this issue by adding additional details while calling zipdeploy itself microsoft/pipelines-appservice-lib#34 and then removing updatestatus call #111 |
Wow, quick turnaround @AmrutaKawade! Just want to confirm, will the deployment object be tagged with the git commit ID? |
First entry of log will be as is, instead of |
Hi @AmrutaKawade would it be possible for this message to be the corresponding commit message in GitHub? It might make a little more sense to people to have that information rather than the JSON object. Thanks! |
Hey thanks for suggestion, but unfortunately its not possible. Currently while running action there are some environment variables bydefault available and commit message is not one of them since Sha is available we can retrieve commit message with Github API and problem with using Github API is rate-limiting Since this api request will be made form Github runner, it will be considered as unauthenticated request which has limit of 60 requests per hour. so if you are using any other actions within your workflow which uses Github apis this limit will exceed immediately. Another approach is take user token as input for action to make authenticated request. but this requires all existing users to modify their workflow. |
I tried to retrieve commit message as mentioned here https://stackoverflow.com/questions/63619329/github-action-get-commit-message But its not available. |
since this is released will close this issue |
When deploying with this action an extra deployment object is created in the
/deployments
list. This clutters the deployments list, and the deployment logs are stored in this extra object, not in the deployment object from GitHub Actions, so it's hard for users to find the right logs. The expected behavior is to have one deployment object with a commit ID that matches the one in GitHub, and that all the logs are in that object.Duplicate entries in Kudu
... which creates duplicates in the deployment center
The text was updated successfully, but these errors were encountered: