Skip to content

Conversation

MortalHappiness
Copy link
Member

@MortalHappiness MortalHappiness commented Sep 27, 2024

Why are these changes needed?

See the description in the corresponding issue for details.

This PR will build the kubectl plugin with goreleaser and upload them to GitHub release whenever a semver tag is created.

See the example auto-generated GitHub release here:

https://github.com/MortalHappiness/kuberay/releases/tag/v1.3.0-rc.0

The first version of plugin has to be submitted manually by us to the krew-index repo, so I'll submit a PR to the krew-index repo once a release candidate is created.

Related issue number

Closes: #2406

Checks

  • I've made sure the tests are passing.
  • Testing Strategy
    • Unit tests
    • Manual tests
    • This PR is not tested :(

Closes: ray-project#2406
Signed-off-by: Chi-Sheng Liu <chishengliu@chishengliu.com>
@andrewsykim
Copy link
Member

@chiayi PTAL

Closes: ray-project#2406
Signed-off-by: Chi-Sheng Liu <chishengliu@chishengliu.com>
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# TODO(MortalHappiness): This won't work now. The first version of plugin has to be submitted manually by use to the krew-index repo, so I'll submit a PR to the krew-index repo once a release candidate is created.
- name: Update new version in krew-index
uses: rajatjindal/krew-release-bot@v0.0.46
Copy link
Member

Choose a reason for hiding this comment

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

Is this the standard project used with krew to publish plugin?

Copy link
Member Author

@MortalHappiness MortalHappiness Sep 29, 2024

Choose a reason for hiding this comment

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

It's mentioned in the official doc and says strongly recommends

https://krew.sigs.k8s.io/docs/developer-guide/release/automating-updates/

@andrewsykim andrewsykim merged commit 99505a5 into ray-project:master Sep 28, 2024
27 checks passed
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.

[Feature] Add release script for kubectl plugin
3 participants