kubernetes / test-infra

Test infrastructure for the Kubernetes project.
Apache License 2.0
3.85k stars 2.66k forks source link

Refactor and rewrite Python scripts in releng/ in Go #29390

Open xmudrii opened 1 year ago

xmudrii commented 1 year ago

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:

These Python scripts have several problems:

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

jeremyrickard commented 1 year ago

I think this is a good idea.

cpanato commented 1 year ago

+1

wasup-yash commented 1 year ago

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.

wasup-yash commented 1 year ago

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.

@xmudrii any updates on this how can i get started with this ?

xmudrii commented 1 year ago

@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 commented 1 year ago

@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

sbdtu5498 commented 1 year ago

/assign

k8s-triage-robot commented 10 months ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

xmudrii commented 10 months ago

/remove-lifecycle stale

dims commented 8 months ago

/milestone v1.31

k8s-ci-robot commented 8 months ago

@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](https://github.com/kubernetes/test-infra/issues/29390#issuecomment-2031897137): >/milestone v1.31 Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
k8s-triage-robot commented 5 months ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

cpanato commented 5 months ago

/remove-lifecycle stale /assign

k8s-triage-robot commented 2 months ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

xmudrii commented 2 months ago

/remove-lifecycle stale

Update: some of the Python scripts might be removed as we consider replacing them with already existing fork-per-release mechanism.