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

Remove SAS token from GitHubIO blob storage docs publish #8288

Merged
merged 1 commit into from
May 17, 2024

Conversation

JimSuplizio
Copy link
Member

GitHubIO versioned docs are published to blob storage which required the SAS key to write.

As part of this work, I did have to give Storage Blob Data Contributor access to azuresdkdocs to the service principal. This is in the same resource group as azure-sdk-artifacts. The replacement of the SAS usage in the eng/common code was pretty straightforward and the language repositories will continue to work without issue. Once this is in, I'll have to go through each language repository to remove usage of azure-sdk-docs-prod-sas and then I'll be able to remove this from the variable group and, ultimately, the keyvault.

The changes were tested via temporary PR in Java and this is the pipeline run for template which published docs

@JimSuplizio JimSuplizio self-assigned this May 17, 2024
@JimSuplizio JimSuplizio marked this pull request as ready for review May 17, 2024 16:08
@azure-sdk
Copy link
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

JimSuplizio added a commit to Azure/azure-sdk-for-js that referenced this pull request May 17, 2024
@JimSuplizio JimSuplizio enabled auto-merge (squash) May 17, 2024 16:36
auto-merge was automatically disabled May 17, 2024 18:16

Pull request was closed

@JimSuplizio JimSuplizio reopened this May 17, 2024
@JimSuplizio JimSuplizio requested a review from a team as a code owner May 17, 2024 18:16
@JimSuplizio JimSuplizio merged commit 838f4ee into Azure:main May 17, 2024
30 checks passed
azureSubscription: 'Azure SDK Artifacts'
ScriptType: 'FilePath'
ScriptPath: ${{ parameters.ScriptPath }}
ScriptArguments: >
-AzCopy $(Resolve-Path "$(Build.BinariesDirectory)/azcopy/azcopy_windows_amd64_*/azcopy.exe")[0]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orthogonal but we should probably also remove this azcopy approach given it is already on all the agent machines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants