- Notifications
You must be signed in to change notification settings - Fork 604
Support different serving images on a per-API basis #948
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
Merged
deliahu merged 64 commits into cortexlabs:master from RobertLucian:feature/overriden-base-images Apr 15, 2020
Merged
Changes from all commits
Commits
Show all changes
64 commits Select commit Hold shift + click to select a range
547b0a8 Add validation for Image field in Predictor field
RobertLucian cca6b9a Add regex_test.go
RobertLucian 7b73ef6 Make image overridable
RobertLucian 9bf58fc Add unpolished method to validate ECR images
RobertLucian 36f4162 Add error handlers & refactoring
RobertLucian 649e7ba Better error handling
RobertLucian f953d04 Fix image overriding for GPU APIs
RobertLucian a5b43db Add support for TFServeImage key
RobertLucian cbf1563 Fix error in logic about keys existence
RobertLucian 1e484ce Fix logic on tf predictor
RobertLucian be0a263 Fix bad serving images for different predictors
RobertLucian 8b067dc Remove key codependence on one another
RobertLucian e75d7ba Do one single ECR/Docker login for both images
RobertLucian 6403af7 Don't match cortex versions
RobertLucian 1fed994 Fix bugs
RobertLucian 01f5b98 Move error wrap
RobertLucian 009d67b Add comment
RobertLucian e95c42f Format code
RobertLucian bdde779 Rename function and add tests
RobertLucian 756ad9b Update docs
RobertLucian bf9e43d Move UserStr if statement
RobertLucian 087fb4c Modify ECR error message
RobertLucian e3699c4 Update description of each image key in API docs
RobertLucian e400811 Change error as recommended
RobertLucian ca1851d Modify error & only return the error from func
RobertLucian 4991776 Update string_ptr.go & rename to DockerImageOrEmpty
RobertLucian af48475 Remove unnecessary empty line
RobertLucian 21f2577 Change IsValidECR to IsValidECRURL
RobertLucian 538b744 Add default docker paths in API
RobertLucian fccf5b2 Remove user-facing images in cluster config (no daemonset stuff)
RobertLucian a598bcb Export default docker paths in manager
RobertLucian 43aaa1f Fix cx get api prints
RobertLucian 73e909b Docker image accessibility changes
RobertLucian 005f0ff Comment & lint
RobertLucian 9eb095c Reorganizing a bit
RobertLucian ea20263 Update docs
RobertLucian 936b629 Minor change to code
RobertLucian 6cf3beb Update config.md
deliahu 0254141 Update security.md
deliahu 4860b57 Update system-packages.md
deliahu 942d378 Update config.md
deliahu 33c37a1 Remove unnecessary error function in custerconfig
RobertLucian d7dda45 Don't use consts pkg in lib/configreader
RobertLucian 3593f4f Remove usage of consts inside configreader/errors
RobertLucian 4cdbabb Proper error message
RobertLucian fc31116 Remove extra empty line
RobertLucian 98bcf5f Remove commented import
RobertLucian b78660d Simpler comparison between strings
RobertLucian b122da2 Change mismatch reg id error message
RobertLucian 51cbcdc Move string manipulation to error func
RobertLucian cc5d0b3 Move docker error to docker pkg
RobertLucian 8e417e5 Styling corrections
RobertLucian 958d90e Don't wrap the error message from cause field
RobertLucian 7c4441c Validate docker images against default paths
RobertLucian ec105e6 Fix lexical problem in docs
RobertLucian b3a2594 Remove forgotten docker const error
RobertLucian d8c8029 Update api-configuration.md
deliahu 780698a Update errors.go
deliahu 63b7074 Merge branch 'master' into feature/overriden-base-images
deliahu c6d743e Fix lint error in lib/docker/errors.go
deliahu a4abc97 Update docs (about overriding images)
RobertLucian da43098 Return error if AuthorizationData is empty
RobertLucian e0b63e0 Skip validation if there're no ECR perms on op
RobertLucian dc32b9d Update validations.go
deliahu 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
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
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 |
|---|---|---|
| | @@ -16,7 +16,7 @@ | |
| | ||
| set -e | ||
| | ||
| CORTEX_VERSION=master | ||
| export CORTEX_VERSION=master | ||
| EKSCTL_TIMEOUT=45m | ||
| | ||
| arg1="$1" | ||
| | ||
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.
Uh oh!
There was an error while loading. Please reload this page.