Azure / Azure/LinuxPatchExtension

Allow to specify package version

Đang mở
#335 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
12
Fork
20
Merge trung bình
6 ngày 4 giờ
Pull request đã merge (30 ngày)
1

Mô tả

**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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu bằng cách xác định nơi extension định nghĩa và gọi các lệnh zypper update và security-patch được nêu. Theo dõi cách các lựa chọn gói được cung cấp, sau đó xác định cách một phiên bản do khách hàng cung cấp đến được lệnh và xác minh rằng việc cài đặt kết quả sẽ cố định phiên bản được yêu cầu.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
linux, python, shell
Lĩnh vực
devops, operating-systems
Loại issue
Tính năng
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
38/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.