Sidhartha Mani
6bc0de2a75
add go modules file and start running go 1.11 style builds ( #7354 )
2019-03-19 13:50:58 -07:00
Harshavardhana
2232b0b55f
Fix mac build failure for healthcheck binary ( #7263 )
2019-02-21 08:11:16 +05:30
Nitish Tiwari
1e82c4a7c4
Implement Docker healthcheck script in Go ( #7105 )
...
Go script makes it easy to read/maintain. Also updated the timeout
in Dockerfiles from 5s to default 30s and test interval to 1m
Higher timeout makes sense as server may sometimes respond slowly
if under high load as reported in #6974
Fixes #6974
2019-02-20 21:42:03 +05:30
Harshavardhana
df35d7db9d
Introduce staticcheck for stricter builds ( #7035 )
2019-02-13 18:29:36 +05:30
Harshavardhana
8e0910ab3e
Fix build issues on BSDs in pkg/cpu ( #7116 )
...
Also add a cross compile script to test always cross
compilation for some well known platforms and architectures
, we support out of box compilation of these platforms even
if we don't make an official release build.
This script is to avoid regressions in this area when we
add platform dependent code.
2019-01-22 09:27:23 +05:30
Bala FA
b0deea27df
Refactor s3select to support parquet. ( #7023 )
...
Also handle pretty formatted JSON documents.
2019-01-08 16:53:04 -08:00
Harshavardhana
b5280ba243
Migrate to Go version 1.11.4 ( #7026 )
2018-12-28 14:04:39 -08:00
Pontus Leitzler
f9779b24ad
Enable default vet flags ( #6810 )
...
Enable default vet flags except experimental
2018-11-14 10:23:44 -08:00
Andreas Auernhammer
f09e7ca764
fix travis CI build ( #6620 )
...
This commit fixes the Travis CI build by
correcting the golint import path
2018-10-11 14:58:44 -07:00
Harshavardhana
ec2295c3dc
Quickly build dev docker images using 'make docker' ( #6505 )
...
This PR simplifies the process of developer build of local
docker containers using `make docker`.
You need to provide a TAG i.e
```
TAG=y4m4/minio:exp make docker
```
2018-09-25 10:33:25 -07:00
Harshavardhana
a13cd7b7c4
Separate build functional tests from Makefile ( #6351 )
...
Recently travis seems to have issues with builds after
merge, so this PR is an experiment to fix this.
Failed: https://travis-ci.org/minio/minio/builds/419769285#L2310
Succeeded: https://travis-ci.org/minio/minio/builds/419565606#L2322
This PR was tested to be working properly on my fork to build
on travis, would need to do the same in minio/minio and see
how it goes through.
2018-08-28 13:57:01 +05:30
Arjun Mishra
7c14cdb60e
S3 Select API Support for CSV ( #6127 )
...
Add support for trivial where clause cases
2018-08-15 03:30:19 -07:00
Harshavardhana
e5e522fc61
docs: fix all Chinese doc links for the new docs site ( #6097 )
...
Additionally fix typos, default to US locale words
2018-06-28 16:02:02 -07:00
kannappanr
d94500ae26
Makefile: Create bin directory if it doesn't exist ( #6050 )
2018-06-18 11:45:28 -07:00
Harshavardhana
74328c3061
Implement auto cert reloading ( #5963 )
2018-05-31 12:30:15 -07:00
Harshavardhana
c59f1e3a80
revamp minio build messages ( #5519 )
2018-02-14 10:29:19 +05:30
Harshavardhana
eb2894233c
Convert gateways into respective packages ( #5200 )
...
- Make azure gateway a package
- Make b2 gateway a package
- Make gcs gateway a package
- Make s3 gateway a package
- Make sia gateway a package
2017-12-05 17:58:09 -08:00
Aditya Manthramurthy
d1a6c32d80
Improve make and make install messages ( #5207 )
2017-11-21 16:22:01 -08:00
Harshavardhana
9eb52ec7c7
Remove release scripts for minio. ( #5181 )
...
Use `GOOS=<osname> go build` to build minio for any platform of choice.
2017-11-14 17:05:40 -08:00
Bala FA
d28b3d8801
Move to go1.9.1 as default environment. ( #5041 )
2017-10-09 22:23:59 -07:00
Bala FA
88938340b3
remove all dead codes ( #5019 )
...
Fixes #5012
2017-10-05 12:25:45 -07:00
Bala FA
1bb3a03099
build: add verify check on make test
( #4901 )
...
This patch adds basic tests for FS/XL/Distribute setups.
2017-09-12 16:56:33 -07:00
Brendan Ashworth
c59b995f7b
build: ditch verifiers on make ( #4679 )
...
This commit ditches running verifiers automatically when just building
the server. It retains the verifiers when running tests.
There is very little point to running the verifiers each time a
developer builds the library but has no intent of running the tests.
They're expensive in time; this commit halves the build time on my
system, from 57 seconds to 29 seconds. This is because verifiers updates
the libraries from GitHub each time, which is slightly wasteful.
Additionally, computing cyclomatic complexity is expensive
computationally and isn't necessary to build the library.
Additionally, this allows the library to be built offline. It no longer
requires internet to run make.
2017-07-15 12:12:03 -07:00
Harshavardhana
a86dc8a4c5
cleanup makefile and enable CGO_ENABLED=0 ( #4598 )
2017-06-26 18:07:06 -07:00
Harshavardhana
432bf7d99e
Fail if formatting is wrong in our CI tests. ( #4459 )
...
We didn't fail before, we should helps in avoiding
formatting issues to creep into the codebase.
2017-06-02 14:05:51 -07:00
Harshavardhana
b78f6fbcc5
Do not send envVars in ServerInfo() ( #4422 )
...
Sending envVars along with access and secret
exposes the entire minio server's sensitive
information. This will be an unexpected
situation for all users.
If at all we need to look for things like if
credentials are set through env, we should
only have access to only this information
not the entire set of system envs.
2017-05-24 21:09:23 -07:00
Harshavardhana
dc365bca44
build: -s -w should be added by gen-ldflags.go ( #4172 )
2017-04-24 23:01:38 -07:00
Harshavardhana
214279aa57
build: Reduce binary size by using -s -w ( #4027 )
...
Refer #3939
2017-04-01 01:06:16 -07:00
Harshavardhana
4de6b15fca
vet: Fix all the go vet complaints ( #4029 )
...
```
go tool vet -atomic -bool -copylocks -nilfunc \
-printf -shadow -rangeloops -unreachable \
-unsafeptr -unusedresult cmd/
```
2017-04-01 01:06:06 -07:00
Harshavardhana
28eff0f6c1
build: Improve build messaging, say where we built Minio. ( #3973 )
2017-03-25 00:33:57 -07:00
Harshavardhana
43317530d5
Fix odd shadowing bug in XL init. ( #3874 )
...
Fixes #3873
2017-03-08 20:42:45 -08:00
Bala FA
440866d26c
Move go version check into main() ( #3734 )
...
Previously the check was done in init(). This patch moves into main
for unit testable friendly function.
2017-02-11 01:27:27 -08:00
Harshavardhana
464f9d34d6
Remove all references to GO15VENDOREXPERIMENT
2017-01-06 18:42:32 -08:00
Anand Babu (AB) Periasamy
f53fcdf10e
keep make messages consistent ( #3437 )
2016-12-13 00:26:45 -08:00
Harshavardhana
d31f256020
Fail on lint errors during CI build.
2016-12-02 18:08:12 -08:00
Harshavardhana
6efee2072d
objectLayer: Check for format.json
in a wrapped disk. ( #3311 )
...
This is needed to validate if the `format.json` indeed exists
when a fresh node is brought online.
This wrapped implementation also connects to the remote node
by attempting a re-login. Subsequently after a successful
connect `format.json` is validated as well.
Fixes #3207
2016-11-23 15:48:10 -08:00
Anis Elleuch
5741a53d46
More portable way to list files to be spellchecked and include docs/ directory ( #3220 )
2016-11-09 15:17:47 -08:00
Harshavardhana
bccf549463
server: Move all the top level files into cmd folder. ( #2490 )
...
This change brings a change which was done for the 'mc'
package to allow for clean repo and have a cleaner
github drop in experience.
2016-08-18 16:23:42 -07:00
Harshavardhana
0a3d43273f
vendor: sha256 32bit updated. ( #2459 )
2016-08-16 16:19:29 -07:00
Harshavardhana
76d56c6ff2
typo: Fix typos across the codebase. ( #2442 )
2016-08-15 02:44:48 -07:00
Harshavardhana
90c20a8c11
Add codecov for minio. ( #2359 )
2016-08-04 16:48:50 -07:00
Harshavardhana
3fa95f5263
docker: Remove unneeded docker files and makefile tags.
2016-06-21 15:31:30 -07:00
Harshavardhana
a98a7fb1ad
Implement XL layer - preliminary work.
2016-04-25 12:47:31 -07:00
Harshavardhana
ff4e04d942
atomic/fs: use safe package for atomic writes, even in multipart.
2016-04-06 16:05:30 -07:00
Harshavardhana
379e0abf03
cleanup: Remove old donut/xl code and erasure implementation.
...
This is a change to bring in 'klauspost/reedsolomon' library
in #1270 patch.
2016-04-02 17:30:35 -07:00
Harshavardhana
59ee5a547c
release: gz doesn't preserve permissions use tar.gz
...
And fix various other issues with release script.
2016-03-26 23:44:32 -07:00
Anis Elleuch
663f24064b
Add simple FreeBSD support, make the minio project compilable
2016-03-26 22:39:34 +01:00
Harshavardhana
1b0bc814c4
docker: Fix docker Makefile.
2016-03-24 22:53:13 -07:00
Harshavardhana
1ef5ab3c28
docker: Fix docker command entry.
2016-03-24 20:38:36 -07:00
Harshavardhana
41cba3a457
buildscripts: compress release binaries.
...
Fix update command as well to show compressed files in updates.
2016-03-18 23:30:54 -07:00