devops refactor (#1739)
* add devops client interface Signed-off-by: Nrunzexia <runzexia@yunify.com> * direct return jenkins Signed-off-by: Nrunzexia <runzexia@yunify.com> * add some interface Signed-off-by: Nrunzexia <runzexia@yunify.com> * update Signed-off-by: Nrunzexia <runzexia@yunify.com> * update interface Signed-off-by: Nrunzexia <runzexia@yunify.com> * update Signed-off-by: Nrunzexia <runzexia@yunify.com> * credential op structs Signed-off-by: Nrunzexia <runzexia@yunify.com> * status Signed-off-by: Nzhuxiaoyang <sunzhu@yunify.com> * update interface Signed-off-by: Nzhuxiaoyang <sunzhu@yunify.com> * credential handler Signed-off-by: Nrunzexia <runzexia@yunify.com> * update devopsoperator func Signed-off-by: Nzhuxiaoyang <sunzhu@yunify.com> * get build sonar Signed-off-by: Nrunzexia <runzexia@yunify.com> * sonar handler * mv code to cilent Signed-off-by: Nrunzexia <runzexia@yunify.com> * update Signed-off-by: Nrunzexia <runzexia@yunify.com> * project member handler Signed-off-by: Nrunzexia <runzexia@yunify.com> * update pipeline operator interface Signed-off-by: Nzhuxiaoyang <sunzhu@yunify.com> * add tenant devops handler Signed-off-by: Nrunzexia <runzexia@yunify.com> * update merge Signed-off-by: Nrunzexia <runzexia@yunify.com> * clean Signed-off-by: Nrunzexia <runzexia@yunify.com> * fmt Signed-off-by: Nrunzexia <runzexia@yunify.com> * update ListPipelineRuns Signed-off-by: Nzhuxiaoyang <sunzhu@yunify.com> * complate pipelineOperator interface Signed-off-by: Nzhuxiaoyang <sunzhu@yunify.com> * update HttpParameters Signed-off-by: Nzhuxiaoyang <sunzhu@yunify.com> * add pipeline steps interface Signed-off-by: Nzhuxiaoyang <sunzhu@yunify.com> * update pipeline GetNodesDetail Signed-off-by: Nzhuxiaoyang <sunzhu@yunify.com> * add s2i api Signed-off-by: Nrunzexia <runzexia@yunify.com> * add branch pipeline interface and update handler Signed-off-by: Nzhuxiaoyang <sunzhu@yunify.com> * add scan branch interface and update handler Signed-off-by: Nzhuxiaoyang <sunzhu@yunify.com> * add common interface and update handler Signed-off-by: Nzhuxiaoyang <sunzhu@yunify.com> * add SCM interface and update handler Signed-off-by: Nzhuxiaoyang <sunzhu@yunify.com> * add handler Signed-off-by: Nrunzexia <runzexia@yunify.com> * add fake s3 Signed-off-by: Nrunzexia <runzexia@yunify.com> * add webhook&check interface and update handler Signed-off-by: Nzhuxiaoyang <sunzhu@yunify.com> * clean Signed-off-by: Nzhuxiaoyang <sunzhu@yunify.com> * clean Signed-off-by: Nzhuxiaoyang <sunzhu@yunify.com> * format Signed-off-by: Nzhuxiaoyang <sunzhu@yunify.com> * add some func Signed-off-by: Nrunzexia <runzexia@yunify.com> * clean code Signed-off-by: Nrunzexia <runzexia@yunify.com> * implement interface Signed-off-by: Nzhuxiaoyang <sunzhu@yunify.com> * fix interface GetBranchArtifacts Signed-off-by: Nzhuxiaoyang <sunzhu@yunify.com> * add s2ibinary upload test Signed-off-by: Nrunzexia <runzexia@yunify.com> * tenant devops Signed-off-by: Nrunzexia <runzexia@yunify.com> * update tenant Signed-off-by: Nrunzexia <runzexia@yunify.com> * fake Signed-off-by: Nzhuxiaoyang <sunzhu@yunify.com> * add some unit test Signed-off-by: Nzhuxiaoyang <sunzhu@yunify.com> * add devops tenant handler Signed-off-by: Nrunzexia <runzexia@yunify.com> * status Signed-off-by: Nzhuxiaoyang <sunzhu@yunify.com> * status Signed-off-by: Nzhuxiaoyang <sunzhu@yunify.com> * status Signed-off-by: Nzhuxiaoyang <sunzhu@yunify.com> * update fake test Signed-off-by: Nzhuxiaoyang <sunzhu@yunify.com> * update unit test and fake data Signed-off-by: Nzhuxiaoyang <sunzhu@yunify.com> * update Co-authored-by: NXiaoyang Zhu <sunzhu@yunify.com>
Showing
... | ... | @@ -99,7 +99,7 @@ require ( |
k8s.io/component-base v0.17.0 | ||
k8s.io/klog v1.0.0 | ||
k8s.io/kube-openapi v0.0.0-20191107075043-30be4d16710a | ||
k8s.io/kubectl v0.17.0 | ||
k8s.io/utils v0.0.0-20191114184206-e782cd3c129f // indirect | ||
kubesphere.io/im v0.1.0 // indirect | ||
openpitrix.io/iam v0.1.0 // indirect | ||
openpitrix.io/openpitrix v0.4.1-0.20190920134345-4d2be6e4965c | ||
... | ... |
pkg/apiserver/tenant/tenant.go
0 → 100644
pkg/gojenkins/_tests/job.xml
已删除
100644 → 0
pkg/gojenkins/artifact.go
已删除
100644 → 0
pkg/gojenkins/executor.go
已删除
100644 → 0
pkg/gojenkins/fingerprint.go
已删除
100644 → 0
pkg/gojenkins/label.go
已删除
100644 → 0
pkg/gojenkins/node.go
已删除
100644 → 0
pkg/gojenkins/plugin.go
已删除
100644 → 0
pkg/gojenkins/queue.go
已删除
100644 → 0
pkg/gojenkins/utils/utils.go
已删除
100644 → 0
pkg/gojenkins/views.go
已删除
100644 → 0
此差异已折叠。
此差异已折叠。
此差异已折叠。
pkg/simple/client/devops/build.go
0 → 100644
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
想要评论请 注册 或 登录