You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by "Afig08 (via GitHub)" <gi...@apache.org> on 2023/03/30 16:09:48 UTC

[GitHub] [incubator-devlake] Afig08 opened a new issue, #4825: [Feature][transformations] regex deployments by workflow runs name

Afig08 opened a new issue, #4825:
URL: https://github.com/apache/incubator-devlake/issues/4825

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar feature requirement.
   
   
   ### Use case
   
   As a DevOps engineer, I would love to have devlake track my workflow runs names for deployments instead of Job name
   
   ### Description
   
   the reason I mention workflow runs its because most companies will likely have workflow runs specified by environment, Deploy-production or Deploy-Staging , Jobs names aren't necessarily unique. you can have deploy job name in both workflow runs. Ive seen the same job name in different workflow runs and that can make it difficult to sort through and determine what jobs is for Production and what job is for other environments.
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] Startrekzky commented on issue #4825: [Feature][transformations] regex deployments by workflow runs name

Posted by "Startrekzky (via GitHub)" <gi...@apache.org>.
Startrekzky commented on issue #4825:
URL: https://github.com/apache/incubator-devlake/issues/4825#issuecomment-1491182384

   Can you give me some examples or screenshots of how you name your GitHub workflows and jobs?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] hezyin commented on issue #4825: [Feature][transformations] regex deployments by workflow runs name

Posted by "hezyin (via GitHub)" <gi...@apache.org>.
hezyin commented on issue #4825:
URL: https://github.com/apache/incubator-devlake/issues/4825#issuecomment-1492835499

   @klesh @Startrekzky Alejandro and I had a chat on this, and here's what he told me:
   
   > One of his larger repos has GitHub workflows with names "Deploy-production" and "Deploy-staging". The jobs under those two workflows share the same names, like "deploy-api", "deploy-frontend", and etc. So DevLake's regexes on GitHub job names don't work very well for this repo.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] Startrekzky commented on issue #4825: [Feature][transformations] regex deployments by workflow runs name

Posted by "Startrekzky (via GitHub)" <gi...@apache.org>.
Startrekzky commented on issue #4825:
URL: https://github.com/apache/incubator-devlake/issues/4825#issuecomment-1501344004

   Got it. My suggestion for 
   - long-term solution: move the `deployment` definition to the domain layer configuration. The same goes for `issue types` and `issue statuses`, `pr statuses`, `incidents`, etc. This provides an easier way for users to edit configuration in one setting page, rather than going to each project/bp to edit.
   - short-term solution: support more entities and regex patterns when defining `deployment` in the bp transformation.
   
   I prefer not to do the short-term solution but the long-term solution in the later versions like v0.19.
   
   cc. @hezyin @klesh 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] klesh commented on issue #4825: [Feature][transformations] regex deployments by workflow runs name

Posted by "klesh (via GitHub)" <gi...@apache.org>.
klesh commented on issue #4825:
URL: https://github.com/apache/incubator-devlake/issues/4825#issuecomment-1491177118

   Make sense to me.   I would like to see some screenshots to help us understand intuitively.
   @hezyin what do you think


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] github-actions[bot] commented on issue #4825: [Feature][transformations] regex deployments by workflow runs name

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #4825:
URL: https://github.com/apache/incubator-devlake/issues/4825#issuecomment-1542962137

   This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] Startrekzky commented on issue #4825: [Feature][transformations] regex deployments by workflow runs name

Posted by "Startrekzky (via GitHub)" <gi...@apache.org>.
Startrekzky commented on issue #4825:
URL: https://github.com/apache/incubator-devlake/issues/4825#issuecomment-1547451242

   I think this issue has been solved along with the fixes for #4869 . DevLake has changed the definition of deployments from a GitHub job to a GitHub workflow run.
   
   You can find the change in the latest v0.17 beta versions.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] Startrekzky closed issue #4825: [Feature][transformations] regex deployments by workflow runs name

Posted by "Startrekzky (via GitHub)" <gi...@apache.org>.
Startrekzky closed issue #4825: [Feature][transformations] regex deployments by workflow runs name
URL: https://github.com/apache/incubator-devlake/issues/4825


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] abeizn commented on issue #4825: [Feature][transformations] regex deployments by workflow runs name

Posted by "abeizn (via GitHub)" <gi...@apache.org>.
abeizn commented on issue #4825:
URL: https://github.com/apache/incubator-devlake/issues/4825#issuecomment-1491160658

   Thanks for the feature request, can @Startrekzky  take a look at it?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org