You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by "Feggah (via GitHub)" <gi...@apache.org> on 2023/05/12 17:26:34 UTC

[GitHub] [incubator-devlake] Feggah opened a new issue, #5178: [Feature][GitHub plugin] Support transformations from GitHub Environments

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

   ### 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
   
   I want to classify Deployments and Production Deployments based on the GitHub Environment name that the Job is referring to, instead of only being able to use the Job name
   
   ### Description
   
   _No response_
   
   ### 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] github-actions[bot] commented on issue #5178: [Feature][GitHub plugin] Support transformations from GitHub Environments

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

   This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.


-- 
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 #5178: [Feature][GitHub plugin] Support transformations from GitHub Environments

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

   This is a valid feature, we need to do 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: dev-unsubscribe@devlake.apache.org

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


Re: [I] [Feature][GitHub plugin] Support transformations from GitHub Environments [incubator-devlake]

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

   Hi @Feggah , DevLake is going to support this in the upcoming v0.20. Please see the pic below. Feel free to reopen the issue if it can not meet your needs.
   ![image](https://github.com/apache/incubator-devlake/assets/14050754/0d8616b6-a3d9-4513-b325-7b6de574a488)
   


-- 
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: dev-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 #5178: [Feature][GitHub plugin] Support transformations from GitHub Environments

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

   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 #5178: [Feature][GitHub plugin] Support transformations from GitHub Environments

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

   Hi @Feggah , we are working on collecting GitHub deployments in #5949 . This will also collect the environment of GitHub deployments. 
   
   Although I've read GitHub's doc of how deployments are configured, since we're not using GitHub environments, I'm curious about how you configure them in real life. Do you mind sharing an example of your GitHub workflow or job to conduct deployments? Thank you in advance.
   ![image](https://github.com/apache/incubator-devlake/assets/14050754/343665f1-8b2d-45d2-9c81-4d1fed4c650f)
   


-- 
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: dev-unsubscribe@devlake.apache.org

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


[GitHub] [incubator-devlake] Feggah commented on issue #5178: [Feature][GitHub plugin] Support transformations from GitHub Environments

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

   > What does  GitHub Environment name refer to ?
   
   Refer to the name that are highlighed in these printscreens below:
   
   ![image](https://github.com/apache/incubator-devlake/assets/11353912/dc985d90-00eb-4733-b475-84b8c11bdc13)
   
   ![image](https://github.com/apache/incubator-devlake/assets/11353912/4b63df10-1ad2-40c6-9844-3c8941b6e8f6)
   
   Below is the documentation about the `environment` field in the Actions definition ([ref](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idenvironment))
   ![image](https://github.com/apache/incubator-devlake/assets/11353912/f79bec6a-ab01-4075-8f74-de2b165422d7)
   


-- 
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 #5178: [Feature][GitHub plugin] Support transformations from GitHub Environments

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

   Interesting, never notice this before.
   @Startrekzky is following up


-- 
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] closed issue #5178: [Feature][GitHub plugin] Support transformations from GitHub Environments

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #5178: [Feature][GitHub plugin] Support transformations from GitHub Environments
URL: https://github.com/apache/incubator-devlake/issues/5178


-- 
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 #5178: [Feature][GitHub plugin] Support transformations from GitHub Environments

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

   What does ` GitHub Environment name` refer to ?


-- 
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 #5178: [Feature][GitHub plugin] Support transformations from GitHub Environments

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

   > Interesting, never notice this before. @Startrekzky is following up
   
   It's basically the same as the environment setting in a BitBucket pipeline step. We can reuse this logic if the environment keys and values are collected.


-- 
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 #5178: [Feature][GitHub plugin] Support transformations from GitHub Environments

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

   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] Feggah commented on issue #5178: [Feature][GitHub plugin] Support transformations from GitHub Environments

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

   Can't help much any longer by giving real-life examples @Startrekzky, I'm not in the same company that I was before.
   
   But our use case was simple: we used environments to apply specific policies to it. For example, for production environments, we had a policy that two people had to approve before the deployment job was executed.
   
   For DevLake specifically, using GitHub Environments would be more reliable than the job name, because we had control over the GitHub Environments and it had a pattern across the company, but for pipeline/job names, each repository had its own different pattern.


-- 
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: dev-unsubscribe@devlake.apache.org

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


Re: [I] [Feature][GitHub plugin] Support transformations from GitHub Environments [incubator-devlake]

Posted by "Startrekzky (via GitHub)" <gi...@apache.org>.
Startrekzky closed issue #5178: [Feature][GitHub plugin] Support transformations from GitHub Environments
URL: https://github.com/apache/incubator-devlake/issues/5178


-- 
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: dev-unsubscribe@devlake.apache.org

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