-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding the first test. #1
Conversation
hackintoshrao
commented
Dec 23, 2016
- Readme with design and usage added.
- First test added.
- Minio-go functional test is used.
ebcbfe7
to
d8f9377
Compare
- Readme with design and usage added. - First test added. - Minio-go functional test is used.
d8f9377
to
d5f9f3e
Compare
```sh | ||
- Build and Run. | ||
|
||
$ docker build -t mint:alpha |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be "docker build -t minio/mint:alpha"
- Build and Run. | ||
|
||
$ docker build -t mint:alpha | ||
$ docker run -e ENDPOINT=play.minio.io:9000 -e ACCESS_KEY=Q3AM3UQ867SPQQA43P2F -e SECRET_KEY=zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG -e ENABLE_HTTPS=1 mint:alpha |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One extract space after docker run
RUN \ | ||
apk add --no-cache bash git openssh && \ | ||
go get -u github.com/minio/minio-go && \ | ||
go build exec-concurrent.go && \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exec-concurrent.go
is not present. yet.. ? is this a future file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, This is future file. Will remove it for now.
RUN \ | ||
apk add --no-cache bash git openssh && \ | ||
go get -u github.com/minio/minio-go && \ | ||
go test -c api_functional_v4_test.go |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You might have to cd
into minio-go directory. Then you don't need to include api_functional_v4_test.go
into this project itself.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have slight modifications to the test file in terms of using environment variables. Also will be bringing in exec-concurrent .
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some changes..
9c5d8bb
to
8dd1c81
Compare