-
Notifications
You must be signed in to change notification settings - Fork 1
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
Fix Docker auths script to use environment variable values and handle… #670
Conversation
… image URI parsing errors
for more information, see https://pre-commit.ci
…t parameterization
for more information, see https://pre-commit.ci
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.
Great, thanks!
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.
Great job mate!
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.
LGTM
This pull request contains fixes in the remote image building, specially when trying to push to an external registry.
Fixes:
apolo_extras/assets/merge_docker_auths.sh
: Fixed an issue that happened when the registry env var contained formatted json and our script would only get the first line of that jsonapolo_extras/image.py
: If it is not possible to convert aimage_uri
to a platform image uri it may be because the user is trying to push to an external registry. So we do not stop the execution in this caseapolo-cli
Test configuration enhancements:
tests/unit/image/conftest.py
: Added a mockAppsConfig
used in Apolo SDK's latest version