Actions
Task #4852
closedAdd a "docs" test to PR runner
Start date:
Due date:
% Done:
0%
Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
Yes
Tags:
Sprint:
Sprint 55
Quarter:
Description
Scripts are rendered in the workflows docs, and these scripts can be run together to ensure that the instructions are correct.
2 full workflow scripts test sync-publish (docs/_scripts/destructive_check_sync_publish.sh) and upload-publish (docs/_scripts/destructive_check_upload_publish.sh). Both of these scripts should execute without errors to pass the docs test.
This task has 3 components:
- Add docs test to PR runner (like https://github.com/pulp/pulpcore/blob/master/.travis/script.sh#L28-L34)
- Execute the scripts 2 full workflow scripts
- Modify bash scripts to include exit codes so failures are obvious
Actions
Problem: plugin authors can't edit the test scripts
Solution: allow plugin authors to add custom bash scripts
https://pulp.plan.io/issues/4852 re: #4852