Skip to content

Conversation

@jonburdo
Copy link
Member

@jonburdo jonburdo commented Sep 9, 2025

This simplifies new member instructions, and fixes a relative link that doesn't always work.

This simplifies new member instructions, and fixes a relative link that
doesn't always work.

Signed-off-by: Jon Burdo <[email protected]>
@google-oss-prow
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign franciscojavierarceo for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Copy link
Member Author

@jonburdo jonburdo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is just a few tiny things I wanted to suggest! Happy to adjust if we want some but not all, or close if we want to leave it as is :)

Comment on lines +8 to 17
import os.path as osp

import yaml

ORG_YAML = "kubeflow/org.yaml"

def test_team_member_is_in_org():
with open(ORG_YAML) as stream:
path = osp.join(osp.dirname(__file__), ORG_YAML)
with open(path) as stream:
org_data = yaml.safe_load(stream)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make path relative to this script rather than relative to the current working directory. This enables running from a different directory such as the repo's root dir: pytest github-orgs/test_org_yaml.py

- Modify [github-orgs/kubeflow/org.yaml](github-orgs/kubeflow/org.yaml) to include your GitHub username in the appropriate places.
- In the `org.kubeflow.members` list
- If you work for a company that is recognized by the Kubeflow project, then in your company team list (check `org.kubeflow.teams`)
- Modify [github-orgs/kubeflow/org.yaml](github-orgs/kubeflow/org.yaml) to include your GitHub username in the `org.kubeflow.members` list.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks to me like org.kubeflow.teams is no longer relevant for new members?

Comment on lines -23 to +21
cd github_orgs
pytest test_org_yaml.py
pytest github-orgs/test_org_yaml.py
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At a minimum github_orgs should be github-orgs

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also could be more self contained with:

uv run --with pytest pytest github-orgs/test_org_yaml.py

or

pip install pytest && pytest github-orgs/test_org_yaml.py

Probably fine as is though

- After your PR is merged please wait at least 1 hour for changes to propagate.
- You will receive an email invite (to your GitHub associated email address) to join Kubeflow on GitHub. Follow the instructions on the email to accept your invitation.
- If after an hour you haven't received an invite to join the GitHub org (or your invite has expired) please open an issue with an [owner](../../OWNERS) tagged to request follow-up.
- If after an hour you haven't received an invite to join the GitHub org (or your invite has expired) please open an issue with an [owner](https://github.com/kubeflow/internal-acls/blob/master/OWNERS) tagged to request follow-up.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These relative paths work when you view the template file in the repo, but not when you actually create an issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant