100 Commits
Author SHA1 Message Date
yunlzheng 1179760b0f ci: disable unused stage define 2020-03-16 12:50:08 +08:00
yunlzheng 80a3504b46 Merge branch 'feature/ci-speed-up'
* feature/ci-speed-up:
  ci: deploy only on tag
  ci: deploy only on tag
  ci: test matrix
  ci:test test matrix build
  ci:test script deploy
  ci: parallelizing cross platform
  ci: test deploy
  ci: disable on tags condition for test deploy
  test: enable notifications
  ci: split cli/shadow/dashboard
  ci: disable golangci-lint
  ci: fixed config.yaml.enc not found issue
  ci: add code analysis with golangci-lint
  ci: split ci task with stage
2020-03-15 23:31:16 +08:00
yunlzheng 76059d4ff0 ci: deploy only on tag 2020-03-15 23:04:39 +08:00
yunlzheng 34928c7ade ci: deploy only on tag 2020-03-15 23:04:30 +08:00
yunlzheng 28b583c8bf ci: test matrix 2020-03-15 22:51:10 +08:00
yunlzheng 21240ae7d7 ci:test test matrix build 2020-03-15 22:42:54 +08:00
yunlzheng f092709bd6 ci:test script deploy 2020-03-15 22:12:16 +08:00
yunlzheng 52038603ca ci: parallelizing cross platform 2020-03-15 21:50:08 +08:00
yunlzheng aeef5e080e ci: test deploy 2020-03-15 21:40:48 +08:00
yunlzheng 116566b3f8 ci: disable on tags condition for test deploy 2020-03-15 20:54:40 +08:00
yunlzheng f342017b7a test: enable notifications 2020-03-15 20:53:43 +08:00
yunlzheng 9084edde7c ci: split cli/shadow/dashboard 2020-03-15 20:43:19 +08:00
yunlzheng 8b7be56b6d ci: disable golangci-lint 2020-03-15 20:18:53 +08:00
yunlzheng 03c81ec05e ci: fixed config.yaml.enc not found issue 2020-03-15 20:13:23 +08:00
yunlzheng 90f73ca50e ci: add code analysis with golangci-lint 2020-03-15 20:11:14 +08:00
yunlzheng d25bd4f709 ci: split ci task with stage 2020-03-15 20:03:58 +08:00
yunlzheng 7b93bc59f8 Merge branch 'master' into feature/ci-speed-up
* master:
  simplify tests
2020-03-15 19:59:17 +08:00
ylzhengandGitHub a90a98f941 Merge pull request #100 from cui-liqiang/master
simplify tests
2020-03-15 15:58:36 +08:00
yunlzheng f52f8a3052 test: add test case for cluster scale 2020-03-13 19:47:11 +08:00
yunlzheng bc8852f1f4 ci: set travis notifications events 2020-03-13 16:54:15 +08:00
yunlzheng 506b218b32 ci: add ding-talk notification 2020-03-13 15:30:32 +08:00
yunlzheng f7bc3c8394 ci: remove unused log in test case. 2020-03-13 13:50:53 +08:00
yunlzheng 15cbe32332 ci: fixed unit-test error 2020-03-13 13:46:12 +08:00
yunlzheng a7bfb8ec10 ci: fixed mock generate 2020-03-13 13:37:10 +08:00
yunlzheng 4bbfdeb9f8 ci: add travis ci notification. 2020-03-13 13:29:34 +08:00
yunlzheng ed88ca198d ci: fixed mockgen not found error. 2020-03-13 13:21:29 +08:00
yunlzheng b9ce4478f4 test: add test case for ssh key generator 2020-03-13 13:18:04 +08:00
yunlzheng 84b4f135bd test: add test case for create service. 2020-03-13 13:11:44 +08:00
yunlzheng 6273005d06 test: add test case for cluster crid cal 2020-03-13 13:06:47 +08:00
yunlzheng 01ab876774 test: add test case for create shadow 2020-03-13 12:42:52 +08:00
yunlzheng 33ef1a03c9 ci: refactor and clean unused script 2020-03-13 10:30:27 +08:00
yunlzheng 6f7898049e test: refact generate mock data package 2020-03-13 10:27:27 +08:00
yunlzheng bd39d3769f doc: update contributing add unit test topic 2020-03-13 09:58:03 +08:00
yunlzheng 1e561fdd29 ci: make sure folder already present before generate mock 2020-03-13 09:56:09 +08:00
yunlzheng 8281c85293 ci: add pkg fake to ignore 2020-03-13 09:53:34 +08:00
yunlzheng 60b5b278ca ci: generate mock before test and remove generated_file from repo 2020-03-13 09:52:54 +08:00
yunlzheng 736b605fad test: #91 add test case for outbound 2020-03-13 00:16:03 +08:00
yunlzheng f7443f47bb test: #91 add test case for dashboard command 2020-03-12 23:04:56 +08:00
yunlzheng aa37cc60db test: #91 refact connect and test case. 2020-03-12 22:51:35 +08:00
yunlzheng 35094f2f9c test: #91 refact kubernetes interface and test case. 2020-03-12 22:35:22 +08:00
yunlzheng 9ff3be7d91 ci: remove json format for go test. 2020-03-12 19:57:36 +08:00
yunlzheng 4ef34caf06 ci: generate coverage html report 2020-03-12 19:56:38 +08:00
yunlzheng dc32216daa test: add test case for run command 2020-03-12 19:54:32 +08:00
yunlzheng f1df3fe357 test: add test case for check command 2020-03-12 17:53:42 +08:00
yunlzheng 9d7e92e140 test: refact mock direction 2020-03-12 17:01:58 +08:00
yunlzheng 81b5a412c7 test: add test case for inbound 2020-03-12 16:03:25 +08:00
yunlzheng a03e9c1bb2 ci: ignore generate mock from test cover report. 2020-03-12 15:15:34 +08:00
yunlzheng 30cf35f887 refact: fix misspell 2020-03-12 14:15:25 +08:00
yunlzheng aa7dfdd104 refact: fixed go lint 2020-03-12 14:14:07 +08:00
yunlzheng af549b833f ci: add go report card badge 2020-03-12 14:10:41 +08:00
yunlzheng 7f492e1457 Merge branch 'feature/shadow-debug-able'
* feature/shadow-debug-able:
  ci: add test coverage badges
  add test coverage badges
  add cc test report to travis
  ci: fixed docker login error
  ci: add go mod cache
  ci: clean up travis script
  ci: clean dockerfile.
  feat: add bug log
  test: add mock generator to makefile and regenerate mock
  feat: make shadow debug able
  ci: use datetime as default tag value.
  fix: remove private error check
2020-03-12 14:01:02 +08:00
yunlzheng 8e6e4f9817 ci: add test coverage badges 2020-03-12 13:58:53 +08:00
yunlzheng 20aa93884c add test coverage badges 2020-03-12 13:58:15 +08:00
yunlzheng 98c12f08e4 add cc test report to travis 2020-03-12 13:31:56 +08:00
yunlzheng a46629bf0a ci: fixed docker login error 2020-03-12 13:07:09 +08:00
yunlzheng 7ea21682cc ci: add go mod cache 2020-03-12 13:04:22 +08:00
yunlzheng cd757a932f ci: clean up travis script 2020-03-12 13:02:50 +08:00
yunlzheng 2bd3122ead ci: clean dockerfile. 2020-03-12 13:00:27 +08:00
yunlzheng e67c54ee64 feat: add bug log 2020-03-12 12:52:40 +08:00
yunlzheng 06a0669225 test: add mock generator to makefile and regenerate mock 2020-03-12 11:19:49 +08:00
yunlzheng 655af047d5 feat: make shadow debug able 2020-03-12 11:14:13 +08:00
yunlzheng 15a121d812 ci: use datetime as default tag value. 2020-03-12 11:00:48 +08:00
yunlzheng 00b18161e1 fix: remove private error check 2020-03-12 10:53:58 +08:00
yunlzheng f4ffe7b972 ci: make shadow debug able 2020-03-12 10:45:53 +08:00
ylzhengandGitHub e670e22af2 Merge pull request #98 from mojo-zd/ssh-generator
ssh keypair dynamic
2020-03-12 00:11:14 +08:00
yunlzheng 967b0362d4 ci: refact run test case first 2020-03-11 16:31:39 +08:00
yunlzheng 70b2a55eb7 ci: add -cover output to ut 2020-03-11 16:28:01 +08:00
yunlzheng e36c893998 test: add test case for fetch svc cirds 2020-03-11 16:21:43 +08:00
yunlzheng 116ae866d5 test: add test case for fetch pod cirds 2020-03-11 16:04:32 +08:00
yunlzheng bd38ea12f8 test: add test case for get pod net cird 2020-03-11 16:03:49 +08:00
yunlzheng 1c16e843e9 ci: remove unused variable in makefile 2020-03-11 15:19:09 +08:00
ylzhengandGitHub 16a1a747e9 Merge pull request #97 from zeusro/master
bug fix: add SIGKILL signal
2020-03-11 09:45:58 +08:00
yunlzheng e4d16ea952 ci: disable decode config.yaml 2020-03-10 20:52:55 +08:00
yunlzheng 2c368caf96 ci: add encrypt config.yaml for integration test 2020-03-09 15:33:40 +08:00
ylzhengandGitHub f555ddd975 Merge pull request #95 from zeusro/develop
improvement: update apiVersion
2020-03-09 14:46:30 +08:00
yunlzheng d381a33862 doc: update readme 2020-03-08 18:45:42 +08:00
yunlzheng b5a2a0dea6 Merge branch 'master' of github.com:alibaba/kt-connect
* 'master' of github.com:alibaba/kt-connect:
  doc: update content for release-0.0.12
2020-03-08 17:07:06 +08:00
yunlzheng b306c47507 docs: update en-us coverpage version link 2020-03-08 17:06:49 +08:00
ylzhengandGitHub a8eec68d33 Merge pull request #92 from alibaba/release-0.0.12
release-0.0.12
2020-03-08 17:04:41 +08:00
yunlzheng 11ef7c8198 doc: update content for release-0.0.12 2020-03-08 17:03:58 +08:00
yunlzheng 6d0d8d5b75 ci: remove cli container build 2020-03-08 16:29:03 +08:00
yunlzheng 60349c0e69 refact: remove unused code and build-scripts 2020-03-08 16:19:14 +08:00
yunlzheng 83c9394318 fix: fix travis.yaml 2020-03-08 15:12:19 +08:00
yunlzheng 7831ec4257 improve: use go build without docker for ktctl 2020-03-08 14:52:45 +08:00
yunlzheng 22c40a6f72 fix: fixed GetRandomSSHPort fail and add test case. 2020-03-08 13:33:17 +08:00
yunlzheng ff0e731575 improve: make sure port-forward is already successful. 2020-03-08 13:32:17 +08:00
yunlzheng f67fa8fb9c refact: markup informer stoped after use 2020-03-08 11:26:51 +08:00
yunlzheng 14204a71d8 refact: make cloud watcher stopable 2020-03-08 11:01:52 +08:00
yunlzheng 6c45e69f30 refact: make cloud watcher stopable 2020-03-08 10:55:57 +08:00
yunlzheng fc7aaf7e77 test: add test case for connect 2020-03-08 09:28:08 +08:00
yunlzheng 5f6d253e06 docs: #88 add port maping usage 2020-03-07 20:09:32 +08:00
yunlzheng bb2e24fd36 improve: use log with level relace printf 2020-03-07 19:55:27 +08:00
yunlzheng 44730d4e70 improve: generate mock for shadow and kubernetes, add test case for connect. 2020-03-06 23:12:07 +08:00
yunlzheng f4046690bd improve: generate mock for shadow and kubernetes, add test case for connect. 2020-03-06 23:11:24 +08:00
yunlzheng c45bbadbab Merge branch 'feature/testbility-for-cluster'
* feature/testbility-for-cluster:
  improve: remove go master from travis
  improve add test case for util
  fixed code error
  improve: rename shadow interface
  improve: create shadow interface
  improve: clean code
  improve: use kubernetes interface in mesh command
  improve: 🧪 refactor command exchange use kubernetes interface
  feat: #89 refactor command exchange use kubernetes interface
  improve: #89 refactor command connect use kubernetes interface
  improve: 🧪 clean code
  add cluster interface
2020-03-06 22:39:57 +08:00
yunlzheng 6526667ef0 improve: remove go master from travis 2020-03-06 22:32:43 +08:00
yunlzheng 57cbb6c2c1 improve add test case for util 2020-03-06 22:31:43 +08:00
yunlzheng d162f20a02 fixed code error 2020-03-06 21:14:15 +08:00
yunlzheng e4f8f6e021 improve: rename shadow interface 2020-03-06 21:07:55 +08:00
yunlzheng a86e313445 improve: create shadow interface 2020-03-06 21:02:00 +08:00