jiangzho commented on code in PR #405:
URL:
https://github.com/apache/spark-kubernetes-operator/pull/405#discussion_r2482611239
##########
spark-operator-api/build.gradle:
##########
@@ -89,8 +89,31 @@ tasks.register("assertGeneratedCRDMatchesHelmChart") {
"${stagedCRDFileBase}sparkclusters.spark.apache.org-v1.yaml"
].execute().text.trim()
if (generatedAppCRD != stagedAppCRD || generatedClusterCRD !=
stagedClusterCRD) {
- throw new GradleException("Generated CRD yaml does not match the staged
version in " +
- "Helm Chart, please keep the chart updated.")
+ def errorMessage = new StringBuilder("Generated CRD yaml does not match
the staged " +
Review Comment:
ack, lemme refactor this out
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]