Details
-
New Feature
-
Status: Resolved
-
P3
-
Resolution: Done
-
None
Description
As an Apache Beam maintainer who develops examples, katas, or unit tests, I want to have a validation step in the CI pipeline for my Pull Request into the Apache Beam repository. This step should check tagged objects for Playground and give feedback in PR if something went wrong.
Acceptance criteria:
- Search Tags in the Apache Beam codebase
- Tag format validations for objects
- Compilation validation for tagged objects
- Verification for running ability in the Playground environment
- Feedback sends in Pull Request
Scenario: CI script found object available for Playground usage
Given: CI is triggered for new PR
When: CI script scan file in apache beam repository
And: File contained Playground tag
Then: CI Validates this file for usage in Playground
Given: CI found tagged object
When: CI runs validation for tag format
And: Validation is complete
Then: CI starts the compilation for this object
Given: CI found tagged object
When: CI runs validation for tag format
And: Validation is failed
Then: CI task ends with an error and feedback received to PR
–
Given: Validation is complete
When: CI runs compilation for object
And: Compilation is complete
Then: CI starts the run step for this object
–
Given: Validation is complete
When: CI runs compilation for object
And: Compilation is failed
Then: CI task ends with an error and feedback received to PR
–
Given: Compilation is complete
When: CI runs object's code in Playground
And: Run step is complete
Then: CI Ends successfully
Given: Compilation is complete
When: CI runs object's code in Playground
And: Run step
Then: CI task ends with an error and feedback received to PR
Attachments
Issue Links
- links to