build
build copied to clipboard
Netlify Build (node process) runs the build command, Build Plugins and bundles Netlify Functions. Can be run in Buildbot or locally using Netlify CLI
Netlify Build performs few network requests to: - Bitballoon API, specifically the `getSite`, `cancelDeploy` and `createPluginRun` endpoints - Telemetry In integration tests, we currently [mock those](https://github.com/netlify/build/blob/836b84a30e951942394f45922c59b6b6d7c6d561/packages/build/tests/helpers/server.js#L7). This makes the test...
**Which problem is this feature request solving?** `build` allows a different non production host for the netlify API to be passed via flag: https://github.com/netlify/build/blob/a1cbf789bac18a83232a29c70390691442527693/packages/build/src/core/flags.js#L38-L42 We should have a way to...
Some plugins have previously wanted to know the output directory where Functions are bundled. We provide with a non-configurable `constants.FUNCTIONS_DIST` for this purpose. We might have the same need for...
**Describe the bug** Hi team. not sure if this is the correct place, but I hope I can find some pointers. Link to issue on the [support forum](https://answers.netlify.com/t/problem-running-a-script-before-netlify-build-process-not-before-the-build-command/42287). As the...
**Which problem is this feature request solving?** Currently, the buildbot handles notifying users of what final settings are being used for their build. **Describe the solution you'd like** This logic...
**Which problem is this feature request solving?** As part of https://github.com/netlify/build/issues/3077 and netlify/pod-workflow#219 we're now running local and package.json installed plugins with our own system version (v12) whenever the user...
Errors resulting from reading a `package.json` file should be flagged as user errors for monitoring purposes. See https://github.com/netlify/zip-it-and-ship-it/blob/cfec60f66d8eea2023bea3dad0fcd7afaa3a09c0/src/node_dependencies/traverse.js#L115.
Currently, we only report duration metrics for successful build executions (see https://github.com/netlify/build/blob/main/packages/build/src/core/main.js#L538) which can be problematic if we want to capture, measure and alert on failures (as we've seen today...
## Overview `inputs` is a property that can be defined in a plugin's `manifest.yml` file. An "input" is an expected value that can be provided to the plugin at runtime....
As part of #40, we should move the [`install_dependencies`](https://github.com/netlify/build-image/blob/9cade8af58c2cf3a17a1e9433d2e979149488837/run-build-functions.sh#L159) logic from the buildbot Bash script to Netlify Build. The logic involves installing dependencies by using heuristing to guess which ones...