Skip to content

Commit

Permalink
Add team/user store to pipeline-owners-extracton (#6419)
Browse files Browse the repository at this point in the history
* Add team/user store to pipeline-owners-extracton

* Fix working directory

* No, really fix the working directory this time
  • Loading branch information
JimSuplizio authored Jun 27, 2023
1 parent 680b715 commit 5070bfa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions eng/pipelines/pipeline-owners-extraction.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,10 @@ stages:
displayName: Publish pipelineOwners artifact
artifact: pipelineOwners
condition: succeededOrFailed()

- pwsh: |
dotnet run --blobStorageURI "https://azuresdkartifacts.blob.core.windows.net/azure-sdk-write-teams/azure-sdk-write-teams-blob?$(azuresdkartifacts-azure-sdk-write-teams-sas)"
displayName: 'Fetch and store team/user data'
workingDirectory: tools/github-team-user-store/GitHubTeamUserStore/GitHubTeamUserStore
env:
GITHUB_TOKEN: $(azuresdkartifacts-azure-sdk-write-teams-github-pat)
3 changes: 3 additions & 0 deletions tools/github-team-user-store/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@ The json blob is read anonymously. The json blob is created from the dictionary
var list = JsonSerializer.Deserialize<List<KeyValuePair<string, List<string>>>>(rawJson);
var TeamUSerDictionary = list.ToDictionary((keyItem) => keyItem.Key, (valueItem) => valueItem.Value);
```

### The pipeline where this will run
This will run as part of the [pipeline-owners-extracton](https://dev.azure.com/azure-sdk/internal/_build?definitionId=5112&_a=summary) pipeline.

0 comments on commit 5070bfa

Please sign in to comment.