You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the "Update the builder" job runs at the very end, since it's declared as having a dependency on all of the other jobs:
flowchart LR
A[Compile buildpacks] --> B[Publish to Docker Hub]
B --> C[Publish to CNB registry]
A --> D[Create GitHub release]
C & D --> E[Update builder]
Loading
However, opening the builder PR only actually needs the "Publish to Docker Hub" step to have been completed. ie:
flowchart LR
A[Compile buildpacks] --> B[Publish to Docker Hub]
B --> C[Publish to CNB registry]
A --> D[Create GitHub release]
B --> E[Update builder]
Loading
By removing these unnecessary dependencies from the workflow definition, we:
Speed up the end to end time of publishing a CNB, since more of the jobs can now run in parallel
However, we might want to wait to do this until we've done #113, since currently the only signal buildpack maintainers have for failed jobs is that the builder update PR never gets opened - so we want to make sure there is still a way to see that eg the CNB registry job has failed.
edmorley
changed the title
Remove the "Update builder" job's dependency on publishing to the CNB registry
Remove unnecessary dependencies from the "Update builder" job
Aug 16, 2023
Currently the "Update the builder" job runs at the very end, since it's declared as having a dependency on all of the other jobs:
However, opening the builder PR only actually needs the "Publish to Docker Hub" step to have been completed. ie:
By removing these unnecessary dependencies from the workflow definition, we:
However, we might want to wait to do this until we've done #113, since currently the only signal buildpack maintainers have for failed jobs is that the builder update PR never gets opened - so we want to make sure there is still a way to see that eg the CNB registry job has failed.
GUS-W-13956414.
The text was updated successfully, but these errors were encountered: