You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by GitBox <gi...@apache.org> on 2022/09/06 08:30:28 UTC

[GitHub] [incubator-devlake] abeizn opened a new pull request, #2973: feat: github add cicd_pipeline_repos

abeizn opened a new pull request, #2973:
URL: https://github.com/apache/incubator-devlake/pull/2973

   ### ⚠️ Pre Checklist
   
   > Please complete _ALL_ items in this checklist, and remove before submitting
   
   - [ ] I have read through the [Contributing Documentation](https://devlake.apache.org/community/).
   - [ ] I have added relevant tests.
   - [ ] I have added relevant documentation.
   - [ ] I will add labels to the PR, such as `pr-type/bug-fix`, `pr-type/feature-development`, etc.
   
   
   
   # Summary
   github add cicd_pipeline_repos by cicd_pipeline_convertor
   ### Does this close any open issues?
   related to #2951 
   
   ### Screenshots
   ![image](https://user-images.githubusercontent.com/101256042/188586671-26d742f9-3db6-42f8-95b0-b570442ba674.png)
   
   ### Other Information
   Any other information that is important to this PR.
   


-- 
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] warren830 commented on a diff in pull request #2973: feat: github add cicd_pipeline_repos

Posted by GitBox <gi...@apache.org>.
warren830 commented on code in PR #2973:
URL: https://github.com/apache/incubator-devlake/pull/2973#discussion_r963454066


##########
plugins/github/tasks/cicd_pipeline_convertor.go:
##########
@@ -94,8 +93,16 @@ func ConvertPipelines(taskCtx core.SubTaskContext) error {
 				domainPipeline.Status = devops.DONE
 			}
 
+			domainPipelineProject := &devops.CiCDPipelineRepo{
+				DomainEntity: domainlayer.DomainEntity{Id: pipelineIdGen.Generate(data.Options.ConnectionId, repoId, line.Branch, line.Commit)},
+				CommitSha:    line.Commit,
+				Branch:       line.Branch,
+				Repo:         strconv.Itoa(repoId),

Review Comment:
   this should be domain repo id



-- 
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] warren830 merged pull request #2973: feat: github add cicd_pipeline_repos

Posted by GitBox <gi...@apache.org>.
warren830 merged PR #2973:
URL: https://github.com/apache/incubator-devlake/pull/2973


-- 
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