-
Notifications
You must be signed in to change notification settings - Fork 480
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve RayJob controller quality to alpha (#398)
1. Implement `spec.shutdownAfterJobFinishes`, delete the cluster once the job finishes if this field is set 2. Add status new field `JobDeploymentStatusComplete` to indicate the RayJob is complete 3. Add status field `Message`, `StartTime`, `EndTime` to expose more job status 4. Improve logs usage in the operators and make them look consistent 5. Optimize requeueAfter for some time consuming operators like waiting for dashboard ready (container takes time to start) etc.
- v1.3.0
- v1.3.0-rc.1
- v1.3.0-rc.0
- v1.3.0-alpha.0
- v1.2.2
- v1.2.1
- v1.2.0
- v1.2.0-rc.1
- v1.2.0-rc.0
- v1.1.1
- v1.1.0
- v1.1.0-rc.1
- v1.1.0-rc.0
- v1.0.0
- v1.0.0-rc.2
- v1.0.0-rc.1
- v1.0.0-rc.0
- v0.6.0
- v0.6.0-rc.1
- v0.6.0-rc.0
- v0.5.2
- v0.5.0
- v0.5.0-rc.0
- v0.4.0
- v0.4.0-rc.0
- v0.3.0
- v0.3.0-rc.2
- v0.3.0-rc.1
- v0.3.0-rc.0
- ray-operator/v1.3.0
- ray-operator/v1.3.0-rc.1
- ray-operator/v1.3.0-rc.0
- ray-operator/v1.3.0-alpha.0
- ray-operator/v1.2.2
- ray-operator/v1.2.1
- ray-operator/v1.2.0
- ray-operator/v1.2.0-rc.1
- ray-operator/v1.2.0-rc.0
- ray-operator/v1.1.1
- ray-operator/v1.1.0
- ray-operator/v1.1.0-rc.1
- ray-operator/v1.1.0-alpha.0
- ray-operator/v1.0.0
- ray-operator/v1.0.0-rc.2
- ray-operator/v1.0.0-rc.1
- ray-operator/v1.0.0-rc.0
- ray-operator/v0.6.0
- ray-operator/v0.5.0
- ray-cluster-chart-latest
- kuberay-operator-chart-latest
- kuberay-apiserver-chart-latest
Showing
9 changed files
with
298 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,8 +26,10 @@ jobs: | |
# Default value should work for both pull_request and merge(push) event. | ||
ref: ${{github.event.pull_request.head.sha}} | ||
|
||
- name: Install goimports | ||
run: go get golang.org/x/tools/cmd/goimports | ||
- name: Install goimports and gofumpt | ||
run: | | ||
go get golang.org/x/tools/cmd/goimports | ||
go install mvdan.cc/gofumpt@latest | ||
- name: Run gofmt | ||
uses: Jerome1337/[email protected] | ||
|
@@ -89,9 +91,7 @@ jobs: | |
if: failure() | ||
|
||
- name: Run gofumpt | ||
run: | | ||
go install mvdan.cc/gofumpt@latest | ||
test -z "$(set -o pipefail && $(go env GOPATH)/bin/gofumpt -l apiserver/ ray-operator/ cli/ | tee gofumpt.out)" || { cat gofumpt.out && exit 1; } | ||
run: test -z "$(set -o pipefail && $(go env GOPATH)/bin/gofumpt -l apiserver/ ray-operator/ cli/ | tee gofumpt.out)" || { cat gofumpt.out && exit 1; } | ||
|
||
- name: Open this to see how to fix gofumpt if it fails | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters