Kafka
  1. Kafka
  2. KAFKA-1297

releaseTarGz target needs signing task

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.2.0
    • Fix Version/s: 0.8.2.0
    • Component/s: None
    • Labels:
      None

      Description

      ./gradlew releaseTarGz

      three warnings found
      :core:processResources UP-TO-DATE
      :core:classes
      :core:copyDependantLibs UP-TO-DATE
      :core:jar
      :core:signArchives FAILED

      FAILURE: Build failed with an exception.

      • What went wrong:
        Execution failed for task ':core:signArchives'.
        > Cannot perform signing task ':core:signArchives' because it has no configured signatory

        Activity

        Hide
        Jun Rao added a comment -

        Not sure why it doesn't work. However, if you run the individual command, it works.
        ./gradlew -PscalaVersion=2.10.1 releaseTarGz -x signArchives

        Show
        Jun Rao added a comment - Not sure why it doesn't work. However, if you run the individual command, it works. ./gradlew -PscalaVersion=2.10.1 releaseTarGz -x signArchives
        Hide
        Min Zhou added a comment -

        Hi Jun,

        Seems still can't work when building kafka like below

        ./gradlew releaseTarGzAll -x signArchives

        Show
        Min Zhou added a comment - Hi Jun, Seems still can't work when building kafka like below ./gradlew releaseTarGzAll -x signArchives
        Hide
        Jun Rao added a comment -

        Committed to trunk.

        Show
        Jun Rao added a comment - Committed to trunk.
        Hide
        Jun Rao added a comment -

        We can use the following workaround. Then, we don't need to set up the signing key. Will check in a trivial change in README.

        ./gradlew releaseTarGz -x signArchives

        Show
        Jun Rao added a comment - We can use the following workaround. Then, we don't need to set up the signing key. Will check in a trivial change in README. ./gradlew releaseTarGz -x signArchives
        Hide
        Jun Rao added a comment -

        Joe Stein,

        Do you know how we can run the releaseTarGz target w/o setting the signing key?

        Show
        Jun Rao added a comment - Joe Stein, Do you know how we can run the releaseTarGz target w/o setting the signing key?

          People

          • Assignee:
            Jun Rao
            Reporter:
            Jun Rao
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development