GitHub Action: azure/setup-cosmosdb-shell for CI workflows
- Vorherrschende Sprache
- C#
- Sterne
- 3
- Forks
- 7
- Ø Merge
- 1 T. 12 Std.
- Gemergte PRs (30 T.)
- 14
Beschreibung
## Feedback source
External user feedback (travel multi-agent workshop team).
## Problem
There is no official GitHub Action to install/setup CosmosDB Shell in CI workflows. Users must manually download, extract, and add to PATH — adding boilerplate and fragility to every workflow.
## Proposed solution
Publish an official **azure/setup-cosmosdb-shell** GitHub Action that:
- Accepts a version input (with a sensible default/latest)
- Downloads the correct platform-specific package
- Extracts and adds to PATH
- Caches the binary across runs (using actions/cache or tool-cache)
- Verifies checksum/signature
## Example usage
```yaml
steps:
- uses: azure/setup-cosmosdb-shell@v1
with:
version: 1.0.213-preview
```n
## Acceptance criteria
- [ ] Action published to GitHub Marketplace
- [ ] Supports Linux, macOS, Windows runners
- [ ] Built-in caching (tool-cache pattern)
- [ ] Version pinning and 'latest' support
- [ ] Documented in CI/CD guide
Beitragsleitfaden
Rechercherichtung
Beginne mit dem Beispiel-Workflow im Issue und prüfe den CI/CD-Leitfaden, um das erwartete benutzerseitige Setup zu verstehen. Als abgeschlossen gilt die Aufgabe, wenn eine veröffentlichte azure/setup-cosmosdb-shell-Action die aufgeführten Plattformen und Versionsmodi, Caching, Verifizierung sowie die dokumentierte CI/CD-Nutzung unterstützt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- github-actions
- Bereich
- ci-cd, cli
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100