diff options
author | Vincent Ambo <Vincent Ambo> | 2020-01-18T15·49+0000 |
---|---|---|
committer | Vincent Ambo <Vincent Ambo> | 2020-01-18T15·49+0000 |
commit | 526b9c45723e8e5dea2510408b28785ca0652bae (patch) | |
tree | 5b9c16b469a3ce73fcc9d67e4ebb47f343e20627 | |
parent | 61830ebc5bfbfedee9e3fb37a5d89f530595dca0 (diff) |
feat(ops/sync-gcsr): Log successful build triggers r/409
-rw-r--r-- | ops/sync-gcsr/main.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ops/sync-gcsr/main.go b/ops/sync-gcsr/main.go index 4841b6261934..7c60df9178b2 100644 --- a/ops/sync-gcsr/main.go +++ b/ops/sync-gcsr/main.go @@ -81,6 +81,8 @@ func triggerBuild(commit string) { if resp.StatusCode != 200 { respBody, err := ioutil.ReadAll(resp.Body) log.Printf("received non-success response from builds.sr.ht: %s (%v)[%s]", respBody, resp.Status, err) + } else { + log.Println("triggered builds.sr.ht job for commit", commit) } } |