-
Notifications
You must be signed in to change notification settings - Fork 16
Adding artifacts upload through S3/Minio #71
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
Open
rkube
wants to merge
8
commits into
JuliaAI:main
Choose a base branch
from
rkube:artifacts
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
a9b53d5
Adding artifacts upload through S3/Minio
rkube 5322504
Added unit testing with containerized mlflow/minio
rkube e61470d
fixing CI.yml
rkube c8c1e3e
fixing CI.yml
rkube ebfcaee
Adding authentication to docker file.
rkube b3dc479
Fixing CI pipeline, generating image for artifact testing, and genera…
pebeto e7b047f
Changing `mlflow` port in CI pipeline to pair with test suite
pebeto b617b1d
Using rclone as s3 server in workflows
rkube File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,28 +1,36 @@ | ||
| name = "MLFlowClient" | ||
| uuid = "64a0f543-368b-4a9a-827a-e71edb2a0b83" | ||
| authors = ["@deyandyankov, @pebeto, and contributors"] | ||
| version = "0.7.0" | ||
| authors = ["@deyandyankov, @pebeto, and contributors"] | ||
|
|
||
| [deps] | ||
| AWSS3 = "1c724243-ef5b-51ab-93f4-b0a88ac62a95" | ||
| Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f" | ||
| Dates = "ade2ca70-3891-5945-98fb-dc099432e06a" | ||
| FileTypes = "b58e86d0-4a47-4fce-a54d-8006a143ed90" | ||
| HTTP = "cd3eb016-35fb-5094-929b-558a96fad6f3" | ||
| JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6" | ||
| Minio = "4281f0d9-7ae0-406e-9172-b7277c1efa20" | ||
| ShowCases = "605ecd9f-84a6-4c9e-81e2-4798472b76a3" | ||
| URIs = "5c2747f8-b7ea-4ff2-ba2e-563bfd36b1d4" | ||
| UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4" | ||
|
|
||
| [compat] | ||
| AWSS3 = "0.11.4" | ||
| Base64 = "1.0" | ||
| FileTypes = "0.1.1" | ||
| HTTP = "1.0" | ||
| JSON = "0.21" | ||
| Minio = "0.2.2" | ||
| Plots = "1.41.2" | ||
| ShowCases = "0.1" | ||
| URIs = "1.0" | ||
| julia = "1.0" | ||
|
|
||
| [extras] | ||
| Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f" | ||
| Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" | ||
| Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80" | ||
|
|
||
| [targets] | ||
| test = ["Base64", "Test"] | ||
| test = ["Base64", "Plots", "Test"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| version: '3.8' | ||
|
|
||
| services: | ||
| minio: | ||
| image: minio/minio | ||
| ports: | ||
| - "9000:9000" # S3 API | ||
| - "9001:9001" # Minio Console | ||
| environment: | ||
| - MINIO_ROOT_USER=minioadmin | ||
| - MINIO_ROOT_PASSWORD=minioadmin | ||
| command: server /data --console-address ":9001" | ||
|
|
||
| create-buckets: | ||
| image: minio/mc | ||
| depends_on: | ||
| - minio | ||
| entrypoint: > | ||
| /bin/sh -c " | ||
| sleep 10; | ||
| /usr/bin/mc alias set myminio http://minio:9000 minioadmin minioadmin; | ||
| /usr/bin/mc mb myminio/mlflow; | ||
| exit 0; | ||
| " | ||
|
|
||
| mlflow: | ||
| image: ghcr.io/mlflow/mlflow:v3.6.0 | ||
| depends_on: | ||
| - create-buckets | ||
| ports: | ||
| - "5050:5050" | ||
| environment: | ||
| - AWS_ACCESS_KEY_ID=minioadmin | ||
| - AWS_SECRET_ACCESS_KEY=minioadmin | ||
| - MLFLOW_S3_ENDPOINT_URL=http://minio:9000 | ||
| - MLFLOW_FLASK_SERVER_SECRET_KEY='mlflowclient.jl' | ||
| command: > | ||
| /bin/sh -c " | ||
| pip install boto3 && | ||
| pip install mlflow[auth] && | ||
| mlflow server | ||
| --host 0.0.0.0 | ||
| --port 5050 | ||
| --app-name basic-auth | ||
| --default-artifact-root s3://mlflow | ||
| " |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Is this change required? Also the
URImust not be modified.