zowe / zowe-install-packaging

Packaging repository for the Zowe install scripts and files
Eclipse Public License 2.0
26 stars 52 forks source link

update cicd with new commenting structure #3813

Open MarkAckert opened 2 months ago

MarkAckert commented 2 months ago

This PR streamlines comments from github-actions[bot] into two PR comments which will be re-used and updated with the latest build and test status for actions run against said PR. Previously, the bot creates new comments on every build, which runs against every commit, creating a massive amount of comment noise on our PRs (200+).

We lose some build history in the PR thread with this change, but said history is typically not useful and can be recovered easily by looking at workflow history filtered against a branch.

This change also keeps the github-actions[bot] PR comments at the top of a PR, which might be undesirable in some cases, though I don't know of any cases where that's true yet. To address this, another workflow is created which can remove the github-actions[bot] comments from a PR. Run that manually, then the next build creates new comments at the bottom of the pull request.

github-actions[bot] commented 2 months ago

Build status PAX build 5438 SUCCEEDED. Link to workflow run: https://github.com/zowe/zowe-install-packaging/actions/runs/9505760846

github-actions[bot] commented 2 months ago

Test status Test workflow 4754 is started. Running install test: Convenience Pax The zowe artifact being used by this test workflow: libs-snapshot-local/org/zowe/2.16.0-PR-3813/zowe-2.16.0-pr-3813-5438-20240613194642.pax Running on machine: zzow07 Result: SUCCEEDED Link to workflow run: https://github.com/zowe/zowe-install-packaging/actions/runs/9505837892