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

[release/2.3] Update blob upload to use managed identity #22674

Open
wants to merge 1 commit into
base: release/client/2.3
Choose a base branch
from

Conversation

Abe27342
Copy link
Contributor

Description

Updates the blob upload steps to use the pipeline's identity as authentication rather than a storage key.

Cherry-pick of #22647

## Description

Updates usages of `az storage` to leverage login information for the
service principal that our pipelines assume.

A successful test run for api report upload can be found
[here](https://dev.azure.com/fluidframework/internal/_build/results?buildId=296024&view=logs&j=897f79ef-2c90-5d46-29c0-b0ed22a2d39c&t=9305981a-7602-52ec-3c74-5436202de3b9)
(requires internal project access).

[This
run](https://dev.azure.com/fluidframework/internal/_build/results?buildId=296015&view=logs&j=897f79ef-2c90-5d46-29c0-b0ed22a2d39c&t=9305981a-7602-52ec-3c74-5436202de3b9)
used the same code but was triggered before I gave the service principal
associated with our service connection storage blob contributor
permissions. The fact that this failed gives a bit more confidence that
this change is working as intended.

[This
run](https://dev.azure.com/fluidframework/internal/_build/results?buildId=296052&view=logs&j=c719ff29-64ed-5818-044d-14407c6a65d1&t=660fdca3-7237-5adb-817c-3d74f278c44a)
verifies dev releases upload as expected.

---------

Co-authored-by: Abram Sanderson <absander@microsoft.com>
@github-actions github-actions bot added base: release PRs targeted against a release branch area: build Build related issues labels Sep 30, 2024
Copy link
Contributor

Warning

WARNING: This PR is targeting a release branch!

All changes must first be merged into main and then backported to the target release branch.
Please include a link to the main PR in the description of this PR.

Changes to release branches require approval from the Patch Triage group before merging.
You should have already discussed this change with them so they know to expect it.

For more details, see our internal documentation for the patch policy and processes for
patch releases.

@msfluid-bot
Copy link
Collaborator

Could not find a usable baseline build with search starting at CI c1311b2

Generated by 🚫 dangerJS against 6f3c1e9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: build Build related issues base: release PRs targeted against a release branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants