Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions dev-support/ci/selective_ci_checks.bats
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions dev-support/ci/selective_ci_checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down