Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

github actions updates and docs #524

Open
jayunit100 opened this issue Aug 25, 2023 · 8 comments
Open

github actions updates and docs #524

jayunit100 opened this issue Aug 25, 2023 · 8 comments
Assignees
Labels
good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.

Comments

@jayunit100
Copy link
Contributor

jayunit100 commented Aug 25, 2023

This is not a "write a bunch of code" task but it is essential, so please expect to spend 2 to 3 weeks on this if you are a new contributor, and only self assign if you have the time to complete it as it might require coordinating several conversations/asking questions in different forums

Looks like we've got some tech debt around the lifecycle for our github actions .
See #522 ... as an example.

Original thread https://kubernetes.slack.com/archives/C02GA1RSCLR/p1692815992205469 ...

  • We want them to run for every PR when a PR happens
  • We want them to run before merges happen
  • We want them to pass for PRs that dont make breaking changes

Can someone verify this for us and update our README with a guide for how our CI is currently working? As a starting point:

  • clone this repo,
  • look at the .github actions and understand them (ask question sin the sig-network-kpng slack channel if not sure what things are doing, cc @friedrichwilken or @aroradaman or me
  • Go to the sig-testing weekly meeting to get an understanding if wanting to understand how / when github actions are triggered on new PRs (from K8s members? what about from non K8s members? How are the actions triggered differently) ?

/good-first-issue

@k8s-ci-robot
Copy link
Contributor

@jayunit100:
This request has been marked as suitable for new contributors.

Guidelines

Please ensure that the issue body includes answers to the following questions:

  • Why are we solving this issue?
  • To address this issue, are there any code changes? If there are code changes, what needs to be done in the code and what places can the assignee treat as reference points?
  • Does this issue have zero to low barrier of entry?
  • How can the assignee reach out to you for help?

For more details on the requirements of such an issue, please see here and ensure that they are met.

If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-good-first-issue command.

In response to this:

Looks like we've got some tech debt around the lifecycle for our github actions https://kubernetes.slack.com/archives/C02GA1RSCLR/p1692815992205469 ...

  • We want them to run for every PR when a PR happens
  • We want them to run before merges happen
  • We want them to pass for PRs that dont make breaking changes

Can someone verify this for us and update our README with a guide for how our CI is currently working? As a starting point:

  • clone this repo,
  • look at the .github actions and understand them (ask question sin the sig-network-kpng slack channel if not sure what things are doing, cc @friedrichwilken or @aroradaman or me
  • Go to the sig-testing weekly meeting to get an understanding if wanting to understand how / when github actions are triggered on new PRs (from K8s members? what about from non K8s members? How are the actions triggered differently) ?

/good-first-issue

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.

@k8s-ci-robot k8s-ci-robot added good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. labels Aug 25, 2023
@aroradaman
Copy link
Member

Currently, the GitHub actions are only being triggered when PR has approved and lgtm labels.
We would love to have them triggered without any dependency on these two labels.

@FZhg
Copy link

FZhg commented Aug 28, 2023

Hi @aroradaman, I want to work on this! I have enough time. I have read the thread as well. This is my first time to contribute to k8s! 🐳

@FZhg
Copy link

FZhg commented Aug 28, 2023

/assign

@FZhg
Copy link

FZhg commented Aug 28, 2023

Hi @jayunit100, could you give me a reference that how the CI guide should look like? Also, Should I check the Prow documentation for verifying the current behavior of the ok-to-test label?

@aroradaman
Copy link
Member

@FZhg

Currently, the GitHub actions are only being triggered when PR has approved and lgtm labels.
We would love to have them triggered without any dependency on these two labels.

@sbueringer
Copy link
Member

This CAPI action might be useful https://github.com/kubernetes-sigs/cluster-api/blob/main/.github/workflows/pr-gh-workflow-approve.yaml

@FZhg
Copy link

FZhg commented Aug 29, 2023

Hi, @aroradaman! I have gone through the gh action files and found out that besides docker-action.yml , these files just runs different scripts in the hack directory.

Should a PR trigger the docker-action as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
Projects
None yet
Development

No branches or pull requests

5 participants