Lock or Unlock Previews

If you want a Preview to remain in its current state without being updated, you can Lock the Preview. Locking a Preview prevents Tugboat from making updates, including things like automated updates from new pull request commits, until the Preview is Unlocked again. You might want to Lock a Preview to preserve its state for a longer review, or to avoid interruptions during a demo.

When you’re ready to make updates to the Preview again, whether manually or automated updates, Unlock the Preview.

A locked Preview cannot be rebuilt, refreshed, reset, or deleted until you Unlock it. You can still clone it. To keep the content changes made in a Preview while it still picks up new code, use Review mode instead.

This page used to describe Reset as well. Reset is now on Change or Update Previews.

To Lock or Unlock a Preview:

  1. Go to username -> My Projects at the upper-right of the Tugboat screen.
  2. Select the project where you want to Lock or Unlock a Preview.
  3. Click into the repo where you want to Lock or Unlock a Preview.
  4. Select the Preview you want to Lock or Unlock.
  5. Click the Actions drop-down menu for that Preview, and select Lock or Unlock.

When the Preview is successfully locked, you’ll see a closed padlock icon next to its status. For example, a green icon next to the Ready status. When the Preview is unlocked, the padlock icon turns into the regular state indicator.

Visual Walkthrough

Go to username -> My Projects at the upper-right of the Tugboat screen.

Go to username -> My Projects Go to username -> My Projects

Select the project where you want to Lock or Unlock a Preview.

Select the project Select the project

Click into the repo where you want to Lock/Unlock a Preview.

Click into Tugboat repository Click into Tugboat repository

Select the Preview you want to Lock or Unlock.

Select a Preview build Select a Preview build

Click the Actions drop-down menu for that Preview, and select Lock or Unlock.

The Actions panel of a Preview. Lock is first in the right column. A locked Preview shows Unlock in its place. The Actions panel of a Preview. Lock is first in the right column. A locked Preview shows Unlock in its place.

When the Preview is successfully locked, you’ll see a closed padlock icon next to its status. In this example, it’s a green icon next to the ready status. When the Preview is unlocked, the padlock icon turns into the regular state indicator.