64 Commits

Author SHA1 Message Date
Robin Shen
8322c0fb5e Add name to job executor in order to identify which executor is being
used in a job
2019-11-27 13:55:51 +08:00
Robin Shen
329feb42b7 Create issue upon build failure, and close created issue upon build successful.
Also add reference input behavior to make UX easier to use
2019-11-25 16:43:58 +08:00
Robin Shen
4a640adc36 Add post build action to create issue.
The build successful trigger of issue transition is also enhanced to be able
to close issues creating in such way
2019-11-22 09:52:07 +08:00
Robin Shen
e79be8d355 Role based permission management 2019-11-09 19:52:11 +08:00
Robin Shen
f0e1617826 Make source retrieval default in ci job definition 2019-10-30 09:07:04 +08:00
Robin Shen
cfeea1b2ba Use existing disk instead of dynamically creating disk for k8s
deployment
2019-10-28 22:36:03 +08:00
Robin Shen
acb629295a versioning server docker image 2019-10-28 17:21:53 +08:00
Robin Shen
354e644f9d Able to specify clone depth in ci spec 2019-10-28 13:39:45 +08:00
Robin Shen
02f5dcb661 Improve performance of project.getJobNames() 2019-10-27 16:15:33 +08:00
Robin Shen
e3ccc26d3a Append "ci" to suggested job name 2019-10-25 21:04:43 +08:00
Robin Shen
f14fb099bf Convert various default cispec projects into job suggestion projects. 2019-10-25 20:54:45 +08:00
Robin Shen
416a34abb2 Disable tab to variable substitution help link in description of various
ci spec fields
2019-10-16 16:34:09 +08:00
Robin Shen
7e0ebf28e6 Fix some job interpolation bugs 2019-10-12 23:31:59 +08:00
Robin Shen
095d7dbea4 User can select whether or not to create cache labels on k8s 2019-10-09 22:34:02 +08:00
Robin Shen
417622a7ca Emphasize @ and \ escaping in field description 2019-10-08 08:37:47 +08:00
Robin Shen
beeeeca93b Refactor various code assist grammar and input behaviors 2019-10-07 14:43:37 +08:00
Robin Shen
87e3b76d0f Variable and script interpolation in CI job definition 2019-09-28 22:00:42 +08:00
Robin Shen
a47636fbcf Fix various path matching issues 2019-09-18 10:59:30 +08:00
Robin Shen
95fd47a7c4 Retrieve artifacts from different projects into job workspace 2019-09-17 21:05:34 +08:00
Robin Shen
4ff5472b3d Add Dockerfile and update some cispec image names 2019-09-17 08:24:18 +08:00
Robin Shen
44a5a44882 Minor UI css fixes 2019-09-16 21:29:45 +08:00
Robin Shen
c8b9d3078b Job service implementation 2019-09-16 09:06:57 +08:00
Robin Shen
5abc2a4acf Able to run build on Windows node of a Kubernetes cluster 2019-09-05 16:21:02 +08:00
Robin Shen
1fb41d75d5 Use provided ObjectMapper across all code base 2019-08-31 16:44:37 +08:00
Robin Shen
2454881bb3 Silent warnings when doing git submodule deinit 2019-08-23 09:28:35 +08:00
Robin Shen
a4944f97a1 Use latest commons 2019-08-22 23:23:28 +08:00
Robin Shen
fb16b56e70 Code format of various cispec plugin 2019-08-20 22:02:58 +08:00
robin shen
22a2d39525 Add submodule support for ci 2019-08-20 12:04:00 +08:00
Robin Shen
10ddf753cd Code cleanup for various default ci spec provider plugins 2019-08-07 17:13:37 +08:00
Robin Shen
04aa3c9d73 Merge branch 'polish-commit-status' 2019-08-07 16:10:38 +08:00
Robin Shen
ced6d5a0f3 Polish commit status and build status ui 2019-08-07 16:09:30 +08:00
黄泽龙
8c2c529df4 resolve conflicts 2019-08-07 11:06:07 +08:00
黄泽龙
1322412f1c add DefaultCISpec for node laravel 2019-08-07 10:53:55 +08:00
jiangjinwen
a92bb641a2 Merge branch 'ruby Django Gradle' 2019-08-07 10:32:10 +08:00
jiangjinwen
0c3eae71df polish Ruby Django Gradle DefaultCISpec 2019-08-07 10:31:07 +08:00
Robin Shen
8edb53bc17 Still upload outcomes even if job build fails 2019-08-04 22:10:18 +08:00
Robin Shen
60a5865277 Mount host docker sock in order to be able to do docker things in jobs 2019-08-03 18:04:39 +08:00
jiangjinwen
69f4fc495b add rails,django,android,asp 2019-08-02 19:57:28 +08:00
Robin Shen
fea7e9e13b Able to specify namespace to run job in Kubernetes executor 2019-07-31 10:57:32 +08:00
Robin Shen
ebbe345290 Trust certificates from keystore and specified files 2019-07-30 09:12:31 +08:00
Robin Shen
457995c749 Add SSL support for Kubernetes deployment 2019-07-26 14:43:44 +08:00
Robin Shen
5e9549dc7a Craft k8s-deployment.yaml to easily deploy OneDev to Kubernetes with the
ability to run builds in same cluster
2019-07-21 10:54:33 +08:00
Robin Shen
26c15c9911 Bump version to use latest commons/maven-plugin/k8s-helper 2019-07-16 11:39:12 +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
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