Skip to content
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

Record build tool #23

Merged
merged 1 commit into from
Dec 2, 2022
Merged

Record build tool #23

merged 1 commit into from
Dec 2, 2022

Conversation

nicl
Copy link
Contributor

@nicl nicl commented Dec 1, 2022

This will help us track (in Riffraff) which projects are built using this tool.

This will help us track (in Riffraff) which projects are built
using this tool.
@nicl nicl marked this pull request as ready for review December 2, 2022 09:59
@@ -8,7 +8,11 @@ import type { Deployment } from './riffraff';
import { manifest, riffraffPrefix } from './riffraff';
import { S3Store, sync } from './s3';

export const main = async (): Promise<void> => {
interface Options {
WithSummary: boolean; // Use to disable summary when running locally.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this simply to de-clutter test output?

Copy link

@kenoir kenoir Dec 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah ... it's to stop the summary appearing in GitHub checks in PRs here where it doesn't make sense. 👍

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test was actually broken (when run locally) by #20 but went unnoticed. The summary requires a GITHUB env var + file to be present, which is hard to stub locally.

@kenoir kenoir self-requested a review December 2, 2022 10:35
@nicl nicl merged commit f2b0e16 into main Dec 2, 2022
@nicl nicl deleted the nicl/record-build-tool branch December 2, 2022 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants