For a serverless deployment, you often need to compose a bundle containing code and dependencies (libraries) of your functions. Sigma IDE does this for you transparently, without having to install any build tools or dependency managers on your local system.
In order to perform a build, click the Project → Build Project menu item, or the hammer icon on the toolbar.
Note that the build may work differently, based on the current status of your IDE environment:
In this case, the IDE will sync your latest code and dependency changes to the test environment, which will then bundle everything and upload it to a suitable cloud storage location (e.g. the dedicated test environment bucket). In most cases this takes only a few seconds, and you will only see a brief progress on the bottom status bar.
For further details on dependency handling, refer to the respective cloud platform under Dependency Manager.
In this case, the IDE will fall back to a “legacy” build. This usually involves a cloud-based build service (e.g. CodeBuild or AWS and CloudBuild on GCP), which:
This usually takes more time (typically 15-30 seconds) to complete. The status bar displays the progress, along with the currently ongoing build stage.
Since the legacy build obtains the project code from the VCS repository, it is mandatory to commit (save) the project before the legacy build can be invoked.
NOTE: The legacy build does not currently work for private repositories.