Refactor and rewrite Python scripts in releng/ in Go
What should be cleaned up or changed:
We have a bunch of Python scripts in releng/ directory. These scripts are used to handle creating release branch jobs. These scripts also:
- fetch values such as latest Kubernetes and Go version
- handle updating auto-generated files
- handle removing jobs for EOL release branches
- wrap config-rotator and config-forker written in Go
These Python scripts have several problems:
- We need to run them in a Docker container to ensure correct Python version and environment. There are some issues and challenges doing that on Mac M1 and M2
- Kubernetes is a Go project and many of us are more experienced in Go. Having these scripts in Go would make it easier to run and test those scripts, but also refactor and debug when needed
That said, I think we should consider rewriting these scripts in Go. Additionally, we should consider wrapping everything (config-rotator, config-forker, and existing Python scripts) in a single binary.
Provide any links for context:
See #29387 for more details
/priority important-longterm /sig release cc @kubernetes/release-engineering
I think this is a good idea.
+1
hey, can I work on this? and can you provide the main references to what exactly is needed to get this issue resolved as I am not much experienced in go but willing to learn more about this and contribute to solving this issue.
hey, can I work on this? and can you provide the main references to what exactly is needed to get this issue resolved as I am not much experienced in
gobut willing to learn more about this and contribute to solving this issue.
@xmudrii any updates on this how can i get started with this ?
@wasup-yash Sorry for delay. I'm on PTO for the next week or two, but I can follow up on this once I'm back.
@wasup-yash Sorry for delay. I'm on PTO for the next week or two, but I can follow up on this once I'm back.
no worries xD
/assign
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
- After 90d of inactivity,
lifecycle/staleis applied - After 30d of inactivity since
lifecycle/stalewas applied,lifecycle/rottenis applied - After 30d of inactivity since
lifecycle/rottenwas applied, the issue is closed
You can:
- Mark this issue as fresh with
/remove-lifecycle stale - Close this issue with
/close - Offer to help out with Issue Triage
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
/remove-lifecycle stale
/milestone v1.31
@dims: The provided milestone is not valid for this repository. Milestones in this repository: [someday, v1.24, v1.25]
Use /milestone clear to clear the milestone.
In response to this:
/milestone v1.31
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
- After 90d of inactivity,
lifecycle/staleis applied - After 30d of inactivity since
lifecycle/stalewas applied,lifecycle/rottenis applied - After 30d of inactivity since
lifecycle/rottenwas applied, the issue is closed
You can:
- Mark this issue as fresh with
/remove-lifecycle stale - Close this issue with
/close - Offer to help out with Issue Triage
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
/remove-lifecycle stale /assign
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
- After 90d of inactivity,
lifecycle/staleis applied - After 30d of inactivity since
lifecycle/stalewas applied,lifecycle/rottenis applied - After 30d of inactivity since
lifecycle/rottenwas applied, the issue is closed
You can:
- Mark this issue as fresh with
/remove-lifecycle stale - Close this issue with
/close - Offer to help out with Issue Triage
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
/remove-lifecycle stale
Update: some of the Python scripts might be removed as we consider replacing them with already existing fork-per-release mechanism.
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
- After 90d of inactivity,
lifecycle/staleis applied - After 30d of inactivity since
lifecycle/stalewas applied,lifecycle/rottenis applied - After 30d of inactivity since
lifecycle/rottenwas applied, the issue is closed
You can:
- Mark this issue as fresh with
/remove-lifecycle stale - Close this issue with
/close - Offer to help out with Issue Triage
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
/remove-lifecycle stale
@Rajalakshmi-Girish is working on getting rid of some of these Python scripts by utilizing forker and rotator. /unassign @xmudrii @sbdtu5498 /assign @Rajalakshmi-Girish
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
- After 90d of inactivity,
lifecycle/staleis applied - After 30d of inactivity since
lifecycle/stalewas applied,lifecycle/rottenis applied - After 30d of inactivity since
lifecycle/rottenwas applied, the issue is closed
You can:
- Mark this issue as fresh with
/remove-lifecycle stale - Close this issue with
/close - Offer to help out with Issue Triage
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
/remove-lifecycle stale
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
- After 90d of inactivity,
lifecycle/staleis applied - After 30d of inactivity since
lifecycle/stalewas applied,lifecycle/rottenis applied - After 30d of inactivity since
lifecycle/rottenwas applied, the issue is closed
You can:
- Mark this issue as fresh with
/remove-lifecycle stale - Close this issue with
/close - Offer to help out with Issue Triage
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
/remove-lifecycle stale
/assign
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
- After 90d of inactivity,
lifecycle/staleis applied - After 30d of inactivity since
lifecycle/stalewas applied,lifecycle/rottenis applied - After 30d of inactivity since
lifecycle/rottenwas applied, the issue is closed
You can:
- Mark this issue as fresh with
/remove-lifecycle stale - Close this issue with
/close - Offer to help out with Issue Triage
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
/remove-lifecycle stale