-
Notifications
You must be signed in to change notification settings - Fork 120
Add Buildkite step to optionally trigger FAD build on trunk
#16432
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
9ff68a4
b8470b6
0a28f5e
f5f24eb
153f41f
9ce0ff5
c96ea40
66961b3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -31,6 +31,20 @@ steps: | |
| - github_commit_status: | ||
| context: Prototype Build | ||
|
|
||
| - group: ":rocket: Prototype Build" | ||
| if: build.branch == "trunk" | ||
| steps: | ||
| - input: Deploy Prototype Build? | ||
| prompt: Share a Prototype Build via Firebase App Distribution? | ||
| key: prototype_triggered | ||
| - label: Prototype Build | ||
| depends_on: prototype_triggered | ||
| command: .buildkite/commands/prototype-build.sh | ||
| plugins: [$CI_TOOLKIT] | ||
| notify: | ||
| - github_commit_status: | ||
| context: Prototype Build From Trunk | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Notice the different name for the check, just in case the same commit already run from a PR (impossible with merge commits and squashes, but one never knows... rebase and merge? cherry pick and force push bypassing checks?) and also to keep things tidy.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I wonder if it actually makes sense to have this So maybe we might as well remove that
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think there's marginal value in keeping this. GitHub shows the commit checks outside PRs, too. Here's from example in the repo's landing page:
If clicked, it shows:
It might be useful at some point to have the check -> CI job link accessible this way. But... I don't feel strongly about it. Happy to delete if this doesn't sound like a strong enough reason.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah good point, completely forgot about that UI in GitHub to show checks on any commit even outside PRs 👍 |
||
|
|
||
| ################# | ||
| # Run Unit Tests | ||
| ################# | ||
|
|
||


Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I considered splitting build from upload as part of this PR, but decided to save it log it as a nice to have for a future date instead.
Doing so would have required updating the existing prototype build step and I didn't want to grow the scope.