diff options
author | Vincent Ambo <mail@tazj.in> | 2021-04-12T17·30+0200 |
---|---|---|
committer | tazjin <mail@tazj.in> | 2021-04-12T17·42+0000 |
commit | e09b44bdec0167a6e1fec23e5ca294033814dbeb (patch) | |
tree | 6fc22964d234a3795cf3e907a9884c8ec6e1db2c /ops/besadii/main.go | |
parent | adc9d026e0d724637fe57664cac5a4d5349b7834 (diff) |
chore(besadii): Stop passing explicit messages to Buildkite r/2494
Dropping the message field will make Buildkite use the commit messages instead, which makes for much more readable build logs. Change-Id: I1849f811632526893b700f117c9f6cf64888c329 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2949 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'ops/besadii/main.go')
-rw-r--r-- | ops/besadii/main.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ops/besadii/main.go b/ops/besadii/main.go index 998c677010bc..7972df74dd18 100644 --- a/ops/besadii/main.go +++ b/ops/besadii/main.go @@ -56,28 +56,22 @@ type Author struct { type Build struct { Commit string `json:"commit"` Branch string `json:"branch"` - Message string `json:"message"` Author Author `json:"author"` Env map[string]string `json:"env"` } // Trigger a build of a given branch & commit on Buildkite func triggerBuild(log *syslog.Writer, token string, update *refUpdated) error { - var message string env := make(map[string]string) if update.changeId != nil && update.patchset != nil { env["GERRIT_CHANGE_ID"] = *update.changeId env["GERRIT_PATCHSET"] = *update.patchset - message = fmt.Sprintf(":llama: depot @ https://cl.tvl.fyi/c/depot/+/%s/%s", *update.changeId, *update.patchset) - } else { - message = fmt.Sprintf(":llama: depot @ %s", update.commit) } build := Build{ Commit: update.commit, Branch: update.ref, - Message: message, Env: env, Author: Author{ Name: update.submitter, |