You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by GitBox <gi...@apache.org> on 2019/11/05 23:32:01 UTC

[GitHub] [calcite-avatica] F21 commented on issue #104: WIP: CALCITE-3158: Avatica: migrate build system to Gradle

F21 commented on issue #104: WIP: CALCITE-3158: Avatica: migrate build system to Gradle
URL: https://github.com/apache/calcite-avatica/pull/104#issuecomment-550071369
 
 
   I've been testing this out in docker and this is what I've got so far:
   
   I first started the stub environment using `./recreate.sh calcite`.
   
   After cloning your branch, I mounted it into a Gradle container in interactive mode:
   ```
   docker run -v "$PWD":/home/gradle/project -v "/c/Users/Francis Chuang/AppData/Roaming/gnupg":/.gnupg -w /home/gradle/project --network="host" -it gradle sh
   apt update
   apt install gpg
   mkdir -p /root/.gnupg
   cp -r /.gnupg/ /root/
   chmod -R 700 /root/.gnupg/
   rm -rf /root/.gnupg/*.lock
   gradle prepareVote -PasfTestGitSourceUsername=test -PasfTestGitSourcePassword=test -PallowUncommittedChanges -Prc=0 -PuseGpgCmd
   ```
   Gpg shows that my keys are in the docker container:
   ```
   # gpg --list-secret-keys
   /root/.gnupg/pubring.kbx
   ------------------------
   sec   rsa4096 2018-04-16 [SC]
         635665E0BE3F72552910CB74BBE44E923A970AB7
   uid           [ultimate] Francis Chuang <fr...@apache.org>
   ssb   rsa4096 2018-04-16 [E]
   ```
   
   The prepareVote tasks fails:
   ```
   # gradle prepareVote -PasfTestGitSourceUsername=test -PasfTestGitSourcePassword=test -PallowUncommittedChanges -Prc=0 -PuseGpgCmd
   
   > Configure project :
   Building Apache Calcite Avatica 1.16.0
   
   > Task :core:initializeNexusStagingRepository
   Initialized stagingRepositoryId orgapachecalcite-1572996459686 for repository nexus
   
   > Task :metrics:signMetricsPublication FAILED
   
   > Task :pushRcTag
   Pushing tag to Git remote release-origin-test: git://127.0.0.1/calcite.git
   Message from release-origin-test:
   Updated remote ref Ref[refs/heads/asf-site=a9d6941660e39fd39e2554562ec2518775e9aac4(-1)]: null
   Updated remote ref Ref[refs/heads/gh-pages=a9d6941660e39fd39e2554562ec2518775e9aac4(-1)]: null
   Updated remote ref Ref[refs/heads/master=a9d6941660e39fd39e2554562ec2518775e9aac4(-1)]: null
   Updated remote ref Ref[refs/tags/avatica-1.16.0-rc0=acb8ec778af888048b259bcb95565f018b2f1591(-1)]: RemoteRefUpdate[remoteName=refs/tags/avatica-1.16.0-rc0, UP_TO_DATE, (null)...acb8ec778af888048b259bcb95565f018b2f1591, srcRef=refs/tags/avatica-1.16.0-rc0, message=null]
   
   FAILURE: Build failed with an exception.
   
   * What went wrong:
   A problem was found with the configuration of task ':metrics:signMetricsPublication'.
   > No value has been specified for property 'signatory.keyId'.
   
   * Try:
   Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
   
   * Get more help at https://help.gradle.org
   
   Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
   Use '--warning-mode all' to show the individual deprecation warnings.
   See https://docs.gradle.org/5.6.4/userguide/command_line_interface.html#sec:command_line_warnings
   
   BUILD FAILED in 3m 55s
   37 actionable tasks: 18 executed, 19 up-to-date
   ```
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services