This is an automated email from the ASF dual-hosted git repository.
adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/master by this push:
new acf3fdc7c2 HDDS-11458. Selective checks: trigger checkstyle for
properties file changes (#7196)
acf3fdc7c2 is described below
commit acf3fdc7c2c14a418bd680fd69228ccee91d85cd
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Wed Sep 25 10:23:34 2024 +0200
HDDS-11458. Selective checks: trigger checkstyle for properties file
changes (#7196)
---
dev-support/ci/selective_ci_checks.bats | 12 ++++++++++++
dev-support/ci/selective_ci_checks.sh | 1 +
2 files changed, 13 insertions(+)
diff --git a/dev-support/ci/selective_ci_checks.bats
b/dev-support/ci/selective_ci_checks.bats
index a95a981bdd..12a7987ffb 100644
--- a/dev-support/ci/selective_ci_checks.bats
+++ b/dev-support/ci/selective_ci_checks.bats
@@ -429,3 +429,15 @@ load bats-assert/load.bash
assert_output -p needs-integration-tests=false
assert_output -p needs-kubernetes-tests=false
}
+
+@test "properties file in resources" {
+ run dev-support/ci/selective_ci_checks.sh
71b8bdd8becf72d6f7d4e7986895504b8259b3e5
+
+ assert_output -p 'basic-checks=["rat","checkstyle","native"]'
+ assert_output -p needs-build=false
+ assert_output -p needs-compile=false
+ assert_output -p needs-compose-tests=false
+ assert_output -p needs-dependency-check=false
+ assert_output -p needs-integration-tests=true
+ assert_output -p needs-kubernetes-tests=false
+}
diff --git a/dev-support/ci/selective_ci_checks.sh
b/dev-support/ci/selective_ci_checks.sh
index e512b4a5d6..f6b06326a3 100755
--- a/dev-support/ci/selective_ci_checks.sh
+++ b/dev-support/ci/selective_ci_checks.sh
@@ -373,6 +373,7 @@ function check_needs_checkstyle() {
"^hadoop-hdds/dev-support/checkstyle"
"pom.xml"
"src/..../java"
+ "src/..../resources/.*\.properties"
)
local ignore_array=(
"^hadoop-ozone/dist"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]