-
Notifications
You must be signed in to change notification settings - Fork 203
#18 minio (S3) in CI #237
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
#18 minio (S3) in CI #237
Conversation
mc - MinIO Client for object storage and filesystems. USAGE: mc [FLAGS] COMMAND [COMMAND FLAGS | -h] [ARGUMENTS...] COMMANDS: alias manage server credentials in configuration file ls list buckets and objects mb make a bucket rb remove a bucket cp copy objects mv move objects rm remove object(s) mirror synchronize object(s) to a remote site cat display object contents head display first 'n' lines of an object pipe stream STDIN to an object find search for objects sql run sql queries on objects stat show object metadata tree list buckets and objects in a tree format du summarize disk usage recursively retention set retention for object(s) legalhold manage legal hold for object(s) support support related commands license license related commands share generate URL for temporary access to an object version manage bucket versioning ilm manage bucket lifecycle quota manage bucket quota encrypt manage bucket encryption config event manage object notifications watch listen for object notification events undo undo PUT/DELETE operations anonymous manage anonymous access to buckets and objects tag manage tags for bucket and object(s) diff list differences in object name, size, and date between two buckets replicate configure server side bucket replication admin manage MinIO servers update update mc to latest release ready checks if the cluster is ready or not ping perform liveness check od measure single stream upload and download batch manage batch jobs GLOBAL FLAGS: --autocompletion install auto-completion for your shell --config-dir value, -C value path to configuration folder (default: "/Users/rich/.mc") --quiet, -q disable progress bar display --no-color disable color theme --json enable JSON lines formatted output --debug enable debug output --insecure disable SSL certificate verification --limit-upload value limits uploads to a maximum rate in KiB/s, MiB/s, GiB/s. (default: unlimited) --limit-download value limits downloads to a maximum rate in KiB/s, MiB/s, GiB/s. (default: unlimited) --help, -h show help --version, -v print the version TIP: Use 'mc --autocompletion' to enable shell autocompletion COPYRIGHT: Copyright (c) 2015-2022 MinIO, Inc. LICENSE: GNU AGPLv3 <https://www.gnu.org/licenses/agpl-3.0.html> binary
AWS_ACCESS_KEY_ID: minioadmin | ||
AWS_SECRET_ACCESS_KEY: minioadmin | ||
AWS_ENDPOINT_URL: http://127.0.0.1:9000 | ||
uses: BerniWittmann/background-server-action@v1.0.4 |
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.
there are several tries to run roapi
in background, however, it is quite hard in Github Actions, until I found this background-server-action
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.
interesting, shouldn't we be able to simply run roapi as a background job in a bash script (e.g. query_blogs.sh)?
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.
it is a bit annoying and hard to debug, probably because I am not that familiar with Github Actions. (e.g. I didn't find pause and ssh that were available in CircleCI or Buildkite)
I try run it as background in commit a552fa9, but looks like the process got exit immediately (while my local terminal works)
@@ -45,7 +45,7 @@ fn new_http_client() -> Result<rusoto_core::HttpClient, rusoto_core::request::Tl | |||
// S3: http2 is not used | |||
// GCS: http2 does not work with rustls | |||
// https://github.com/rusoto/rusoto/pull/1985 | |||
builder.https_only().enable_http1().build() | |||
builder.https_or_http().enable_http1().build() |
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.
required since only http in CI
rusoto/rusoto#1980
Why
close #18
Test
a successful run of
s3_test
at https://github.com/jychen7/roapi/actions/runs/3870299897/jobs/6597118990