Commit Graph

113 Commits

Author SHA1 Message Date
lyyyuna
15caa56c73 clear coverage by service&addr 2020-09-11 15:45:45 +08:00
jichangjun
3f29fd78ca redesign profile api 2020-09-05 15:52:27 +08:00
jichangjun
ca15b18860 goc profile: add coverpkg flag 2020-09-02 21:06:37 +08:00
jichangjun
d1576b9a70 fix golint error 2020-08-13 15:07:25 +08:00
lyyyuna
0f9bbcf502 add unit test for merge 2020-08-05 20:14:40 +08:00
lyyyuna
288f5404b2 add merge command 2020-08-05 17:50:56 +08:00
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
249a931f6c fix golint error 2020-07-26 17:03:47 +08:00
tongjingran
4ebcd7c6ac clearer description 2020-07-20 19:56:01 +08:00
tongjingran
0a87b5ac3c clearer description 2020-07-20 17:40:44 +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
c08f0e45eb add version test
add list e2e test

add list e2e

add clear, build e2e

add profile e2e

fix clear e2e case

update

add install e2e

add register e2e case

add init e2e case

add diff e2e case

update

update

update

add cover e2e case

update
2020-07-17 13:01:36 +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
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
jichangjun
dac7a84a8a doc: add Tips into readme 2020-07-05 00:16:11 +08:00
lyyyuna
d4194bb18c auto version 2020-07-04 15:10:25 +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
Lei,Liu
24040459f2 Add particular port for registered service when goc build 2020-07-03 21:28:12 +08:00
jichangjun
2690f11488 goc command: version 2020-07-03 19:30:08 +08:00
jichangjun
0ced979879 goc build: provide short flag for output option 2020-06-29 19:23:38 +08:00
jichangjun
3de6ec5a2d doc: be consistent and remove noise 2020-06-27 13:24:57 +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
2a8d444043 fix ci 2020-06-18 16:26:06 +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
57498dd11f fix #14 2020-06-17 14:55:29 +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
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
5a2a6cd199 fix gofmt 2020-06-13 21:22:00 +08:00
lyyyuna
3717c2d29f refactor build/install command 2020-06-13 18:15:51 +08:00
lyyyuna
b017346ab4 remove unnecessary lines 2020-06-12 18:00:24 +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
4e614b18d1 doc: small adjust to make them consistent 2020-06-07 10:48:07 +08:00
lyyyuna
72fab79b6a fix typo 2020-06-05 10:17:51 +08:00
lyyyuna
bd16f920c8 update command usage 2020-06-03 17:12:47 +08:00
chupei
13ec9b05c7 addjust diff cmd examples format 2020-06-01 18:01:49 +08:00
chupei
cc16022193 go test rm race check since qiniu SDK has race issue 2020-06-01 18:01:49 +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
53d6385efa Add usage for some commands 2020-05-29 11:24:43 +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
Changjun Ji
c0659d8421
adjust project directory structure to be more friendly to use (#10) 2020-05-21 14:58:40 +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
chupei
6591292580
add github action ci check (#5)
* add github action ci check

* fix gofmt error

Co-authored-by: chupei <chupei@qiniu.com>
2020-05-13 11:39:17 +08:00
Changjun Ji
7b8a906118
init the directory structure and create OWNERS file (#2) 2020-05-09 15:34:47 +08:00