Update the existing Build Images workflow to build all FBPCS images and run on pull requests. #2213
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary:
Context
We have seen some issues slip through recently that have caused our B&R system to be unstable. Right now, the only testing that we do on diffs is to see if the onedocker image builds. This is insufficient to ensure that changes don't break our B&R system.
The new flow for the "Build, Test, and Publish the FBPCS Docker Images" workflow will be to build
and testevery pull request or push to mainwith the basic, non-GraphAPI end to end tests. For pull requests, it will block the landing of the diff until thetestsbuilds pass. For merges to main, it will create a task and assign it to the person who pushed the commit. This will provide 2 benefits:Workflow Design
The Build, Test, and Publish the FBPCS Docker Images workflow follows these steps:
Once all images are built successfully, run E2E tests{F898944897}
Updates for V15
I've removed the E2E testing because there is a tag conflict with the RC OneDocker image and will require more effort to include E2E testing. For now, this is still usefull as it makes the builds more like the production release process and includes the coordinator image.
This Diff
This diff updates the already existing workflow that would build images on pushes to main to also build on pull requests and to test the images with the local (non-GraphAPI) E2E tests.
Differential Revision: D44229635