localstack / localstack/setup-localstack
LocalStack CLI doesn't respect version
未关闭
适合新手
还没有人认领这个 Issue。
- 主要语言
- Shell
- 星标
- 40
- 派生
- 13
- PR 合并指标
- 30 天内没有已合并 PR
描述
Overview
When running the following GitHub Action...
- name: Start LocalStack
uses: LocalStack/setup-localstack@v0.3.0
with:
install-awslocal: "true"
use-pro: false
image-tag: "4.14.0"
...the pro version is not used, however, the code which installs the CLI defaults to the latest CLI version (and not the image-tag value provided:
The file tools/action.yml contains the line...
which localstack > /dev/null || pip install localstack
...which installs the latest version only.
I believe this line should be modified to accept a version override (image-tag) if one is provided. This may also be the cause of #24.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 tools/action.yml 中的 pip install localstack 命令开始,追踪 image-tag 输入是如何提供给 action 的。运行 issue 中的 GitHub Actions 示例,并验证已安装的 LocalStack CLI 遵循所提供的版本,而不是默认使用最新版本。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- github-actions, shell
- 领域
- ci-cd, cli
- Issue 类型
- 缺陷
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 冷清
- 描述清晰度
- 描述清楚
- 新手友好度
- 72/100