Skip to content
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

allow for empty az cloud show results when building .mlzconfig files #238

Merged
merged 5 commits into from
Jun 3, 2021

Conversation

glennmusa
Copy link
Contributor

Description

Due to the differences in clouds, we cannot guarantee each service will be available that MLZ requires.

For instance, today, in one of the clouds, az cloud show --query suffixes.acrLoginServerEndpoint returns no results. So I won't be able to deploy the UI to a container instance.

This change allows for an empty result to be written to a generated .mlzconfig file, and at least for the UI, catches empty values and throws an error and exits if that's the case.

Issue reference

The issue this PR will close: #235

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles or validates correctly
  • BASH scripts have been validated using shellcheck
  • All tests pass (manual and automated)
  • The documentation is updated to cover any new or changed features
  • Markdown files have been linted using the recommended linter. (See .vscode/extensions.json.)
  • Relevant issues are linked to this PR

@glennmusa glennmusa merged commit 5fe4ba8 into main Jun 3, 2021
@glennmusa glennmusa deleted the glennmusa/emptycloudsettings branch June 3, 2021 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot create .mlzconfig files when az cloud show endpoints are empty strings
2 participants