Commit Graph

1923 Commits

Author SHA1 Message Date
KubeSphere CI Bot
91c2e05616 Merge pull request #3180 from LinuxSuRen/fix/pipeline-finalizer
Fix pipeline cannot be removed due to finalizers
2020-12-08 18:01:40 +08:00
KubeSphere CI Bot
1d2204cdfa Merge pull request #3165 from LinuxSuRen/fix/pipeline-cron-tips
Fix the inapproprite errors handle with cron expression checking
2020-12-08 17:59:43 +08:00
KubeSphere CI Bot
bfdef0e67b Merge pull request #3156 from LinuxSuRen/pipeline-approve
Restrict only specific users or admin can approve a pipeline
2020-12-08 17:49:43 +08:00
KubeSphere CI Bot
68979b8f02 Merge pull request #3175 from zackzhangkai/master
add kubeconfig check
2020-12-07 11:55:42 +08:00
rick
4d19c4dbb4 Provide a specific log level instead of using log.error
unifi variable declare style

Signed-off-by: rick <rick@jenkins-zh.cn>
2020-12-07 11:09:37 +08:00
rick
349a4ac965 Fix pipeline cannot be removed due to finalizers
Signed-off-by: rick <rick@jenkins-zh.cn>
2020-12-04 10:22:57 +08:00
zackzhangkai
062c688287 kiali add kubeconfig check
Signed-off-by: zackzhangkai <zackzhang@yunify.com>
2020-12-03 14:58:42 +08:00
rick
730657166c Add more error handling when request cron validation
Signed-off-by: rick <rick@jenkins-zh.cn>
2020-12-03 09:45:25 +08:00
KubeSphere CI Bot
e16219be55 Merge pull request #3163 from LinuxSuRen/improve-docker-build
Improve the process of build docker images.
2020-12-02 17:47:40 +08:00
KubeSphere CI Bot
18bb1c116b Merge pull request #3145 from LinuxSuRen/master
Provide a hunman readable error message instead of the raw
2020-12-02 17:44:40 +08:00
KubeSphere CI Bot
efde8dc9a5 Merge pull request #3168 from zackzhangkai/fix_comments
fix comments
2020-12-02 17:41:40 +08:00
rick
164ffbbfda Discard these changes base the discussion on github
discussion thread is here https://github.com/kubesphere/kubesphere/pull/3163#discussion_r533959311

Signed-off-by: rick <rick@jenkins-zh.cn>
2020-12-02 16:12:41 +08:00
rick
92e7349cf9 Fix an issue which the pipeline owner cannot approve his pipeline
Signed-off-by: rick <rick@jenkins-zh.cn>
2020-12-02 14:07:55 +08:00
zackzhangkai
96fe71173a fix comments
Signed-off-by: zackzhangkai <zackzhang@yunify.com>
2020-12-01 12:50:30 +08:00
KubeSphere CI Bot
a31b8dc1cb Merge pull request #3159 from LinuxSuRen/fix/docker-login-issues
Fix the docker login isseus
2020-12-01 11:22:39 +08:00
rick
66dd5ac784 Keep the orignal error messages with log printing instead swallow them
Signed-off-by: rick <rick@jenkins-zh.cn>
2020-12-01 11:14:42 +08:00
KubeSphere CI Bot
2845d4b03b Merge pull request #3151 from zackzhangkai/kiali-filter-ns
just filter out namespace started with kube-
2020-12-01 11:11:39 +08:00
KubeSphere CI Bot
0ce8564535 Merge pull request #3148 from RolandMa1986/feat-userapi
add group filter for user api
2020-12-01 11:09:40 +08:00
KubeSphere CI Bot
fafe5f14e6 Merge pull request #3131 from LinuxSuRen/gitlab-multi-branch-pipeline
Add gitlab multi-branch pipeline support
2020-12-01 10:56:39 +08:00
rick
039dbf8033 Fix the inapproprite errors handle with cron expression checking
Signed-off-by: rick <rick@jenkins-zh.cn>
2020-12-01 10:07:57 +08:00
rick
53c3204902 Allow users to specific goos via env variable
Signed-off-by: rick <rick@jenkins-zh.cn>
2020-11-30 15:20:33 +08:00
rick
8451c18277 Add unit tests for pipeline approve functions
Signed-off-by: rick <rick@jenkins-zh.cn>
2020-11-30 14:09:44 +08:00
rick
df34ee9978 Adding approvable field to indicate if current user can approve a particular step
Signed-off-by: rick <rick@jenkins-zh.cn>
2020-11-30 11:42:41 +08:00
rick
8f4a6d9b93 Restrict only specific users or admin can approve a pipeline
Signed-off-by: rick <rick@jenkins-zh.cn>
2020-11-30 09:28:08 +08:00
zackzhangkai
d78d7f0ad0 just filter out kube-* namespaces
Signed-off-by: zackzhangkai <zackzhang@yunify.com>
2020-11-29 22:30:18 +08:00
rick
dab77ef369 Fix the docker login isseus
It was caused by a unknown situation after improve docker_build.sh.

Fixes #3158

Signed-off-by: rick <rick@jenkins-zh.cn>
2020-11-28 21:31:25 +08:00
KubeSphere CI Bot
c5de21af4a Merge pull request #3129 from LinuxSuRen/fix-docker-login-issues
Avoid docker login everytime even it is done before
2020-11-26 19:35:37 +08:00
KubeSphere CI Bot
1e1c976bca Merge pull request #3147 from LinuxSuRen/fix/default-jenkinsfile
Fix panic against with pipeline-multibranch-defaults-plugin
2020-11-25 19:56:32 +08:00
Roland.Ma
30216c411b add group filter for user api
Signed-off-by: Roland.Ma <rolandma@yunify.com>
2020-11-25 09:41:26 +00:00
rick
00e8b0e5ef Fix panic against with pipeline-multibranch-defaults-plugin
Signed-off-by: rick <rick@jenkins-zh.cn>
2020-11-25 15:38:07 +08:00
rick
d35e22f0be Provide a hunman readable error message instead of the raw
Signed-off-by: rick <rick@jenkins-zh.cn>
2020-11-25 09:07:20 +08:00
zryfish
2e1d75f383 fix makefile build on mac (#3144)
Signed-off-by: Jeff <jeffzhang@yunify.com>
2020-11-24 20:49:51 +08:00
rick
af471bce59 Add unit test cases for gitlab multi-branch pipeline
Signed-off-by: rick <rick@jenkins-zh.cn>
2020-11-24 16:40:26 +08:00
KubeSphere CI Bot
f6186a39c3 Merge pull request #3141 from LinuxSuRen/feature-request-template
Adding a feature request issue template
2020-11-24 14:28:36 +08:00
rick
52c6f5f479 Use camel case style according to review comments
Signed-off-by: rick <rick@jenkins-zh.cn>
2020-11-24 13:54:35 +08:00
rick
573dab2208 Make the logger level as 8 in the DevOps code lines
Signed-off-by: rick <rick@jenkins-zh.cn>
2020-11-24 13:48:29 +08:00
rick
3293948b33 Add gitlab multi-branch pipeline support
Signed-off-by: rick <rick@jenkins-zh.cn>
2020-11-24 13:48:25 +08:00
KubeSphere CI Bot
75e0cf27e4 Merge pull request #3126 from shaowenchen/add_state_for_pipeline
feature: add sync state for devops
2020-11-24 11:46:36 +08:00
KubeSphere CI Bot
5a816f72fc Merge pull request #3125 from LinuxSuRen/discover-tag-support
Add support discover tags for multi-branch pipeline
2020-11-24 11:35:36 +08:00
KubeSphere CI Bot
ab7ecee910 Merge pull request #3138 from RolandMa1986/controller-refactoring
refactor controllers
2020-11-24 11:30:36 +08:00
KubeSphere CI Bot
b5e2037f88 Merge pull request #3139 from wansir/ldap-idp
improve LDAP identity provider
2020-11-24 11:29:36 +08:00
KubeSphere CI Bot
6ca2ecf4b6 Merge pull request #3127 from RolandMa1986/feat-group-rolebinding
add rolebinding api
2020-11-24 11:26:36 +08:00
hongming
00920d3d51 improve LDAP identity provider
Signed-off-by: hongming <talonwan@yunify.com>
2020-11-23 17:29:46 +08:00
Roland.Ma
2f916f4dd9 move package
Signed-off-by: Roland.Ma <rolandma@yunify.com>
2020-11-23 08:47:09 +00:00
Roland.Ma
f8903f19f6 refactor controllers
Signed-off-by: Roland.Ma <rolandma@yunify.com>
2020-11-23 08:47:09 +00:00
Roland.Ma
aa471f998c refine methods
Signed-off-by: Roland.Ma <rolandma@yunify.com>
2020-11-23 06:11:49 +00:00
rick
d8397a1c13 Fix the potential issue caused by commented area mark
Signed-off-by: rick <rick@jenkins-zh.cn>
2020-11-23 11:29:59 +08:00
Roland.Ma
079b43e301 add rolebinding api
Signed-off-by: Roland.Ma <rolandma@yunify.com>
2020-11-23 02:59:48 +00:00
rick
c240fe11e6 Typo fixes
Signed-off-by: rick <rick@jenkins-zh.cn>
2020-11-23 10:47:27 +08:00
rick
1a41519b8b Adding a feature request issue template
Using an issue template is always a good practice when we try to submit an issue.

Signed-off-by: rick <rick@jenkins-zh.cn>
2020-11-23 10:31:48 +08:00