-
Notifications
You must be signed in to change notification settings - Fork 25.6k
[Build] Remove mentioning ./gradlew assemble to build all distributions #116400
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
Conversation
Documentation preview: |
Pinging @elastic/es-delivery (Team:Delivery) |
Related to this discussion in our forum: https://discuss.elastic.co/t/elasticsearch-build-failure/369889/5 |
We have suggested using `./gradlew assemble` in our README to build elasticsearch artifacts. This causes problems since this also includes building our wolfi image that is based on a non public available wolfi base image. To work around this we introduce a task `assemblePublicArtifacts` that we also reference in our docs for third party elasticsearch source user. This also reduces the stuff that is build beyond the distribution. like fixtures that are not part of the distribution.
2baad8d
to
ab211a8
Compare
build.gradle
Outdated
* - building artifacts that are not required for a user (e.g. internally used test fixtures) | ||
* - failure when building docker images with non public base images (e.g. wolfi) | ||
* */ | ||
tasks.register("assemblePublicArtifacts").configure { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think there's value in such a task. There's no reason why anyone would want to build all these artifacts in one go and it just adds confusion. Let's omit this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed that and removed mentioned of this and ./gradlew assemble
from the README
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
FWIW, I'm not sure why there are so many whitespace formatting changes in this PR. Makes it kind of hard to see the real changes.
…ns (#116400) This causes problems since this also includes building our wolfi image that is based on a non public available base image resulting in build failure for user without access to the docker registry. We should avoid suggesting using ./gradlew assemble as it builds a tons of stuff unrelated to any distribution. Instead people should be pointed to `./gradlew localDistro`
…ns (elastic#116400) This causes problems since this also includes building our wolfi image that is based on a non public available base image resulting in build failure for user without access to the docker registry. We should avoid suggesting using ./gradlew assemble as it builds a tons of stuff unrelated to any distribution. Instead people should be pointed to `./gradlew localDistro`
This causes problems since this also includes building our wolfi image that is based on a non public available base image resulting in build failure for user without access to the docker registry.
We should avoid suggesting using ./gradlew assemble as it builds a tons of stuff unrelated to any distribution.
Instead people should be pointed to
./gradlew localDistro