You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2022/05/04 13:31:22 UTC
[hbase] branch HBASE-26995 updated (3f7a240e0b -> b723e597f0)
This is an automated email from the ASF dual-hosted git repository.
zhangduo pushed a change to branch HBASE-26995
in repository https://gitbox.apache.org/repos/asf/hbase.git
discard 3f7a240e0b add debug log
discard eb0c1c3ed6 only run general check
discard 22b5bc4ce4 skip refguide rebuild
new eb5c649297 skip refguide rebuild on branch other than master
new b723e597f0 only run general check
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (3f7a240e0b)
\
N -- N -- N refs/heads/HBASE-26995 (b723e597f0)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
dev-support/Jenkinsfile | 2 +-
dev-support/hbase-personality.sh | 15 ++++++++-------
2 files changed, 9 insertions(+), 8 deletions(-)
[hbase] 02/02: only run general check
Posted by zh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
zhangduo pushed a commit to branch HBASE-26995
in repository https://gitbox.apache.org/repos/asf/hbase.git
commit b723e597f03088d0651fe90ea050b7a72405e6fb
Author: Duo Zhang <zh...@apache.org>
AuthorDate: Wed May 4 13:32:49 2022 +0800
only run general check
---
dev-support/Jenkinsfile | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/dev-support/Jenkinsfile b/dev-support/Jenkinsfile
index f03522b389..9a402d2d24 100644
--- a/dev-support/Jenkinsfile
+++ b/dev-support/Jenkinsfile
@@ -40,7 +40,7 @@ pipeline {
OUTPUT_DIR_RELATIVE_JDK11_HADOOP3 = 'output-jdk11-hadoop3'
PROJECT = 'hbase'
- PROJECT_PERSONALITY = 'https://raw.githubusercontent.com/apache/hbase/master/dev-support/hbase-personality.sh'
+ PROJECT_PERSONALITY = 'https://raw.githubusercontent.com/apache/hbase/HBASE-26995/dev-support/hbase-personality.sh'
PERSONALITY_FILE = 'tools/personality.sh'
// This section of the docs tells folks not to use the javadoc tag. older branches have our old version of the check for said tag.
AUTHOR_IGNORE_LIST = 'src/main/asciidoc/_chapters/developer.adoc,dev-support/test-patch.sh'
@@ -412,6 +412,9 @@ pipeline {
label 'hbase'
}
}
+ when {
+ branch 'branch-1*'
+ }
environment {
BASEDIR = "${env.WORKSPACE}/component"
TESTS = "${env.DEEP_CHECKS}"
@@ -520,9 +523,7 @@ pipeline {
}
}
when {
- not {
- branch 'branch-1*'
- }
+ branch 'branch-1*'
}
environment {
BASEDIR = "${env.WORKSPACE}/component"
@@ -634,9 +635,7 @@ pipeline {
}
}
when {
- not {
- branch 'branch-1*'
- }
+ branch 'branch-1*'
}
environment {
BASEDIR = "${env.WORKSPACE}/component"
@@ -752,6 +751,9 @@ pipeline {
// this needs to be set to the jdk that ought to be used to build releases on the branch the Jenkinsfile is stored in.
jdk "jdk_1.8_latest"
}
+ when {
+ branch 'branch-1*'
+ }
environment {
BASEDIR = "${env.WORKSPACE}/component"
BRANCH = "${env.BRANCH_NAME}"
[hbase] 01/02: skip refguide rebuild on branch other than master
Posted by zh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
zhangduo pushed a commit to branch HBASE-26995
in repository https://gitbox.apache.org/repos/asf/hbase.git
commit eb5c649297be0240972e59efcbf1088c76385fba
Author: Duo Zhang <zh...@apache.org>
AuthorDate: Wed May 4 13:31:12 2022 +0800
skip refguide rebuild on branch other than master
---
dev-support/hbase-personality.sh | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/dev-support/hbase-personality.sh b/dev-support/hbase-personality.sh
index 081ee5aaa4..1b86e5932e 100755
--- a/dev-support/hbase-personality.sh
+++ b/dev-support/hbase-personality.sh
@@ -393,10 +393,13 @@ function refguide_filefilter
{
local filename=$1
- if [[ ${filename} =~ src/main/asciidoc ]] ||
- [[ ${filename} =~ src/main/xslt ]] ||
- [[ ${filename} =~ hbase-common/src/main/resources/hbase-default\.xml ]]; then
- add_test refguide
+ # we only generate ref guide on master branch now
+ if [[ "${PATCH_BRANCH}" = master ]]; then
+ if [[ ${filename} =~ src/main/asciidoc ]] ||
+ [[ ${filename} =~ src/main/xslt ]] ||
+ [[ ${filename} =~ hbase-common/src/main/resources/hbase-default\.xml ]]; then
+ add_test refguide
+ fi
fi
}
@@ -407,6 +410,10 @@ function refguide_rebuild
declare -i count
declare pdf_output
+ if [[ "${PATCH_BRANCH}" -ne "master" ]]; then
+ yetus_debug "skip checking ref guide for branch ${PATCH_BRANCH}"
+ return 0
+ fi
if ! verify_needed_test refguide; then
return 0
fi