Github Artifacts¶
With this function you can upload an artifact from a public Github Release into the BucketFS. This can be useful, if you want to upload a released artefact from one of Exasol’s open source repositories.
Example:
from exasol_bucketfs_utils_python.github_release_file_bucketfs_uploader import (
GithubReleaseFileBucketFSUploader,
)
release_uploader = GithubReleaseFileBucketFSUploader(
file_to_download_name="file",
github_user="user",
repository_name="repository",
release_name="latest",
path_inside_bucket="some/path/",
)
release_uploader.upload("http://<host>:<port>/<bucket>/", "user", "password")