Building your Project

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.

Build Project button on toolbar

Note that the build may work differently, based on the current status of your IDE environment:

Normal scenario: when the test environment is live

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.

When the test environment has failed to deploy, or encountered an error

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:

  • clones the project from the version control repository,
  • installs the necessary dependencies,
  • bundles up the resulting file structure, and
  • uploads it to a cloud storage location.

This usually takes more time (typically 15-30 seconds) to complete. The status bar displays the progress, along with the currently ongoing build stage.

Build progress indicator on bottom status bar

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.

results matching ""

    No results matching ""