Skip to content
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

Implement MinIO plugin #2

Merged
merged 2 commits into from
Jun 26, 2024
Merged

Conversation

iNikitaGricenko
Copy link
Contributor

What changes are being made and why?

  • Implemented plugin MinIO
  • Tested using MinIO container and S3 container (LocalstackContainer)

How the changes have been QAed?

tasks:
  - id: createBucket
    type: io.kestra.plugin.minio.CreateBucket
    bucket: test-bucket
    endpoint: http://s3.localhost.localstack.cloud:4566
    region: us-east-1
    accessKeyId: accesskey
    secretKeyId: secretkey

  - id: upload
    type: io.kestra.plugin.minio.Upload
    bucket: test-bucket
    endpoint: http://s3.localhost.localstack.cloud:4566
    region: us-east-1
    accessKeyId: accesskey
    secretKeyId: secretkey
    from: "{{ inputs.file }}"
    key:  path/to/file

  - id: download
    type: io.kestra.plugin.minio.Download
    bucket: test-bucket
    endpoint: http://s3.localhost.localstack.cloud:4566
    region: us-east-1
    accessKeyId: accesskey
    secretKeyId: secretkey
    key:  path/to/file

triggers:
  - id: watch
    type: io.kestra.plugin.minio.Trigger
    bucket:  test-bucket
    interval: PT10S
    action: DELETE
    endpoint: http://s3.localhost.localstack.cloud:4566
    region: us-east-1
    accessKeyId: accesskey
    secretKeyId: secretkey

src/main/java/io/kestra/plugin/minio/CreateBucket.java Outdated Show resolved Hide resolved
build.gradle Outdated Show resolved Hide resolved
build.gradle Outdated Show resolved Hide resolved
src/main/java/io/kestra/plugin/minio/Delete.java Outdated Show resolved Hide resolved
src/main/java/io/kestra/plugin/minio/Copy.java Outdated Show resolved Hide resolved
src/main/java/io/kestra/plugin/minio/Trigger.java Outdated Show resolved Hide resolved
src/main/java/io/kestra/plugin/minio/Trigger.java Outdated Show resolved Hide resolved
src/main/java/io/kestra/plugin/minio/Upload.java Outdated Show resolved Hide resolved
src/main/java/io/kestra/plugin/minio/Upload.java Outdated Show resolved Hide resolved
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not used, should be deleted

@loicmathieu
Copy link
Member

@iNikitaGricenko I'll take it over as there is only one render missing. Thanks.

@loicmathieu loicmathieu merged commit 0d7fd70 into kestra-io:master Jun 26, 2024
1 check passed
@iNikitaGricenko
Copy link
Contributor Author

Sorry. I didn't get notification, but even with that I'm not able to properly work this week, due to electric issues. So I would be glad if you could fix that small missing render

@loicmathieu
Copy link
Member

@iNikitaGricenko in fact the rendering was done somewhere else so their was just some minor doc improvements that I did, now it's merged.

Hope you're going well and safe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants