Commit Graph

209 Commits

Author SHA1 Message Date
tongjingran
dc72708d64 mock qiniu, gihub, artifacts client 2020-07-27 10:40:45 +08:00
tongjingran
8c719effc8 ut case add 2020-07-27 10:38:12 +08:00
jichangjun
2814fe9d4f fix golint err 2020-07-26 18:18:46 +08:00
jichangjun
51dad73b05 enhance doc 2020-07-26 17:46:35 +08:00
jichangjun
249a931f6c fix golint error 2020-07-26 17:03:47 +08:00
lyyyuna
628629cbe7 add unittes case & add e2e sample 2020-07-23 15:43:16 +08:00
qiniu-bot
30c54957da
Merge pull request #77 from lyyyuna/master
Enhance "file lock sync" logic
2020-07-20 16:13:44 +08:00
lyyyuna
eeb549518d enhance "file lock sync" logic 2020-07-17 20:20:07 +08:00
tongjingran
627d7e14ee standardize naming 2020-07-17 18:29:45 +08:00
tongjingran
67e5906bd1 optimize statement and encapsulate logic 2020-07-17 17:08:21 +08:00
qiniu-bot
a2a0880ff7
Merge pull request #75 from lyyyuna/goc-70
Add some e2e tests
2020-07-17 14:49:42 +08:00
lyyyuna
72bf6b265d update run e2e test case 2020-07-17 14:27:00 +08:00
tongjingran
273ccbfbf2 add uts and optimize expression 2020-07-16 12:28:41 +08:00
tongjingran
f96a73f219 change server name register to server and process duplicate flag values 2020-07-16 12:27:01 +08:00
tongjingran
3e5f0e1a81 add flags for cmd profile 2020-07-16 12:26:15 +08:00
lyyyuna
590461c281 goc build goc
update

update

update

update

update

update

update

update

update

update

update

update

update

update

update

update
2020-07-11 08:31:05 +08:00
lyyyuna
735dbb078f add test for internal package
add codecov configuration

delete
2020-07-10 15:17:33 +08:00
lyyyuna
0efacf0ca9 add unit test for #43 2020-07-10 11:05:54 +08:00
memoryliu
ac34f416da Add agentport flag check 2020-07-09 16:03:09 +08:00
qiniu-bot
6398d4f028
Merge pull request #54 from memoryliu/feature_52
Add particular port for registered service when goc build
2020-07-03 23:59:09 +08:00
lyyyuna
60727d8903 support for new packages that need downloading.
log stderr as well

fix gofmt
2020-07-03 22:29:53 +08:00
Lei,Liu
24040459f2 Add particular port for registered service when goc build 2020-07-03 21:28:12 +08:00
jichangjun
3de6ec5a2d doc: be consistent and remove noise 2020-06-27 13:24:57 +08:00
jichangjun
64fe1e5f1a doc: fix typo 2020-06-19 15:00:11 +08:00
jichangjun
f6a9ce3aac do not print host for goc agaent by default 2020-06-19 14:03:40 +08:00
lyyyuna
5892de106b fix unit test
add test for cover package

add unit test
2020-06-18 20:24:12 +08:00
lyyyuna
7916d1ee68 get current working directory only once 2020-06-18 17:03:14 +08:00
lyyyuna
b02d49c2be enhance error handling 2020-06-18 16:20:54 +08:00
lyyyuna
a5f358576d add unit test
add unit test for install

fix unit test

add  license

add test
2020-06-17 15:01:20 +08:00
lyyyuna
40bdcf21d4 fix go1.11 go1.12 pkg.Root issue 2020-06-17 14:55:29 +08:00
lyyyuna
272e4a858b fix ci
fix ci - ginkgo
2020-06-17 14:55:29 +08:00
lyyyuna
57498dd11f fix #14 2020-06-17 14:55:29 +08:00
jichangjun
2c101f62f1 add test cases 2020-06-15 19:33:20 +08:00
jichangjun
76b03178c0 adjust log behavior for goc server and agent 2020-06-15 17:34:54 +08:00
jichangjun
99fe3e5fe4 only save services informaion into memory for goc run mode 2020-06-15 17:16:50 +08:00
jichangjun
3dd2c9cd21 capture logs when executing goc run 2020-06-15 15:54:36 +08:00
jichangjun
c82e61dcfe use viper to get value of debug flag 2020-06-15 15:29:49 +08:00
jichangjun
4ad2bc3fd7 feature: add run command 2020-06-15 15:24:26 +08:00
jichangjun
0fb0487dbb refactor cover method 2020-06-15 15:24:26 +08:00
jichangjun
346530150c show debug flag 2020-06-14 13:28:41 +08:00
jichangjun
3115bead40 add unit tests for register and list api 2020-06-14 11:46:31 +08:00
jichangjun
8f95da9041 add register command 2020-06-14 11:46:31 +08:00
jichangjun
45612d6f63 add list command 2020-06-14 11:46:31 +08:00
lyyyuna
dac858ef07 fix #14 2020-06-14 09:15:48 +08:00
lyyyuna
13c7b6ba8c add test 2020-06-13 22:30:31 +08:00
lyyyuna
5a2a6cd199 fix gofmt 2020-06-13 21:22:00 +08:00
lyyyuna
be87886315 -o compatible with go1.11,go1.2 2020-06-13 20:11:09 +08:00
lyyyuna
3717c2d29f refactor build/install command 2020-06-13 18:15:51 +08:00
lyyyuna
cd302c790d update 2020-06-12 17:51:10 +08:00
qiniu-bot
d80dfa6ef4
Merge pull request #31 from CarlJi/0531
do retry when connecting github failed
2020-06-08 11:03:31 +08:00
jichangjun
f07d0a1312 add new command 'goc init' 2020-06-07 14:07:53 +08:00
jichangjun
89efcb2215 do retry when connecting github failed 2020-06-07 11:59:27 +08:00
chupei
6129354cbd github comment set header without uppercase set 2020-06-01 18:01:49 +08:00
chupei
50ffb7980b goc add diff cmd 2020-06-01 18:01:49 +08:00
Lei,Liu
9795355196 1.Add code coverage counter clear API
2.Refact core cover method and add cover unit test
2020-05-27 19:35:10 +08:00
jichangjun
46027e2a00 update copyright with qiniu.com url 2020-05-26 00:21:54 +08:00
Changjun Ji
a39187f6df
add goc profile command (#11) 2020-05-23 10:14:11 +08:00
Li Yiyang
c2391c5b18
Migrate qbox/goc to qiniu/goc (#8)
* build/install

* all branches

* e2e test

* goc binary

PATH

add checkout code

add +x

test github action

test for github action

test for github actions

test for github actions

test for github actions

fix ci

fix

fix temp path error

* go1.11 1.10 not support go env command

fix

* fix build dir error for go 1.11/1.12 mod project

* e2e test

test

test

fix yaml syntax error

fix

fix

fix

* fix env error

fix

fix

* add unit test

* add unit test coverage report

update

update

* add license
2020-05-21 14:30:41 +08:00
Changjun Ji
0a36185ebe
add coverage server (#4)
* add coverage server

* remove noise comments
2020-05-13 16:27:19 +08:00