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

Add a script for building and verifying release candidate

    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

        1. HBASE-21963.master.006.patch
          7 kB
          Tak-Lon (Stephen) Wu
        2. HBASE-21963.master.005.patch
          7 kB
          Tak-Lon (Stephen) Wu
        3. HBASE-21963.master.004.patch
          6 kB
          Tak-Lon (Stephen) Wu
        4. HBASE-21963.master.003.patch
          6 kB
          Tak-Lon (Stephen) Wu
        5. HBASE-21963.master.002.patch
          6 kB
          Tak-Lon (Stephen) Wu
        6. HBASE-21963.master.001.patch
          6 kB
          Tak-Lon (Stephen) Wu

          Issue Links

          There are no Sub-Tasks for this issue.

            Activity

              People

              • Assignee:
                taklwu Tak-Lon (Stephen) Wu
                Reporter:
                taklwu Tak-Lon (Stephen) Wu
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: