Skip to content

Conversation

@khendrikse
Copy link
Contributor

@khendrikse khendrikse commented Jan 30, 2023

Some work to support https://github.com/netlify/pod-compute/issues/192 in buildbot :)

@netlify
Copy link

netlify bot commented Jan 30, 2023

Deploy Preview for open-api ready!

Name Link
🔨 Latest commit 3d23b9b
🔍 Latest deploy log https://app.netlify.com/sites/open-api/deploys/63da3e85b9c8e9000830b8c9
😎 Deploy Preview https://deploy-preview-420--open-api.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@github-actions github-actions bot added the type: feature code contributing to the implementation of a feature and/or user facing functionality label Jan 30, 2023
@khendrikse khendrikse force-pushed the feat-204/add-functions-config-to-buildbot-deploy branch from c1d4eec to 92c921d Compare January 30, 2023 14:56
@khendrikse khendrikse marked this pull request as ready for review January 30, 2023 14:58
@khendrikse khendrikse requested a review from a team as a code owner January 30, 2023 14:58
@khendrikse khendrikse self-assigned this Jan 30, 2023
"site_id": options.SiteID,
"deploy_files": len(options.files.Sums),
"scheduled_functions": len(schedules),
"functions_config": functionsConfig,
Copy link
Member

Choose a reason for hiding this comment

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

I don't think you want to log the entire map here, because it's not something that renders very well in the structured logs. You can see that for other properties we're printing strings or numbers. I would consider revisiting this and figuring out what would be useful to log here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Makes total sense now that you say it, I removed it, as I think right now it is not useful to log something. Maybe when we get the autogenerated information in the future, that would be interesting to log. To know how many of the functions were autogenerated functions for example :)

@khendrikse
Copy link
Contributor Author

Confirmed that this works by trying it out in a draft pr of buildbot! ✨

Copy link
Contributor

@Skn0tt Skn0tt left a comment

Choose a reason for hiding this comment

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

LGTM!

@khendrikse khendrikse merged commit db33213 into master Feb 2, 2023
@khendrikse khendrikse deleted the feat-204/add-functions-config-to-buildbot-deploy branch February 2, 2023 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: feature code contributing to the implementation of a feature and/or user facing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants