2947 Commits

Author SHA1 Message Date
Robin Shen
f8fe5ae1fe Update commons and k8s version 2019-07-15 16:36:14 +08:00
Robin Shen
e43753be12 Improved upgrade program to make it ready for docker 2019-07-15 13:47:51 +08:00
Robin Shen
3ec2c255ed Specify registry login instead of image pull secret in Kubernetes executor for
easy use
2019-07-12 18:23:22 +08:00
Robin Shen
79cf9bf24d Use trace level for image inspection output 2019-07-12 11:15:07 +08:00
Robin Shen
72c461abda Test page cleanup 2019-07-11 21:35:42 +08:00
Robin Shen
fc8937de95 Fix the issue that initial administrator can not login with specified
password
2019-07-10 19:57:20 +08:00
Robin Shen
3d13e64d16 Update node cache labels when job is started for accuracy when job is
running
2019-07-10 18:17:48 +08:00
Robin Shen
863607360b midwork 2019-07-09 22:41:20 +08:00
Robin Shen
9652fd1c83 Use $home/onedev-cache to store job caches 2019-07-09 22:09:31 +08:00
Robin Shen
99248180a4 Leverage Kubernetes node affinity to increase job cache hit rate 2019-07-09 10:20:06 +08:00
Robin Shen
94af4a3625 Cache support for Kubernetes executor 2019-07-06 20:27:33 +08:00
Robin Shen
93d5db3f0c Improve taskbutton to display task progress messages 2019-07-01 09:41:32 +08:00
Robin Shen
3aff7e64ad Show more comprehensive error message for task button 2019-06-30 16:35:57 +08:00
Robin Shen
32c356a08a Minor adjustments to work with GKE 2019-06-30 13:42:35 +08:00
Robin Shen
cf9d8c86e7 A basic implementation of Kubernetes executor 2019-06-29 22:47:03 +08:00
Robin Shen
854c920f9d Able to specify logger when calling various command 2019-06-22 22:05:00 +08:00
Robin Shen
649e012095 Escape html markup in log message 2019-06-22 20:07:05 +08:00
Robin Shen
ce57390f71 Add Kubernetes restful endpoint to interact with init/sidecar container 2019-06-22 18:40:57 +08:00
Robin Shen
fb332489fc Fix the issue that the file name input loses focus when add file via
firefox in Linux
2019-06-19 18:25:32 +08:00
Robin Shen
f280c73f37 Update version to 3.0.1 2019-06-19 16:53:21 +08:00
Robin Shen
ded705cc5c Build is initially set to pending when execute by job executors 2019-06-19 16:31:33 +08:00
robin
8a0c9d0060 Add task button to run cancellable long task from UI 2019-06-19 13:05:56 +08:00
robin
b7a2ce17f3 Able to wait for finish of pod execution and get the logs 2019-06-17 21:17:03 +08:00
robin
cca61971a8 Add Kubernetes executor 2019-06-17 12:12:36 +08:00
Robin Shen
7d8f94e5e8 Add some Javadoc comments 2019-06-10 08:46:03 +08:00
Robin Shen
cc779b4d2f Leave docker image as is even if alternate docker registry is specified 2019-06-08 22:28:34 +08:00
Robin Shen
2971df6a5d Move Maven default CI spec provider to a separate plugin and improve it
to detect Java versions
2019-06-08 18:05:28 +08:00
Robin Shen
e595f0904c Some minor changes 2019-06-07 10:04:57 +08:00
Robin Shen
cd99461221 Update to use new version of OneDev maven plugin 2019-06-06 20:14:55 +08:00
Robin Shen
803ff377a6 Able to preserve builds based on query 2019-06-04 08:34:40 +08:00
Robin Shen
a6df8777c4 Move build requirement of branch protection into CISpec definition
This is necessary to avoid mis-match of job parameter requirement in
branch protection setting and job parameter specification
2019-06-02 17:51:21 +08:00
Robin Shen
9805047fb1 Record and display check error in pull request 2019-06-01 18:51:16 +08:00
Robin Shen
ef487aa80e Send RefUpdated event when upload files to repository while editing
markdown
2019-06-01 15:52:47 +08:00
Robin Shen
9017bada63 Add some comments 2019-06-01 09:58:12 +08:00
Robin Shen
86fa1afdf7 Hopefully we fixed a deadlock issue
This is done by ensuring same acquisition order of database connection and job submitting lock
2019-05-31 23:10:02 +08:00
Robin Shen
6eade42cae Add run button on ci spec view page 2019-05-31 09:35:16 +08:00
Robin Shen
5666d14b95 Add "required by pull request" build query criteria 2019-05-31 09:21:52 +08:00
Robin Shen
7490a29f40 Add build status to commits, pull requests, branches, and tags 2019-05-30 22:38:37 +08:00
Robin Shen
7f6a4ce319 Batch load build status for multiple commits for performance reason 2019-05-29 13:28:17 +08:00
Robin Shen
b77583d26c Do not send param value via RESTful api due to security reasons 2019-05-28 09:11:59 +08:00
Robin Shen
a4f08db958 Minor tune of css 2019-05-28 07:56:36 +08:00
Robin Shen
b4bccc3dc7 Display job information on commit detail page 2019-05-27 22:15:59 +08:00
robin shen
d7ae03ad21 Do not pass invisible build param to job executor 2019-05-25 13:32:39 +08:00
robin shen
5410c16c9b Ignore empty possible values when converting input spec strings to
object
2019-05-25 11:08:31 +08:00
robin shen
6e6c9f903f Use consistent display values for boolean input 2019-05-25 10:50:17 +08:00
robin shen
65078bcd51 Fix field/param visibility issue 2019-05-25 10:32:59 +08:00
robin shen
bed7d4694b Adjust width of script support automatically 2019-05-25 08:10:27 +08:00
robin shen
f75cbadeae Syntax highlight for job commands 2019-05-24 22:48:51 +08:00
Robin Shen
3ee47975f3 Improved build parameter handling 2019-05-24 21:11:12 +08:00
Robin Shen
6f9c871d62 Reset choice input if selected value is no longer a valid choice 2019-05-20 14:25:19 +08:00