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 bcf3f4daeb HDDS-9270. Create a script to list all acceptance test
splits (#5281)
bcf3f4daeb is described below
commit bcf3f4daebb6494c250f4915a26dc27abc013f19
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Wed Sep 13 09:36:22 2023 +0200
HDDS-9270. Create a script to list all acceptance test splits (#5281)
---
.github/workflows/ci.yml | 15 +++++----------
dev-support/ci/acceptance_suites.sh | 26 ++++++++++++++++++++++++++
2 files changed, 31 insertions(+), 10 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 70cb55e4ae..e0cde88398 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -25,6 +25,7 @@ jobs:
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
outputs:
+ acceptance-suites: ${{ steps.acceptance-suites.outputs.suites }}
basic-checks: ${{ steps.selective-checks.outputs.basic-checks }}
needs-basic-checks: ${{
steps.selective-checks.outputs.needs-basic-checks }}
needs-build: ${{ steps.selective-checks.outputs.needs-build }}
@@ -58,6 +59,9 @@ jobs:
# Run all checks
dev-support/ci/selective_ci_checks.sh
fi
+ - name: Acceptance suites
+ id: acceptance-suites
+ run: dev-support/ci/acceptance_suites.sh
build:
needs:
- build-info
@@ -247,16 +251,7 @@ jobs:
if: needs.build-info.outputs.needs-compose-tests == 'true'
strategy:
matrix:
- suite:
- - secure
- - unsecure
- - compat
- - EC
- - HA-secure
- - HA-unsecure
- - MR
- - misc
- - cert-rotation
+ suite: ${{ fromJson(needs.build-info.outputs.acceptance-suites) }}
fail-fast: false
steps:
- name: Checkout project
diff --git a/dev-support/ci/acceptance_suites.sh
b/dev-support/ci/acceptance_suites.sh
new file mode 100755
index 0000000000..4b37162ee7
--- /dev/null
+++ b/dev-support/ci/acceptance_suites.sh
@@ -0,0 +1,26 @@
+#!/usr/bin/env bash
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+# shellcheck source=dev-support/ci/lib/_script_init.sh
+. dev-support/ci/lib/_script_init.sh
+
+SUITES=$(grep --no-filename -r '^#suite:' hadoop-ozone/dist/src/main/compose \
+ | sort -u | cut -f2 -d':' | grep -v 'failing')
+
+initialization::ga_output suites \
+ "$(initialization::parameters_to_json ${SUITES})"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]