-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
API: support rebuilding external version builds with build create end…
…point (#11407) * API: support rebuilding external version builds with build create endpoint On the old dashboard, we are using a hidden form on two views to retry builds, but the API is a more consistent way to do this. The feature this endpoint is missing that BuildTriggerMixin has is retrying a build for a version using the last build commit. What is different in this method is that we don't give the user an error if the build isn't the latest build for a version. To the user, this detail shouldn't matter and this endpoint instead automatically uses the last build to get the commit to start the new build. * Add basic test case for external build trigger * Refactor tests * Lint
- Loading branch information
Showing
3 changed files
with
50 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters