Commit Graph

67 Commits (ddd31262bd7482f87333b75ae5b24a54445fa1c4)

Author SHA1 Message Date
Predrag Rogic 5efcdf83ab
fix boilerplate for time-to-k8s git submodule 2021-08-14 14:39:49 +01:00
Steven Powell 172a267fcf missed - in error message 2021-04-09 17:17:24 -07:00
Steven Powell 689763453e check for file changes in CI 2021-04-09 17:02:30 -07:00
Steven Powell 2694a7a392 prevent error message from being printed when no error 2021-04-08 12:06:31 -07:00
Steven Powell a91152b1fe detect if go.sum changed after running go mod tidy 2021-04-08 11:58:02 -07:00
Li Zhijian 0ad929f17e test.sh: cleanup cov_tmp
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
2020-06-17 18:37:05 +08:00
Thomas Stromberg b791cdcd08 Make tests noise-free again by default 2020-04-09 22:12:36 -07:00
Priya Wadhwa 6fdecf2ebf Add unit test to check that docs are up to date
This requires the following changes:

1. We need to pass in -ldflags to `go test`, since we need to know the curren iso version to correctly generate the description for --iso-url

2. We need to rewrite the description of the --driver flag on `minikube start` because it is operating system specific, which doesn't make sense for our documentation
2020-04-02 10:48:47 -07:00
Sharif Elgamal c42d3aa3cc
combine lint and boilerplate 2019-10-25 15:53:04 -07:00
Nanik T 83b52b1d08 Previous boilerplate fix break make test
The fix change to boilerplate directory but did not change back
to the original directory.

Use pushd and popd to store the directory within the context of
the boilerplate script
2019-10-24 08:29:15 +11:00
Thomas Strömberg 989dc02ec3
Merge pull request #5544 from duohedron/boilerplate
Get rid of python scripts in build process
2019-10-23 11:58:25 -07:00
Nanik T 197215f85d Make error message more human readable
Changes made:
* service.go - changes to the error string returned
* service_test.go - modify TestWaitAndMaybeOpenService test case to accomodate
for the new changes
2019-10-08 09:02:43 +11:00
duohedron 2e4512ea18 Squashed commit of the following:
commit 06c248b843151906dce6f2aa499e5aa521ad3147
Author: duohedron <kopi@duohedron.com>
Date:   Mon Oct 7 16:20:56 2019 +0200

    Revert travis.yml

commit 18f8d2f1985834f1bd95e271e009b55b2d18c3fb
Author: duohedron <kopi@duohedron.com>
Date:   Mon Oct 7 16:14:46 2019 +0200

    Switch lint and boilerplate in .travis.yml

commit e75dd2434da804649f5a0b6169f819037efd59ae
Author: duohedron <kopi@duohedron.com>
Date:   Mon Oct 7 16:10:48 2019 +0200

    Fix env in .travis.yml

commit 94d105f50b8555e01303857dcb9ded0785dbd122
Author: duohedron <kopi@duohedron.com>
Date:   Mon Oct 7 15:55:22 2019 +0200

    Fix fileExtension in boilerplate.go

commit b1b4e8145fc20c8a2a4e062b98f455206983b1d5
Author: duohedron <kopi@duohedron.com>
Date:   Mon Oct 7 14:50:26 2019 +0200

    Fix absolute path containing skipped dirs in boilerplate.go

commit 52f8d62688d3289d4210ebd2ac81116c38aaf2fa
Author: duohedron <kopi@duohedron.com>
Date:   Mon Oct 7 14:00:33 2019 +0200

    Modify Travis CI to use one VM instead of three

commit 99534ebe4c84f78dac12f2bc8b423143c6a79258
Author: duohedron <kopi@duohedron.com>
Date:   Mon Oct 7 13:59:28 2019 +0200

    Changed fix.sh to use go run

commit dd3fd243341666e5d47d105fb2d25eedfecf1c74
Author: duohedron <kopi@duohedron.com>
Date:   Mon Oct 7 13:37:08 2019 +0200

    Change go build to go run in test.sh

commit 2d5f22b826c205d2cbf5e9e0909555198c19d85f
Author: duohedron <kopi@duohedron.com>
Date:   Mon Oct 7 13:23:55 2019 +0200

    Fix whitespaces and function names
2019-10-07 16:48:37 +02:00
duohedron 6c907daa07 Fix/refactor boilerplate.go 2019-10-06 22:56:53 +02:00
duohedron bcd7d73389 Boilerplate checking python script replaced with go 2019-10-05 19:31:39 +02:00
Medya Gh 5d8bdde83a use [[ instead of [ 2019-09-25 13:16:16 -07:00
Medya Gh c5121099cf give name to each test 2019-09-25 11:29:21 -07:00
Medya Gh e2f91f0933 travis parallel refactor 2019-09-25 11:20:28 -07:00
Medya Gh 9b99de5806 travis golang 2019-09-25 10:31:15 -07:00
Medya Gh 3aece1262a install libvirt travis 2019-09-25 10:17:42 -07:00
Medya Gh 9cb3f99a33 run make test locally 2019-09-25 09:54:30 -07:00
Medya Gh c97aa4dcc1 parallel travis tests 2019-09-25 08:33:34 -07:00
Thomas Stromberg a6ef385036 boilerplate: Filter ./out and /hugo 2019-08-14 07:30:17 -07:00
Thomas Strömberg 128bdfbe27
Merge pull request #4674 from kubernetes/docsy2
Switch documentation site to docsy theme, add sample content
2019-07-29 11:51:48 -07:00
Medya Ghazizadeh 53b37e2beb Separate make lint targets for developers vs travis (#4852)
* Lowering memory for golangci-lint

* ci 2 jobs , gogc 5

* change ci jobs number

* added a new make target for ci and for developers

* reuse golint options for two targets
2019-07-24 10:34:53 -07:00
Thomas Stromberg 1ba2cd865f merge conflict 2019-07-19 19:25:32 -07:00
Thomas Stromberg 774832b22f Address boilerplate and mixed content linter issues 2019-07-19 19:23:41 -07:00
Sharif Elgamal 015117e04a
Ignore generated file for boilerplate 2019-06-24 15:34:24 -07:00
Thomas Stromberg bb820395ea Make go mod download not-fatal 2019-05-21 18:30:59 -07:00
Thomas Stromberg 6b14fc1cfd Remove extraneous space 2019-05-21 18:26:58 -07:00
Thomas Stromberg a18c9a3fe1 Remove extraneous 'go modules' output from ./test.sh 2019-05-21 18:15:58 -07:00
tstromberg 681ba49099 Hide go download status, as it pollutes Travis CI output 2019-05-14 09:09:48 -07:00
tstromberg 6156a08f71 Add go mod download/tidy, clean up output 2019-05-14 09:05:07 -07:00
Thomas Stromberg 6e693d22ee lint-a-geddon is here 2019-05-13 21:43:52 -07:00
tstromberg 9a9f9edf5f First pass at lint-ageddon 2019-05-13 18:31:55 -07:00
Tiago Ilieve 8b17e6070c Add Go modules, remove Go dep 2019-05-13 20:39:31 +02:00
Sharif Elgamal ffaa27b256
Adding test to make sure HEAD can run on VM created by latest release 2019-03-21 17:36:13 -07:00
Thomas Strömberg 457d671cc9
Merge pull request #3229 from afbjorklund/makedepend-buildroot
Avoid out directory, when listing test files
2019-01-16 11:15:34 -08:00
Balint Pato ae9f4b20c7
minikube tunnel (#3015)
This commit introduces a new command, `minikube tunnel`, a LoadBalancer emulator functionality, that must be run with root permissions.

This command:

* Establishes networking routes from the host into the VM for all IP ranges used by Kubernetes.
* Enables a cluster controller that allocates IPs to services external `LoadBalancer` IPs.
* Cleans up routes and IPs when stopped (Ctrl+C), when `minikube` stops, and when `minikube tunnel` is ran with the `--cleanup` flag
2018-10-18 11:01:47 -07:00
Anders F Björklund d13a26648e Avoid out directory, when listing test files
Especially out/buildroot takes ages to "go list".
Literally 5 minutes, for my 16 GB directory...

So list "cmd" and "pkg" explicitly, to avoid "out".
Unfortunately only "vendor" is allowed to exclude.
2018-10-06 21:04:44 +02:00
Thomas Stromberg c1fbd2c678 Remove unneccesary newline. 2018-10-04 13:32:54 -07:00
Thomas Stromberg e2ff1f566c Show diff only on changed files that are not excluded. 2018-10-04 13:31:04 -07:00
Thomas Stromberg d569a42554 Output the gofmt diff rather than just listing files.
It is otherwise difficult to debug issues when a contributors gofmt
version differs from the one Travis uses.
2018-10-04 13:19:40 -07:00
Matt Rickard a7d568441c Remove localkube from bindata
This makes the minikube build simpler and the the binary smaller.
Localkube will always be remotely fetched and locally cached on the
host.
2017-10-19 12:56:29 -04:00
Matt Rickard 57aa3e61a9 Use the build tags for containers/image everywhere 2017-08-30 22:36:21 -07:00
Aaron Prindle 840c8c2f82 Removed /docs and docs-test from test.sh 2017-04-10 09:47:17 -07:00
Matt Rickard b53320dee2 Ignore ./out folder in gofmt test 2017-01-17 13:00:36 -08:00
dlorenc 4299294814 Make the gofmt error a little easier to read in tests. 2016-09-22 14:55:43 -07:00
Matt Rickard 42a93b20b8 Use double brackets instead of single for boilerplate test
If you have multiple files without the boilerplate text, single
brackets won't print it out properly.
2016-09-06 11:09:30 -07:00
Aaron Prindle 85ae6ea86f Added test coverage monitoring. Also added comments to test.sh changes. 2016-08-18 16:19:03 -07:00