Azure / Azure/CosmosDBShell

GitHub Action: azure/setup-cosmosdb-shell for CI workflows

未关闭
#178 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
automation P1
主要语言
C#
星标
3
派生
7
平均合并
1 天 9 小时
30 天内合并 PR
18

描述

## 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

贡献指南

打开贡献指南

调研方向

从 issue 中的示例工作流开始,并查看 CI/CD 指南,以了解预期的面向用户的设置。已发布的 azure/setup-cosmosdb-shell action 支持所列出的平台、版本模式、缓存、验证以及有文档说明的 CI/CD 用法,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
github-actions
领域
ci-cd, cli
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
冷清
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。