Attila Doroszlai created HDDS-12498:
---------------------------------------
Summary: Allow limiting flaky-test-check to specific submodule
Key: HDDS-12498
URL: https://issues.apache.org/jira/browse/HDDS-12498
Project: Apache Ozone
Issue Type: Sub-task
Components: CI
Reporter: Attila Doroszlai
Assignee: Roland Elek
- Add a new input "{{submodule}}" in flaky-test-check. I think adding it after
[{{test-name}}|https://github.com/apache/ozone/blob/978e4a7eb6414be54c143383714e4f4af8464240/.github/workflows/intermittent-test-check.yml#L23-L30]
would make it easy to spot when entering inputs. Default value could be
either empty (to preserve existing behavior) or {{ozone-integration-test}} (to
cover the most frequent use case).
- If input is provided, limit Maven execution to that specific module by
appending to {{$args}}:
--
[build|https://github.com/apache/ozone/blob/978e4a7eb6414be54c143383714e4f4af8464240/.github/workflows/intermittent-test-check.yml#L116-L127]
should also make dependencies, so add: {{-am -pl}}
-- [test
execution|https://github.com/apache/ozone/blob/978e4a7eb6414be54c143383714e4f4af8464240/.github/workflows/intermittent-test-check.yml#L180-L203]
should skip re-building dependencies, so only add: {{-pl}}
The module name can be specified as following (note {{:}} as prefix):
{code}
-pl :${{ github.event.inputs.submodule }}
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]