This is an automated email from the ASF dual-hosted git repository.

gjahad 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 f271f719a3 HDDS-9026. Skip acceptance/kubernetes for license changes 
(#5074)
f271f719a3 is described below

commit f271f719a3da850c48cfcea12c9243dc87cb06a7
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Thu Aug 3 03:28:24 2023 +0200

    HDDS-9026. Skip acceptance/kubernetes for license changes (#5074)
---
 dev-support/ci/selective_ci_checks.bats | 24 ++++++++++++++++++++++++
 dev-support/ci/selective_ci_checks.sh   |  3 +++
 2 files changed, 27 insertions(+)

diff --git a/dev-support/ci/selective_ci_checks.bats 
b/dev-support/ci/selective_ci_checks.bats
index 7bab0602f8..b5b3d2aeaf 100644
--- a/dev-support/ci/selective_ci_checks.bats
+++ b/dev-support/ci/selective_ci_checks.bats
@@ -368,3 +368,27 @@ load bats-assert/load.bash
   assert_output -p needs-integration-tests=false
   assert_output -p needs-kubernetes-tests=false
 }
+
+@test "LICENSE" {
+  run dev-support/ci/selective_ci_checks.sh a9bb08889c
+
+  assert_output -p 'basic-checks=["rat"]'
+  assert_output -p needs-build=true
+  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=false
+  assert_output -p needs-kubernetes-tests=false
+}
+
+@test "dependency helper" {
+  run dev-support/ci/selective_ci_checks.sh 47a5671cc5
+
+  assert_output -p 'basic-checks=["rat","bats"]'
+  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=true
+  assert_output -p needs-integration-tests=false
+  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 91320f8099..89ac6e3739 100755
--- a/dev-support/ci/selective_ci_checks.sh
+++ b/dev-support/ci/selective_ci_checks.sh
@@ -230,6 +230,7 @@ function get_count_compose_files() {
     )
     local ignore_array=(
         "^hadoop-ozone/dist/src/main/k8s"
+        "^hadoop-ozone/dist/src/main/license"
         "\.md$"
     )
     filter_changed_files true
@@ -286,6 +287,7 @@ function get_count_kubernetes_files() {
     )
     local ignore_array=(
         "^hadoop-ozone/dist/src/main/compose"
+        "^hadoop-ozone/dist/src/main/license"
         "\.md$"
     )
     filter_changed_files true
@@ -488,6 +490,7 @@ function get_count_misc_files() {
         "\.txt$"
         "\.md$"
         "findbugsExcludeFile.xml"
+        "/NOTICE$"
     )
     local ignore_array=(
         "^.github/workflows/post-commit.yml"


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to