This is an automated email from the ASF dual-hosted git repository.
ritesh 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 af25a48005 HDDS-10340. Skip ci on dashboard updates (#6203)
af25a48005 is described below
commit af25a480050c6036b8c2019b835ee0a56d9c40ac
Author: Ritesh H Shukla <[email protected]>
AuthorDate: Fri Feb 9 11:14:13 2024 -0800
HDDS-10340. Skip ci on dashboard updates (#6203)
Co-authored-by: Ritesh H Shukla <[email protected]>
---
dev-support/ci/selective_ci_checks.bats | 12 ++++++++++++
dev-support/ci/selective_ci_checks.sh | 2 ++
2 files changed, 14 insertions(+)
diff --git a/dev-support/ci/selective_ci_checks.bats
b/dev-support/ci/selective_ci_checks.bats
index 9fe1708c91..a21a4c387b 100644
--- a/dev-support/ci/selective_ci_checks.bats
+++ b/dev-support/ci/selective_ci_checks.bats
@@ -57,6 +57,18 @@ load bats-assert/load.bash
assert_output -p needs-kubernetes-tests=false
}
+@test "dashboard only" {
+ run dev-support/ci/selective_ci_checks.sh 039dea9
+
+ assert_output -p 'basic-checks=["rat"]'
+ 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=false
+ assert_output -p needs-kubernetes-tests=false
+}
+
@test "compose and robot" {
run dev-support/ci/selective_ci_checks.sh b83039eef
diff --git a/dev-support/ci/selective_ci_checks.sh
b/dev-support/ci/selective_ci_checks.sh
index 996bd382be..3cfeaa4a6e 100755
--- a/dev-support/ci/selective_ci_checks.sh
+++ b/dev-support/ci/selective_ci_checks.sh
@@ -233,6 +233,7 @@ function get_count_compose_files() {
local ignore_array=(
"^hadoop-ozone/dist/src/main/k8s"
"^hadoop-ozone/dist/src/main/license"
+ "^hadoop-ozone/dist/src/main/compose/common/grafana/dashboards"
"\.md$"
)
filter_changed_files true
@@ -494,6 +495,7 @@ function get_count_misc_files() {
"\.md$"
"findbugsExcludeFile.xml"
"/NOTICE$"
+ "^hadoop-ozone/dist/src/main/compose/common/grafana/dashboards"
)
local ignore_array=(
"^.github/workflows/post-commit.yml"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]