jprinet commented on code in PR #59431:
URL: https://github.com/apache/spark/pull/59431#discussion_r4548400033
##########
.github/workflows/build_and_test.yml:
##########
@@ -346,6 +349,7 @@ jobs:
# full-build workflows that set only "build": "true" keep running
this entry).
- modules: ${{
fromJson(needs.precondition.outputs.required).build-core-utils == 'false' &&
'core, unsafe, kvstore, utils, utils-java, config, network-common,
network-shuffle, sketch, variant, launcher' }}
env:
+ DEVELOCITY_ACCESS_KEY: ${{ secrets.SPARK_DEVELOCITY_ACCESS_KEY }}
Review Comment:
I kept it scoped on purpose: an earlier review asked to limit the key to the
jobs that run sbt/Maven, since the key can publish scans and write to the build
cache, and a workflow-level `env` would also expose it to third-party actions
(codecov, buf, minikube). A workflow that forgets the entry still builds; it
just doesn't publish a Build Scan. Happy to move it to workflow level if you
prefer fewer lines over narrower scope.
##########
build.sbt:
##########
@@ -0,0 +1,37 @@
+/*
Review Comment:
A root `build.sbt` next to `project/*.scala` is a standard sbt layout: sbt
loads both, and the setting here is scoped to `ThisBuild`, so it doesn't change
any project definition. IDEs import through sbt (or bloop), which evaluates it
the same way. I'd suggest keeping it as is for readability, since it keeps the
Develocity config in one small file. Happy to move it into `SparkBuild.scala`
if you'd rather not isolate it.
--
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]