-
Notifications
You must be signed in to change notification settings - Fork 62
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
Helper func to load environment from metadata endpoint #131
Conversation
- Intended as an equivalent to https://github.com/Azure/go-autorest/blob/master/autorest/azure/metadata_environment.go#L96-L141 - Not entirely useful as you need to supply the Resource Manager endpoint which is then re-used in the output struct, and the metadata endpoint does not currently provide an MS Graph endpoint - But it should work as a drop in replacement for the above linked helper function in go-autorest
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.
One minor comment, but otherwise LGTM 👍
strategy: | ||
fail-fast: true |
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.
You can remove this, it only affects jobs with a matrix
configuration.
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.
Ah right, thanks! Will fix these in one go 👍
Helper func to generate environment configuration from metadata endpoint
Intended as an equivalent to https://github.com/Azure/go-autorest/blob/master/autorest/azure/metadata_environment.go#L96-L141
Not entirely useful as you need to supply the Resource Manager endpoint which is then re-used in the output struct, and the metadata endpoint does not currently provide an MS Graph endpoint
But it should work as a drop in replacement for the above linked helper function in go-autorest
Also fix an incorrect API ID for Key Vault