-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/task, relui: add posting to Mastodon
Very much a copy of the code for Twitter, except that it uses a 3rd party package to handle posting. Some of the common code was moved into a new function. Also includes an end-to-end test for by-hand use that will send a Mastodon DM to a specified account. This test requires access to the cloud secrets and will skip if it lacks either those secrets or the command line flag. Fixes golang/go#65046. Change-Id: Ie7606242766f36fecd5b15acc3c995c046098079 Reviewed-on: https://go-review.googlesource.com/c/build/+/554375 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
- Loading branch information
Showing
9 changed files
with
288 additions
and
100 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,6 +39,7 @@ spec: | |
- "[email protected]" | ||
- "[email protected]" | ||
- "--twitter-api-secret=secret:symbolic-datum-552/twitter-api-secret" | ||
- "--mastodon-api-secret=secret:symbolic-datum-552/mastodon-api-secret" | ||
- "--builder-master-key=secret:symbolic-datum-552/builder-master-key" | ||
- "--github-token=secret:symbolic-datum-552/maintner-github-token" | ||
- "--scratch-files-base=gs://golang-release-staging/relui-scratch" | ||
|
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
Oops, something went wrong.