-
Notifications
You must be signed in to change notification settings - Fork 302
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/ci: address review feedback from CL 551352
Including some other bits. Drop the force-push of current tip of master to the trybot after the push of a Dispatch-Trailer commit for a trybot trigger. This step existed in a pre CL 551352 world in order that PR-based trybot triggers did not stall because of the commit in the PR being unrelated to the then tip of master in the trybot repo. In the new world, everything force-pushes to branches on the trybot repo (with retry) so there is no potential for conflict. This will also mean that we do a lot less unnecessary work on the trybot instance, and hence speed up trybot runs. Explicitly set an initial branch name wherever we do a git init in order that we don't have different behaviour depending on git config (some situations will default to master, others main). Use jq -r because we always want raw output. Define workflowFileExtension. We need to be able to rely on this value being constant in later CLs for use in workflow_dispatch. Drop direct use of the base package in ci_tool. We can leverage the fact that repo uses base as a template. Signed-off-by: Paul Jolly <paul@myitcv.io> Change-Id: I223d345a36d71de5039ed94b1d7a3b54400e00fc Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/552141 TryBot-Result: CUEcueckoo <cueckoo@cuelang.org> Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
- Loading branch information
Showing
10 changed files
with
74 additions
and
116 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
package github | ||
|
||
dummyDispatch: patchset: 153 | ||
dummyDispatch: { | ||
CL: 552141 | ||
patchset: 42 | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,5 +48,4 @@ workflows: close({ | |
|
||
dummyDispatch: _repo.#dispatch & { | ||
type: _repo.trybot.key | ||
CL: 551352 | ||
} |