Azure / Azure/LinuxPatchExtension
Allow to specify package version
- 主要语言
- Python
- 星标
- 12
- 派生
- 20
- 平均合并
- 6 天 4 小时
- 30 天内合并 PR
- 1
描述
**Is your feature request related to a problem? Please describe.**
My customers are not able to specify a version. This is problematic as they roll patches out to lower environments first, and sometimes (often times) by the time they get to prod, the version pushed by this agent will be different than what was tested in lower environments.
**Describe the solution you'd like**
Allow the customer to specify an image version. In zypper, you can do:
zypper install =
But the extension doesn't expose the version:
# Install update
self.single_package_upgrade_cmd = 'sudo zypper --non-interactive update '
self.zypper_install_security_patches = 'sudo zypper --non-interactive patch --category security'
**Describe alternatives you've considered**
The customer is working to accelerate their patching cycle, but no workaround exists with the extension itself that I am aware of.
贡献指南
调研方向
首先定位扩展定义并调用所示 zypper update 和 security-patch 命令的位置。跟踪软件包选择是如何传入的,然后定义客户提供的版本如何传递到命令中,并验证最终的安装会固定为请求的版本。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- linux, python, shell
- 领域
- devops, operating-systems
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 38/100