Harshavardhana
ee4a6a823d
Migrate config to KV data format ( #8392 )
...
- adding oauth support to MinIO browser (#8400 ) by @kanagaraj
- supports multi-line get/set/del for all config fields
- add support for comments, allow toggle
- add extensive validation of config before saving
- support MinIO browser to support proper claims, using STS tokens
- env support for all config parameters, legacy envs are also
supported with all documentation now pointing to latest ENVs
- preserve accessKey/secretKey from FS mode setups
- add history support implements three APIs
- ClearHistory
- RestoreHistory
- ListHistory
- add help command support for each config parameters
- all the bug fixes after migration to KV, and other bug
fixes encountered during testing.
5 years ago
Harshavardhana
6a4ef2e48e
Initialize configs correctly, move notification config ( #8367 )
...
This PR also removes deprecated tests, adds checks
to avoid races reproduced on CI/CD.
5 years ago
Harshavardhana
290ad0996f
Move etcd, logger, crypto into their own packages ( #8366 )
...
- Deprecates _MINIO_PROFILER, `mc admin profile` does the job
- Move ENVs to common location in cmd/config/
5 years ago
Harshavardhana
cb01516a26
In HDFS gateway fix non-empty folder behavior ( #8254 )
...
To be compatible with our FS and Erasure coded
mode deployments, make sure that we do not send
200 OK for folders which have files inside.
Fixes #8143
5 years ago
Harshavardhana
94e5cb7576
Migrate to go1.13 to avail all new features ( #8203 )
...
Read more https://blog.golang.org/go1.13
5 years ago
Harshavardhana
add1b6cb6b
Remove go mod cache due to buggy travis caching ( #8113 )
...
There are sporadic failures due to go-mod build
caches on travis, deprecate it since we moved to
using GOPROXY.
5 years ago
Harshavardhana
b83413b167
Use GOPROXY to speed up builds ( #7984 )
...
Read more here https://proxy.golang.org proposal
for go1.13
5 years ago
Harshavardhana
1dc25bcf5f
Add mint tests into MinIO repo ( #7886 )
5 years ago
Harshavardhana
720ed3f5e8
Add go-mod cache for .travis to speed up builds ( #7477 )
6 years ago
Harshavardhana
313a3a286a
Migrate to go1.12 to simplify our cmd/http package ( #7302 )
...
Simplify the cmd/http package overall by removing
custom plain text v/s tls connection detection, by
migrating to go1.12 and choose minimum version
to be go1.12
Also remove all the vendored deps, since they
are not useful anymore.
6 years ago
Sidhartha Mani
6bc0de2a75
add go modules file and start running go 1.11 style builds ( #7354 )
6 years ago
Aditya Manthramurthy
f97a33a63f
Downgrade node temporarily ( #7333 )
...
To fix jest related build failure as recommended at https://github.com/facebook/jest/issues/8069#issuecomment-470307590
6 years ago
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.
6 years ago
Bala FA
b0deea27df
Refactor s3select to support parquet. ( #7023 )
...
Also handle pretty formatted JSON documents.
6 years ago
Harshavardhana
b5280ba243
Migrate to Go version 1.11.4 ( #7026 )
6 years ago
Harshavardhana
bebaff269c
Support IPv6 in minio command line ( #6947 )
...
Fixes #6946
6 years ago
Harshavardhana
30040fba45
Add windows CI on travis ( #6661 )
6 years ago
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.
6 years ago
Harshavardhana
7d7e21aebb
Merge initConfig logic to ConfigSys ( #6312 )
6 years ago
kannappanr
7b91bd71fe
Remove ppc64le support from .travis.yml ( #6180 )
...
Travis CI for ppc64le stays in queued state.
Removing the support for now.
6 years ago
Rafael Peria de Sene
317e648c0d
Add support for ppc64le ( #6116 )
...
Signed-off-by: Rafael Peria de Sene <rpsene@br.ibm.com>
6 years ago
Harshavardhana
73f7a98590
Enable go1.10.1 version ( #5666 )
7 years ago
Kanagaraj M
19451e374a
revert browser newux changes ( #5714 )
7 years ago
Kanagaraj M
1c91c7b54d
added eslint prettier check to travis ( #5701 )
...
- "yarn eslint" will throw the error if there are any formatting issues
- "yarn format" will format the js file based on the project's
prettier configuration.
7 years ago
Kanagaraj M
4ca0ec4586
added yarn test to travis.yml ( #5696 )
7 years ago
Harshavardhana
6b3db7556a
Fix gofmt issues reported for simplification ( #5581 )
...
added travis to catch this issue
7 years ago
Harshavardhana
fd3897d0c3
Move to go1.9.4 with recent security release ( #5502 )
7 years ago
Bala FA
d28b3d8801
Move to go1.9.1 as default environment. ( #5041 )
7 years ago
Bala FA
d8a11c8f4b
fix build failure for go1.9 ( #4872 )
7 years ago
Davor Kapsa
aceaa1ec48
travis: update go versions ( #4945 )
7 years ago
Harshavardhana
58633a383a
Deprecate intel-32, arm64, arm support for minio builds. ( #4811 )
...
It was decided that we will be deprecating ARM support
for minio builds. ARM users should simply compile from source.
Additionally 32bit version of Linux, Windows and FreeBSD (64bit)
are deprecated.
7 years ago
A. Elleuch
b4dc6df35c
go1.8: Changes to support golang 1.8 ( #4759 )
...
QuirkConn is added to replace net.Conn as a workaround to a golang bug:
https://github.com/golang/go/issues/21133
7 years ago
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.
8 years ago
Harshavardhana
e3b627a192
docker: Add ARM64 image build support ( #3876 )
8 years ago
Harshavardhana
433225ab0d
docker: ca-certificates should not be removed. ( #3868 )
8 years ago
Harshavardhana
3e655a2c85
docker: Add ARM docker container dockerfile. ( #3574 )
8 years ago
Harshavardhana
99a12613a3
update: For source builds look for absolute path. ( #3780 )
...
os.Args[0] doesn't point to absolute path we need
use exec.LookPath to find the absolute path before
sending os.Stat().
8 years ago
Harshavardhana
31dff87903
Honor envs properly for access and secret key. ( #3703 )
...
Also changes the behavior of `secretKeyHash` which is
not necessary to be sent over the network, each node
has its own secretKeyHash to validate.
Fixes #3696
Partial(fix) #3700 (More changes needed with some code cleanup)
8 years ago
Harshavardhana
ac9ba13c19
build: Increase the travis build test timeout to 15mins
8 years ago
Harshavardhana
ccd949d8ca
Add -v for race tests to avoid travis and appveyor timeouts. ( #3647 )
...
This is added so that CI's don't wrong fully timeout on
little longer running tests.
8 years ago
Alex
d6a327fbc5
Add notifications by webhook.
...
Add a new config entry moving to version 13.
```
"webhook": {
"1": {
"enable": true,
"address": "http://requestb.in/1i9al7m1 "
}
}
```
8 years ago
Harshavardhana
d31f256020
Fail on lint errors during CI build.
8 years ago
Harshavardhana
e9c45102b0
posix: Use sync.Pool buffers to copy in large buffers. ( #3106 )
...
These fixes are borrowed from the fixes required for GlusterFS i/o throughput.
8 years ago
Harshavardhana
83b364891d
tests: Fix a potential race in ListenBucketNotificationHandler. ( #3040 )
8 years ago
Harshavardhana
ecaccefd2e
tests: Implement GetBucketNotification handler tests. ( #3029 )
8 years ago
Mike Ralphson
7fc1685b7a
Allow Travis builds from GitHub forks ( #2958 )
...
Set the go_import_path explicitly. See
https://docs.travis-ci.com/user/languages/go#Go-Import-Path
8 years ago
Harshavardhana
f22862aa28
heal: Refactor heal command. ( #2901 )
...
- return errors for heal operation through rpc replies.
- implement rotating wheel for healing status.
Fixes #2491
8 years ago
Harshavardhana
f72163f856
build: Deprecate requirement of GOROOT ( #2803 )
8 years ago
Anis Elleuch
ef22330563
Require go 1.7.1 to build Minio server ( #2727 )
8 years ago
Harshavardhana
780ccc26f7
server: Validate server arguments for duplicates. ( #2554 )
...
- Validates invalid format inputs.
- Validates duplicate entries.
- Validates sufficient amount of disks.
Partially fixes #2502
8 years ago