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

Update workflow and docs for releasing Spark operator #2089

Merged
merged 8 commits into from
Aug 1, 2024

Conversation

ChenYi015
Copy link
Contributor

Purpose of this PR

Update release workflow:

  • The integration test workflow is triggered by pull requests and pushes to main branch and release-* branch.
  • After a v*.*.* tag is pushed, a workflow will be triggered to build and push docker images to Docker Hub.
  • After a v*.*.* tag is pushed, a workflow will be triggered to create a draft release.
  • Afeter a release is published, a workflow will be triggered to update Helm repo index to publish charts.
  • Add docs for releasing spark operator.

Change Category

Indicate the type of change by marking the applicable boxes:

  • Bugfix (non-breaking change which fixes an issue)
  • Feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that could affect existing functionality)
  • Documentation update

Rationale

Checklist

Before submitting your PR, please review the following:

  • I have conducted a self-review of my own code.
  • I have updated documentation accordingly.
  • I have added tests that prove my changes are effective or that my feature works.
  • Existing unit tests pass locally with my changes.

Additional Notes

@ChenYi015 ChenYi015 changed the title Workflow/release Update workflow and docs for releasing Spark operator Jul 19, 2024
@ChenYi015
Copy link
Contributor Author

/assign @yuchaoran2011 @vara-bonthu @andreyvelich
/hold for review

Copy link
Member

@andreyvelich andreyvelich left a comment

Choose a reason for hiding this comment

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

Thank you for this @ChenYi015!

docs/release.md Outdated Show resolved Hide resolved
Signed-off-by: Yi Chen <github@chenyicn.net>
@ChenYi015 ChenYi015 force-pushed the workflow/release branch 2 times, most recently from 0aba1a6 to 14152b0 Compare July 22, 2024 05:54
@ChenYi015
Copy link
Contributor Author

@yuchaoran2011 PTAL.

Signed-off-by: Yi Chen <github@chenyicn.net>
Signed-off-by: Yi Chen <github@chenyicn.net>
Signed-off-by: Yi Chen <github@chenyicn.net>
Signed-off-by: Yi Chen <github@chenyicn.net>
VERSION Show resolved Hide resolved
Signed-off-by: Yi Chen <github@chenyicn.net>
Signed-off-by: Yi Chen <github@chenyicn.net>
@ChenYi015
Copy link
Contributor Author

/hold cancel

@ChenYi015
Copy link
Contributor Author

@andreyvelich Do you think it is ok? After this PR and #2072 are merged, we can make a v2.0.0-rc.0 release.

@andreyvelich
Copy link
Member

@andreyvelich Do you think it is ok? After this PR and #2072 are merged, we can make a v2.0.0-rc.0 release.

Yeah, but we need to cherry-pick all of the required PRs into release-2.0 branch. cc @vara-bonthu @yuchaoran2011

Copy link
Contributor

@vara-bonthu vara-bonthu left a comment

Choose a reason for hiding this comment

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

@ChenYi015
Thanks for the PR and it's going to streamline the release process.
Once this PR is merged and all the approvers are satisfied, we can proceed to create the v2.0.0-rc.0 release. We need to ensure we cherry pick changes merged to main until the new release branch is merged.

/approve

Signed-off-by: Yi Chen <github@chenyicn.net>
@ChenYi015
Copy link
Contributor Author

@yuchaoran2011 Could you also review this PR? I have tested this workflow and it works fine.

Copy link
Contributor

@yuchaoran2011 yuchaoran2011 left a comment

Choose a reason for hiding this comment

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

/lgtm

@google-oss-prow google-oss-prow bot added the lgtm label Aug 1, 2024
@google-oss-prow google-oss-prow bot merged commit a3ec8f1 into kubeflow:master Aug 1, 2024
7 checks passed
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: vara-bonthu, yuchaoran2011

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

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [vara-bonthu,yuchaoran2011]

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

ChenYi015 added a commit to ChenYi015/spark-operator that referenced this pull request Aug 2, 2024
* Update .helmignore

Signed-off-by: Yi Chen <github@chenyicn.net>

* Add release docs

Signed-off-by: Yi Chen <github@chenyicn.net>

* Update release workflow

Signed-off-by: Yi Chen <github@chenyicn.net>

* Update integration test workflow

Signed-off-by: Yi Chen <github@chenyicn.net>

* Add workflow for pushing tag when VERSION file changes

Signed-off-by: Yi Chen <github@chenyicn.net>

* Update

Signed-off-by: Yi Chen <github@chenyicn.net>

* Remove the leading 'v' from chart version

Signed-off-by: Yi Chen <github@chenyicn.net>

* Update docker image tags

Signed-off-by: Yi Chen <github@chenyicn.net>

---------

Signed-off-by: Yi Chen <github@chenyicn.net>
(cherry picked from commit a3ec8f1)
@ChenYi015 ChenYi015 mentioned this pull request Aug 2, 2024
8 tasks
YanivKunda pushed a commit to YanivKunda/spark-operator that referenced this pull request Aug 5, 2024
* Update .helmignore

Signed-off-by: Yi Chen <github@chenyicn.net>

* Add release docs

Signed-off-by: Yi Chen <github@chenyicn.net>

* Update release workflow

Signed-off-by: Yi Chen <github@chenyicn.net>

* Update integration test workflow

Signed-off-by: Yi Chen <github@chenyicn.net>

* Add workflow for pushing tag when VERSION file changes

Signed-off-by: Yi Chen <github@chenyicn.net>

* Update

Signed-off-by: Yi Chen <github@chenyicn.net>

* Remove the leading 'v' from chart version

Signed-off-by: Yi Chen <github@chenyicn.net>

* Update docker image tags

Signed-off-by: Yi Chen <github@chenyicn.net>

---------

Signed-off-by: Yi Chen <github@chenyicn.net>
google-oss-prow bot pushed a commit that referenced this pull request Aug 6, 2024
* Update workflow and docs for releasing Spark operator (#2089)

* Update .helmignore

Signed-off-by: Yi Chen <github@chenyicn.net>

* Add release docs

Signed-off-by: Yi Chen <github@chenyicn.net>

* Update release workflow

Signed-off-by: Yi Chen <github@chenyicn.net>

* Update integration test workflow

Signed-off-by: Yi Chen <github@chenyicn.net>

* Add workflow for pushing tag when VERSION file changes

Signed-off-by: Yi Chen <github@chenyicn.net>

* Update

Signed-off-by: Yi Chen <github@chenyicn.net>

* Remove the leading 'v' from chart version

Signed-off-by: Yi Chen <github@chenyicn.net>

* Update docker image tags

Signed-off-by: Yi Chen <github@chenyicn.net>

---------

Signed-off-by: Yi Chen <github@chenyicn.net>
(cherry picked from commit a3ec8f1)

* Fix broken integration test CI (#2109)

Signed-off-by: Yi Chen <github@chenyicn.net>
(cherry picked from commit 6ff204a)

* Fix CI: environment variable BRANCH is missed (#2111)

Signed-off-by: Yi Chen <github@chenyicn.net>
(cherry picked from commit e2693f1)
@ChenYi015 ChenYi015 mentioned this pull request Aug 7, 2024
sigmarkarl pushed a commit to spotinst/spark-on-k8s-operator that referenced this pull request Aug 7, 2024
* Update .helmignore

Signed-off-by: Yi Chen <github@chenyicn.net>

* Add release docs

Signed-off-by: Yi Chen <github@chenyicn.net>

* Update release workflow

Signed-off-by: Yi Chen <github@chenyicn.net>

* Update integration test workflow

Signed-off-by: Yi Chen <github@chenyicn.net>

* Add workflow for pushing tag when VERSION file changes

Signed-off-by: Yi Chen <github@chenyicn.net>

* Update

Signed-off-by: Yi Chen <github@chenyicn.net>

* Remove the leading 'v' from chart version

Signed-off-by: Yi Chen <github@chenyicn.net>

* Update docker image tags

Signed-off-by: Yi Chen <github@chenyicn.net>

---------

Signed-off-by: Yi Chen <github@chenyicn.net>
jbhalodia-slack pushed a commit to jbhalodia-slack/spark-operator that referenced this pull request Oct 4, 2024
* Update workflow and docs for releasing Spark operator (kubeflow#2089)

* Update .helmignore

Signed-off-by: Yi Chen <github@chenyicn.net>

* Add release docs

Signed-off-by: Yi Chen <github@chenyicn.net>

* Update release workflow

Signed-off-by: Yi Chen <github@chenyicn.net>

* Update integration test workflow

Signed-off-by: Yi Chen <github@chenyicn.net>

* Add workflow for pushing tag when VERSION file changes

Signed-off-by: Yi Chen <github@chenyicn.net>

* Update

Signed-off-by: Yi Chen <github@chenyicn.net>

* Remove the leading 'v' from chart version

Signed-off-by: Yi Chen <github@chenyicn.net>

* Update docker image tags

Signed-off-by: Yi Chen <github@chenyicn.net>

---------

Signed-off-by: Yi Chen <github@chenyicn.net>
(cherry picked from commit a3ec8f1)

* Fix broken integration test CI (kubeflow#2109)

Signed-off-by: Yi Chen <github@chenyicn.net>
(cherry picked from commit 6ff204a)

* Fix CI: environment variable BRANCH is missed (kubeflow#2111)

Signed-off-by: Yi Chen <github@chenyicn.net>
(cherry picked from commit e2693f1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants