-
Notifications
You must be signed in to change notification settings - Fork 999
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
Backport Sonatype publishing and datatypes module for v0.3.x #407
Backport Sonatype publishing and datatypes module for v0.3.x #407
Conversation
Hi @ches. Thanks for your PR. I'm waiting for a gojek member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
@ches these flaky tests are driving me crazy. Meeting with the team this week to see if we can find the root cause. |
I think this pull request makes the javadoc-plugin runs on every build hence errors in our Javadoc will cause Maven build and CI to fail. I think the current failure is due to these lines: https://github.com/ches/feast/blob/36ea2394454f5dede1087c31ec640cea38675ed6/core/src/main/java/feast/core/service/SpecService.java#L144 https://github.com/ches/feast/blob/36ea2394454f5dede1087c31ec640cea38675ed6/core/src/main/java/feast/core/service/SpecService.java#L85 |
@davidheryanto how do we bubble up these problems through the logs without having to click on the full build log? Is the exit code being ignored at the build stage? |
Thanks @davidheryanto for digging out the cause.
Indeed #394 added the Javadoc plugin bound to the An end-to-end test phase is a frustrating time to fail on malformatted Javadoc… (and generating them is a bit of a waste of time outside of release preparation). Perhaps we can do something like:
Or if you'd like for contributors to maintain error-free Javadoc proactively:
Javadoc skip could be enabled by default in the root build, and disabled in a release profile. (Aside: I've noticed Spotless formatting check isn't happening currently, because it defaults to Let's take that discussion to a separate issue, I'll fix the straggler HTML encoding issues here momentarily to get CI green for this one. |
* Use Nexus staging pluging for deployment * Fix Javadoc error * Hard coded parent version as variable substitution is not supported
/retest |
Investigating the failure will take me some time—I don't want to shirk that responsibility, but before I spend it can anyone quickly recognize it as something that has been fixed on master that I should maybe pull in? Because it seems unlikely to me that it's a regression introduced by this branch, GitHub doesn't seem to show that status checks passed on the latest commit on v0.3-branch. To save you a click, it's a single failure in the
The print statement of the dataframe in question shows:
|
I think it is due to missing wait after running Feast apply. |
/retest |
I prefer the latter option so that we proactively maintain error-free docs. Are we happy to move this to an issue? |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ches, woop 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:
Approvers can indicate their approval by writing |
* Use back revision variable in pom.xml So user or CI system can easily override revision from external sources such as Git tag name * Add flatten maven plugin This plugin is useful during deployment so the final pom is resolved without parent dependency, i.e. we do not necessarily need to upload parent library * Increase versions for maven source,javadoc,spotless plugins So it has newer features and more fixes * Add gpg-plugin needed to sign releases * Use oss configure for flatten plugin, add developers info in pom.xml (required for releasing library * Add publish-java-sdk script * Add more logs to publish-java-sdk.sh * Add ProwJob publish-java-sdk * Use GPG_KEY_IMPORT_DIR variable * Update revision in pom.xml to 0.4.2-SNAPSHOT
Rather than the Maven protobuf plugin running on the same symlinked definitions in several Java modules, localize this process into one module that the others depend on. This provides a single module that can be depended on by third-party extensions with the bare minimum of dependencies. Also removes proto files that are no longer used.
@@ -69,4 +69,4 @@ gpg --import --batch --yes $GPG_KEY_IMPORT_DIR/private-key | |||
echo "============================================================" | |||
echo "Deploying Java SDK with revision: $REVISION" | |||
echo "============================================================" | |||
mvn --projects sdk/java -Drevision=$REVISION --batch-mode clean deploy | |||
mvn --projects datatypes/java,sdk/java -Drevision=$REVISION --batch-mode clean deploy |
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.
@davidheryanto I went with the bare minimum of augmenting the script here, since it makes sense that these are always published together by the same job, the conditions for when to run are the same, etc. Do you think anything more than this is needed, docs or otherwise?
We will need to forward-port this change to master, I forgot it in #391 since the release process came after I started.
/lgtm |
Oh damn, I didn't see there were new comments here. I already did an /lgtm so the merge went ahead. Can we use a separate PR for that? |
I already cherry-picked in the squash of #406 here so we're good with that. The only open part was my question to David just above from the last commit I tacked on. If we need any change for that I'll open a new PR. |
Ok, in that case it should be fine I think! |
This forward-ports a straggling commit from #407: it was missed when initially creating the datatypes module because Sonatype publishing setup was added concurrently.
This forward-ports a straggling commit from feast-dev#407: it was missed when initially creating the datatypes module because Sonatype publishing setup was added concurrently.
* Update Changelog (#423) * Initial commit of changelog up to 0.4.3 * Remove unreleased changes on master * Add missing changelog manually Co-authored-by: Khor Shu Heng <[email protected]> * Introduce datatypes/java module for proto generation (#391) Rather than the Maven protobuf plugin running on the same symlinked definitions in several Java modules, localize this process into one module that the others depend on. This provides a single module that can be depended on by third-party extensions with the bare minimum of dependencies. Also removes proto files that are no longer used. * Update basic Feast example to Feast 0.4 (#424) * Add documentation for bigquery batch retrieval (#428) * Add documentation for bigquery batch retrieval * Fix formatting for multiline comments * Bump hibernate-validator from 6.0.13.Final to 6.1.0.Final in /ingestion (#421) Bumps [hibernate-validator](https://github.com/hibernate/hibernate-validator) from 6.0.13.Final to 6.1.0.Final. - [Release notes](https://github.com/hibernate/hibernate-validator/releases) - [Changelog](https://github.com/hibernate/hibernate-validator/blob/master/changelog.txt) - [Commits](hibernate/hibernate-validator@6.0.13.Final...6.1.0.Final) Signed-off-by: dependabot[bot] <[email protected]> * Publish datatypes/java along with sdk/java (#426) This forward-ports a straggling commit from #407: it was missed when initially creating the datatypes module because Sonatype publishing setup was added concurrently. * Remove "resource" concept and the need to specify a kind in feature sets (#432) * Update GKE installation and chart values to work with 0.4.3 (#434) * Fix logging (#430) Allow log level to be set via environmental variable. Add ability to set appender type in serving. Remove logback-classic from ingestion as it is a library so should not bring its own impl. Upgrade log4j to 2.12.1 to support objectMessageAsJsonObject. Fix logger config targeting feast package in serving an add same concept for core. * Bump chart version * Update Changelog (#447) * Update Changelog * Remove closed issues Co-authored-by: Willem Pienaar <[email protected]> Co-authored-by: Ches Martin <[email protected]> Co-authored-by: Chen Zhiling <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Lionel Vital <[email protected]> Co-authored-by: Iain Rauch <[email protected]>
Backports #394, #406, and #391