Releases

A release holds the files of one change. A run is one execution of that release, with its checks, approvals and results.

Release runRP-142 · v4Production
Elapsed
2:36
Changed objects
1
Rollback
Ready
A release run passes approval, a dry run, a backup and the deployment, and ends verified. Example data.

Create a release

  1. Open Releases › New release.
  2. Choose From a snapshot comparison to pick changes, or Start empty to add files yourself.
  3. In Files › Add files, add more changes, or upload SDF objects, scripts or a ZIP.

Review the files

  1. Under Compare to, choose the target account, then Live or Latest Snapshot.
  2. Open a file. Object XML shows its definition, and Referenced JavaScript shows the script it uses.
  3. Check the dependencies on the Overview tab, and select Add for those that belong in the release.

Validate, approve and deploy

  1. Select Validate. When the checks pass, the button changes to Deploy.
  2. Select Deploy, check the number of objects and the target, and confirm.
  3. Open Runs to follow it.
Steps in a run
StepWhat happens
Seal exact release artifactThe files are frozen for this run.
Resolve dependenciesRequired objects and references are checked.
Validate targets and capture rollback stateSDF validation and a dry-run for each target, and a record of the current state.
Approve stageA person allowed by the pipeline approves or rejects.
Final dry-runThe target is checked once more.
DeployThe files are applied to NetSuite.
VerifyThe result is checked after deployment.
A run waiting for approval in a demo account. Deploy does not start until the stage is approved.

Pipelines and approvals

A pipeline lists the environments in order and the approval rule of each one, by role or by named reviewer. The release’s Overview shows the pipeline before you start a run, and its activity shows what happened afterwards.

The activity on one release in a demo account.

If a run fails

  • Before Deploy: nothing reached the account. Correct the release and start a new run.
  • During Deploy or Verify: read which step failed and what was applied, then decide whether to correct, run again or recover.
  • Revert is a separate action under Recovery. It uses the state captured before that deployment, so its scope depends on what was captured.

Last updated · Changelog