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
Jimmi Dyson
a258387f34
Add make gendocs target
2016-07-08 17:56:15 +01:00
Dan Lorenc
595a9cbbc6
Add an automated test for the releases.json schema.
2016-06-26 11:54:22 -07:00
dlorenc
ac14eff554
Move the addon-manager and dashboard configuration from the iso to minikube.
...
Minikube now copies these into the VM, just like it copies in localkube.
New ISOs will not contain these files, but this is compatible with the existing ISO
because minikube will overwrite existing files.
2016-06-09 15:35:09 -07:00
dlorenc
c6a51b992d
Minor bugfix in help text test.
2016-06-09 15:22:10 -07:00
aprindle
3c59245f32
Added gen_help_text.go and docs/ directory for cobra generated help
...
documentation. Added test in Travis for making sure docs are up-to-date.
2016-06-07 16:44:06 -07:00
Lucas Käldström
1d3a172806
Use python on host if present, otherwise fallback on python dockerized
2016-05-28 00:09:16 +03:00
Lucas Käldström
f1af7387cc
PR feedback and added python-in-docker for test.sh too
2016-05-26 18:55:15 +03:00
Dan Lorenc
2858ff3b3e
Check boilerplate in all files.
...
Also fix misisng boilerplate.
2016-05-24 21:57:16 -07:00
dlorenc
5cdb140b31
Switch from .gopath to _gopath to be consistent with kubernetes.
2016-05-24 10:54:24 -07:00