Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-21963

Add a script for building and verifying release candidate

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      During the release vote for HBase 2.1.3RC1, a driver/helper script was mentioned and can potentially help contributors prepare to vote for a release candidate. As recommended, we decided to move toward this tool to under dev-support/

      Here the driver script provides the following automation:

      1. Import and check publisher key(s)
      2. Checksum of sources and binaries
      3. Signature of sources and binaries
      4. Rat check
      5. Built from source
      6. Verify unit tests

      # example usage
      $ bash dev-support/hbase-vote.sh -s https://dist.apache.org/repos/dist/dev/hbase/hbase-1.5.0RC2/
      
      $ bash dev-support/hbase-vote.sh -h
      hbase-vote. A script for standard vote which verifies the following items
      1. Checksum of sources and binaries
      2. Signature of sources and binaries
      3. Rat check
      4. Built from source
      5. Unit tests
      
      Usage: hbase-vote.sh -s | --source <url> [-k | --key <signature>] [-f | --keys-file-url <url>]
             hbase-vote.sh -h | --help
      
        -h | --help                   Show this screen.
        -s | --source '<url>'         A URL pointing to the release candidate sources and binaries
                                      e.g. https://dist.apache.org/repos/dist/dev/hbase/hbase-<version>RC0/
        -k | --key '<signature>'      A signature of the public key, e.g. 9AD2AE49
        -f | --keys-file-url '<url>'   the URL of the key file, default is
                                      http://www.apache.org/dist/hbase/KEYS
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            taklwu Tak-Lon (Stephen) Wu Assign to me
            taklwu Tak-Lon (Stephen) Wu
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment