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

v0.11.0 release plan #248

Closed
ityuhui opened this issue Oct 5, 2024 · 4 comments
Closed

v0.11.0 release plan #248

ityuhui opened this issue Oct 5, 2024 · 4 comments

Comments

@ityuhui
Copy link
Member

ityuhui commented Oct 5, 2024

Release plan for v0.11.0:

  1. Regenerate the C client based on Kubernetes 1.31
    via GitHub Action https://github.com/kubernetes-client/c/actions/workflows/generate.yml
    Parameters for the action:
  • Use workflow from: Branch master
  • The remote kubernetes release branch to fetch openapi spec. e.g. "release-1.28": release-1.31
  • The commit to use for the kubernetes-client/gen repo: master
  • The commit to use for the OpenAPITools/openapi-generator repo. e.g. "v7.0.0": master
  • Semvar to use for the version number: 0.11.0
    PR: Automated openapi generation from release-1.31 #249
  1. Update Versioning and Compatibility
    PR: Update version and compatibility for the release 0.11.0 #250

  2. Release the C client v0.11.0 guided by RELEASE.md
    Create the branch: release-0.11

    git checkout -b release-0.11
    git push origin release-0.11

Release action: https://github.com/kubernetes-client/c/actions/workflows/release.yml
Parameters for release action:

FYI @brendandburns

@ityuhui
Copy link
Member Author

ityuhui commented Oct 5, 2024

Hi @brendandburns

The auto-generated action https://github.com/kubernetes-client/c/actions/runs/11193825680/job/31119593597 failed due to missing permissions of github-actions[bot]:

remote: Permission to kubernetes-client/c.git denied to github-actions[bot].
fatal: unable to access 'https://github.com/kubernetes-client/c/': The requested URL returned error: 403
Error: Process completed with exit code 128.

It seems "Read and write permissions" are disabled in Settings -> Actions -> General -> Workflow permissions
(https://github.com/kubernetes-client/c/settings/actions)

Do you have any suggestions for this issue?

@brendandburns
Copy link
Contributor

@ityuhui see this issue here:
kubernetes/org#5126

For now, I think the best we can do as a workaround is to run the github action in your fork of the repo, and then send a PR from that fork to this repo. That's what I did recently for the Java repo:

kubernetes-client/java#3680

@ityuhui
Copy link
Member Author

ityuhui commented Oct 6, 2024

Thanks @brendandburns, I'll give it a try.

@ityuhui
Copy link
Member Author

ityuhui commented Oct 18, 2024

v0.11.0 released.

@ityuhui ityuhui closed this as completed Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants