microsoft / rushstack

Monorepo for tools developed by the Rush Stack community
https://rushstack.io/
Other
5.82k stars 594 forks source link

[rush] Support AWS CodeArtifact in rush setup #3713

Open itsjamie opened 1 year ago

itsjamie commented 1 year ago

Summary

Artifactory is currently supported as a custom registry, another registry that would be good to add support for and would definitely reduce documentation complexity for new repositories.

Details

I think it is reasonable that a user would be expected that the configured AWS profile in the shell environment they would run AWS CodeArtifact from.

Given that most users would be working with timed sessions that expire, this would be a great example to work out the API for rush setup to help with refreshing expired tokens.

Configuration that would likely be required in the setup JSON:

Standard questions

Please answer these questions to help us investigate your issue more quickly:

Question Answer
@microsoft/rush globally installed version? 5.51.1
rushVersion from rush.json? 5.51.1
useWorkspaces from rush.json? default value
Operating system? Mac
Would you consider contributing a PR? No, at this time
Node.js version (node -v)? 16.13.1
iclanton commented 1 year ago

It'd be useful to extract artifactory to a Rush plugin and model this as a plugin as well.

My team doesn't use CodeArtifact (we use the Azure DevOps package feed), but building in authentication for that would be useful too.