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

Replace make_rc.sh with customized spark/dev/create-release

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-1
    • community
    • Reviewed
    • Hide
      These scripts came originally from spark [1]. They were then modified to suit hbase context. Supercedes the old ../make_rc.sh script because what is here is more comprehensive doing more steps of the RM process as well as running in a container so the RM build environment can be a constant.

       It:
           * Tags release
           * Sets version to the release version
           * Sets version to next SNAPSHOT version.
           * Builds, signs, and hashes all artifacts.
           * Pushes release tgzs to the dev dir in a apache dist.
           * Pushes to repository.apache.org staging.

       The entry point is the do-release-docker.sh script. Pass -h to see available options. For example, running below will do all steps above using the 'rm' dir under Downloads as workspace:

           $ ./do-release-docker.sh -d ~/Downloads/rm

      1. https://github.com/apache/spark/tree/master/dev/create-release
      Show
      These scripts came originally from spark [1]. They were then modified to suit hbase context. Supercedes the old ../make_rc.sh script because what is here is more comprehensive doing more steps of the RM process as well as running in a container so the RM build environment can be a constant.  It:      * Tags release      * Sets version to the release version      * Sets version to next SNAPSHOT version.      * Builds, signs, and hashes all artifacts.      * Pushes release tgzs to the dev dir in a apache dist.      * Pushes to repository.apache.org staging.  The entry point is the do-release-docker.sh script. Pass -h to see available options. For example, running below will do all steps above using the 'rm' dir under Downloads as workspace:      $ ./do-release-docker.sh -d ~/Downloads/rm 1. https://github.com/apache/spark/tree/master/dev/create-release

    Description

      The spark/dev/create-release is more comprehensive than our hokey make_rc.sh script. It codifies the bulk of the RM process from tagging, version-setting, building, signing, and pushing. It does it in a container so environment is same each time. It has a bunch of spark-specifics as is – naturally – but should be possible to pull it around to suit hbase RM'ing. It'd save a bunch of time and would allow us to get to a place where RM'ing is canned, evolvable, and consistent.

      I've been hacking on the tooling before the filing of this JIRA and was polluting branch-2.0 w/ tagging and reverts. Let me make a branch named for this JIRA to play with (There is a dry-run flag but it too needs work...).

      Attachments

        1. HBASE-21935.branch-2.1.001.patch
          38 kB
          Michael Stack
        2. HBASE-21935.branch-2.1.002.patch
          37 kB
          Michael Stack
        3. HBASE-21935.branch-2.1.003.patch
          37 kB
          Michael Stack
        4. HBASE-21935.branch-2.1.004.patch
          38 kB
          Michael Stack
        5. HBASE-21935.branch-2.1.005.patch
          38 kB
          Michael Stack
        6. HBASE-21935.branch-2.1.006.patch
          38 kB
          Michael Stack
        7. HBASE-21935.branch-2.1.007.patch
          38 kB
          Michael Stack
        8. HBASE-21935.branch-2.0.001.patch
          38 kB
          Michael Stack
        9. HBASE-21935.branch-2.0.002.patch
          38 kB
          Michael Stack
        10. HBASE-21935.branch-2.0.003.patch
          38 kB
          Michael Stack
        11. HBASE-21935.branch-2.0.004.patch
          38 kB
          Michael Stack
        12. HBASE-21935.branch-2.0.005.patch
          38 kB
          Michael Stack
        13. HBASE-21935.branch-2.0.006.patch
          38 kB
          Michael Stack
        14. HBASE-21935.branch-2.0.007.patch
          38 kB
          Michael Stack
        15. HBASE-21935.branch-2.0.008.patch
          38 kB
          Michael Stack
        16. HBASE-21935.branch-2.0.009.patch
          39 kB
          Michael Stack
        17. HBASE-21935.branch-2.0.010.patch
          39 kB
          Michael Stack
        18. HBASE-21935.branch-2.0.011.patch
          39 kB
          Michael Stack
        19. HBASE-21935.branch-2.0.012.patch
          39 kB
          Michael Stack
        20. HBASE-21935.branch-2.0.013.patch
          39 kB
          Michael Stack
        21. HBASE-21935.branch-2.0.014.patch
          39 kB
          Michael Stack
        22. HBASE-21935.branch-2.0.015.patch
          39 kB
          Michael Stack
        23. HBASE-21935.branch-2.0.016.patch
          39 kB
          Michael Stack
        24. HBASE-21935.branch-2.0.017.patch
          39 kB
          Michael Stack
        25. HBASE-21935.branch-2.0.018.patch
          39 kB
          Michael Stack
        26. HBASE-21935.branch-2.0.019.patch
          39 kB
          Michael Stack
        27. HBASE-21935.master.001.patch
          59 kB
          Michael Stack

        Activity

          People

            stack Michael Stack
            stack Michael Stack
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: