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.
This PR is the same as #1380. 1380 was closed by accident but it contains comments that are still valid for this PR.
UPDATE: Latest commit implements an artifact repository based on discussions found on #1393
Add support for
artifact_repository
plugins which allow for hosting of package payloads in remote servers. This works in conjunction with a MongoDB instance that contains the package information for querying and lookup.Requirements
This implementation requires some additional packages that have not been included in
rez.vendor
.These can be installed via
python -m pip install PKG --target path\to\rez\Lib\site-packages
.How To Use
In order to use you will need an existing S3 bucket and a MongoDB instance with a named database and a collection called "packages".
In your
rezconfig.py
you will need to set the following:If your MongoDB instance also requires a username / password, you can set it via:
When these are set, it will format the packages path url as:
rez-build
The rez-build command has been extended to allow for installing to artifact repositories. This is done through the new -a --artifact-path argument from rez-build.
Example:
This build command will do the following:
Missing / To-Do