hbase/dev-support
Matt Foley f3c0a0e06d
HBASE-24318 Create-release scripts fixes and enhancements (#1643)
* narrow 'dry-run' limits so see svn activity up to just before check-in.
* Fix several typos and, in case of dry run, enable build step to chain from tag step by keeping the tagged git repo.
* Improve Maven settings.xml file, and names of variables related to it. Remove unnecessary use of "-Dmaven.repo.local", put it in settings.xml instead. Stop putting password literals in settings.xml. 
* stop deleting maven settings file, now that it doesn't contain password strings
* Merge 'tag' into release-build.sh as another stage. Also found and fixed a couple bugs in the current release-tag.sh.
* Delete redundant release-tag.sh script.
* Small changes to make dev-support/create-release tools less focused
on hbase project only, while retaining special behaviors for
hbase sub-projects which share the hbase dist and jira locations.
* Changed terminology of release publish steps, from <build|publish>
to <publish-dist|publish-release>. In fact, what was formerly called
"build" built the distribution tarballs AND published them to dist,
while "publish" built the  maven artifacts AND published them to Nexus.
The new terminology clarifies what's happening, and removes the appearance
of order dependendency.
* Fix publish-snapshot so it does same checks as publish-release.
* Factor out common maven usages, and move them to build-util.sh.
* Change default polarity of DRY_RUN to default to true. Change -n ("no-publish") to -f ("force publish") to actually publish.
* Fix problems in do-release.sh so it runs correctly outside of docker,
  including DRY_RUN being exported.
* Have do-release.sh set REPO (shared maven local repository) if doing all three stages.
* Cleaned up REPO directory creation.
* General cleanup of comments and usage.
*  fix all 'shellcheck' errors
* use ${BASH_SOURCE[0]} instead of $0 to determine script directory path
* smarter way to read version from pom with mvn
* do maven-gpg-plugin config settings in maven settings file correctly as documented
* fix gpg signing failure on Mac due to gpg-agent timeout
* fix various bugs to enable publish-dist, publish-snapshot, and publish-release to work correctly as individual steps and/or without docker
* improve log reporting from publish-release step
*  fix bug in argument to checkcompatibility.py: replace PACKAGE_VERSION with GIT_REF
* demote "PACKAGE_VERSION" to "package_version_name" and undocument it in favor of RELEASE_TAG. Still enable appropriate defaulting in case RELEASE_TAG is undefined.
* unify RELEASE_VERSION with VERSION, to remove ambiguity and allow it to be set when only running 'publish' step without 'tag'
* query confirm RELEASE_TAG
* emphasize that release-build.sh is called for a single action at a time, and should be called from do-release.sh.
* add '-s' option to do-release.sh
* suppress maven "Download from central:" messages
* Replace human wait for tag propagation

Signed-off-by: Cesar Delgado <cdelgado@apple.com>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Sean Busbey <busbey@apache.org>
2020-05-09 10:46:41 -05:00
..
adhoc_run_tests HBASE-24045 Support setting `-Dhadoop.profile` in adhoc_run_tests.sh ADDENDUM 2020-03-26 08:43:50 -07:00
create-release HBASE-24318 Create-release scripts fixes and enhancements (#1643) 2020-05-09 10:46:41 -05:00
design-docs HBASE-23198 Update ref guide for distributed MOB compaction. 2020-03-05 11:40:42 -06:00
docker HBASE-24251 PreCommit build is failing because of can not build docker image (#1575) 2020-04-24 15:39:18 +08:00
flaky-tests HBASE-24126 Up the container nproc uplimit from 10000 to 12500 (#1504) 2020-04-13 14:59:16 -07:00
git-jira-release-audit HBASE-24136 Add release branch report to git-jira-release-audit tool 2020-04-09 09:28:36 -07:00
hbase_docker HBASE-24251 PreCommit build is failing because of can not build docker image; addendum (#1579) 2020-04-24 13:40:20 +02:00
jenkins-scripts HBASE-22852 Stop gpg agent daemons in hbase nightlies. (#525) 2019-08-26 16:30:22 -05:00
Dockerfile HBASE-24253 HBASE-Find-Flaky-Tests job is failing because of can not build docker image (#1578) 2020-04-24 19:39:19 +08:00
HBase Code Template.xml HBASE-6879: Add HBase Code Template 2012-12-04 01:24:18 +00:00
HOW_TO_YETUS_LOCAL.md HBASE-24130 rat plugin complains about having an unlicensed file (#1445) 2020-04-07 09:16:10 -07:00
Jenkinsfile HBASE-24198 Skip hadoop2 check for master branch (#1536) 2020-04-18 09:20:16 +08:00
Jenkinsfile_GitHub HBASE-24170 Remove hadoop-2.0 profile (#1495) 2020-04-16 18:57:40 +08:00
checkcompatibility.py HBASE-22497 Mark HBase 1.2 line as EOM 2019-06-03 06:55:58 -05:00
checkstyle_report.py HBASE-14859 Better checkstyle reporting. Reports file names, error names and old/new error counts. Fix some checks. (Apekshit) 2015-11-25 12:18:40 -08:00
eclipse.importorder HBASE-20912 Add import order config in dev support for eclipse (Ankit Singhal and Tak Lon (Stephen) Wu) 2019-04-05 14:36:52 -07:00
gather_machine_environment.sh HBASE-24122 Change machine ulimit-l to ulimit-a so dumps full ulimit rather than just 'max locked memory' 2020-04-06 10:14:21 -07:00
hbase-personality.sh HBASE-24280 Skip explicit hadoop3 profile activation on master 2020-05-01 18:19:11 -04:00
hbase-vote.sh HBASE-22464 Improvements to hbase-vote script 2019-08-23 12:44:58 -05:00
hbase_docker.sh HBASE-24126 Up the container nproc uplimit from 10000 to 12500 (#1504) 2020-04-13 14:59:16 -07:00
hbase_eclipse_formatter.xml HBASE-20911 correct Swtich/case indentation in formatter template for eclipse (Ankit Singhal) 2019-04-03 16:30:20 -07:00
hbase_nightly_pseudo-distributed-test.sh HBASE-24049 use hadoop-2.10.0 for "packaging and integration" check 2020-04-03 16:57:09 -07:00
hbase_nightly_source-artifact.sh HBASE-24150 Allow module tests run in parallel (#1464) 2020-04-13 11:54:16 -07:00
hbase_nightly_yetus.sh HBASE-24280 Skip explicit hadoop3 profile activation on master 2020-05-01 18:19:11 -04:00
hbasetests.sh HBASE-4495 CatalogTracker has an identity crisis; needs to be cut-back in scope (Mikhail Antonov) 2014-07-02 19:01:04 -07:00
jenkinsEnv.sh HBASE-16667 Building with JDK 8: ignoring option MaxPermSize=256m (Niels Basjes) 2016-09-24 16:07:25 -07:00
jenkins_precommit_github_yetus.sh HBASE-24280 Skip explicit hadoop3 profile activation on master 2020-05-01 18:19:11 -04:00
jenkins_precommit_jira_yetus.sh HBASE-23874 Move Jira-attached file precommit definition from script in Jenkins config to dev-support (#1191) (ADDENDUM) 2020-02-24 10:07:23 -08:00
make_patch.sh HBASE-19674: Improve make_patch.sh 2018-01-07 14:41:40 +01:00
make_rc.sh HBASE-21953 Point make_rc.sh at ./create-release/do-release-docker.sh instead 2019-06-12 07:54:30 -07:00
python-requirements.txt HBASE-21712 Make submit-patch.py python3 compatible - ADDENDUM 2019-01-16 09:24:47 +01:00
rebase_all_git_branches.sh HBASE-14087 Ensure correct ASF headers for docs/code 2015-07-29 14:25:43 -05:00
smart-apply-patch.sh HBASE-14087 Ensure correct ASF headers for docs/code 2015-07-29 14:25:43 -05:00
spotbugs-exclude.xml HBASE-23077 move entirely to spotbugs (#1265) 2020-03-12 10:18:09 +08:00
submit-patch.py HBASE-21712 : Make submit-patch.py python3 compatible 2019-01-14 14:50:50 -08:00
test-util.sh HBASE-14087 Ensure correct ASF headers for docs/code 2015-07-29 14:25:43 -05:00
zombie-detector.sh HBASE-14772 Improve zombie detector; be more discerning; part2; addendum -- yet more formatting 2015-12-03 14:11:01 -08:00