-
Notifications
You must be signed in to change notification settings - Fork 235
Race Condition in Model Docs and Website Updates in Same CI/CD Workflow #1447
Copy link
Copy link
Closed
Labels
Scope: CI/CDEnhancements to the project's Continuous Integration and Continuous Delivery pipeline.Enhancements to the project's Continuous Integration and Continuous Delivery pipeline.enhancement
Description
User Story
As a NIST OSCAL developer, in order to efficiently build updated reference model docs and website updates at the same time, I would like the CI/CD system to detect model update commits in the same workflow and git pull only under those conditions as to not fail the build.
Goals
- Determine risk of automatically
git pulling on branches where the modelworkflow-generate-website-reference.ymlworkflow step successfully executes and adds commits that are not detected byworkflow-generate-website.ymlsteps that have not pulled in current changes.- Document risk decision.
- Implement a check in CD
workflow-generate-website.ymltogit pullifworkflow-generate-website-reference.ymldid commit to the target main branch.
Dependencies
No response
Acceptance Criteria
- All OSCAL website and readme documentation affected by the changes in this issue have been updated. Changes to the OSCAL website can be made in the docs/content directory of your branch.
- A Pull Request (PR) is submitted that fully addresses the goals of this User Story. This issue is referenced in the PR.
- The CI-CD build process runs without any reported errors on the PR. This can be confirmed by reviewing that all checks have passed in the PR.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Scope: CI/CDEnhancements to the project's Continuous Integration and Continuous Delivery pipeline.Enhancements to the project's Continuous Integration and Continuous Delivery pipeline.enhancement
Type
Projects
Status
Done