> For the complete documentation index, see [llms.txt](https://docs.codeocean.com/user-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.codeocean.com/user-guide/release-capsules-and-pipelines/creating-and-using-release-capsules.md).

# Creating and Using Release Capsules

A release Capsule is a permanently reproducible, run-only version, that is separate from the original. This enables your team to use a fully functioning version while you develop on the original.

The release Capsule will inherit the sharing permissions of the original. Once it has been created, the sharing permissions of the release can be changed independently of the original.

## **Releasing a Compute Capsule**

1. Click **Release** in the top right corner of your Capsule to begin the release process.\ <br>

   <figure><img src="https://content.gitbook.com/content/JBvQzbhmtTYD6eK7t7ko/blobs/aCQtIMQS6jKtf3PnTemg/image.png" alt=""><figcaption></figcaption></figure>
2. Complete the mandatory pre-release steps:
   * Fill out the required metadata.
   * Perform a Reproducible Run that includes all the latest changes.&#x20;
   * Ensure all files in your Capsule are either tracked in Git or intentionally excluded from Git by adding them to the .gitignore file.
3. Once you've completed all the criteria, the Capsule can be released. This creates a separate run-only version of your Capsule that is available to anyone with access to the original.\
   \
   You can access the release version from the Capsule Timeline.

   <figure><img src="https://content.gitbook.com/content/JBvQzbhmtTYD6eK7t7ko/blobs/Hf6rZzbTP8rCedjh2TwB/image.png" alt=""><figcaption></figcaption></figure>
4. If you continue to develop the original Capsule and would like changes to be reflected in the release version, you can update the release Capsule by clicking **Release a new version** in the original Capsule.\
   &#x20;\
   All versions will be available in the release Capsule’s Timeline as well as through a dropdown menu above the Timeline. From any release version, users can easily toggle to others.

<figure><img src="https://content.gitbook.com/content/JBvQzbhmtTYD6eK7t7ko/blobs/OglXEyBJ6exi9ROdx0ZM/image.png" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Only Owners of the Capsule or Pipeline can release it.
{% endhint %}

### No-Code Apps

Capsules that are used as No-Code Apps have an additional field to complete in the metadata page: the type of No-Code App must be selected.&#x20;

In the pre-release page, No-Code App options will be available for release depending on the Capsule's history. The options are:

1. App Panel, if a valid App Panel has been created.&#x20;
2. Shiny, if the Shiny Cloud Workstation has been used.
3. Streamlit, if the Streamlit Cloud Workstation has been used.
4. Ubuntu, if the Ubuntu Cloud Workstation has been used.
5. IGV, if the IGV Cloud Workstation has been used.

<figure><img src="https://content.gitbook.com/content/JBvQzbhmtTYD6eK7t7ko/blobs/gU0mChn3GmWTRzXSbZGG/Screenshot%202024-02-05%20at%205.10.00%20PM.png" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
This will ensure the appropriate Cloud Workstation is available in the release Capsule. These Apps can be launched directly from Collections by clicking "**Open App**" for the corresponding Capsule or Pipelines.

Additionally,  CW No-Code Apps can be shared and directly launched by clicking "**Copy Run Link**" in the asset's Share window.&#x20;
{% endhint %}

## **Find a Release Capsule**

Navigate to the My Capsules dashboard (![](https://content.gitbook.com/content/JBvQzbhmtTYD6eK7t7ko/blobs/2AUdJQqGlMQOBEGxr3Z1/image.png)) in the left sidebar. Select the **Released** tab to view any release Capsule you have access to.&#x20;

<figure><img src="https://content.gitbook.com/content/JBvQzbhmtTYD6eK7t7ko/blobs/OX08r0u6wmxIGCR8mSQP/release_tab_v212.png" alt=""><figcaption></figcaption></figure>

## Working with a Release Capsule

From the original Capsule, navigate to the release Capsule by clicking **Go To Release Capsule** in the Timeline. The Capsule's release status is indicated by a blue **Release** label to the left of the Capsule's title.&#x20;

<figure><img src="https://content.gitbook.com/content/JBvQzbhmtTYD6eK7t7ko/blobs/rnKFZpKqTbzQJiuSORIz/release%20icon.png" alt=""><figcaption></figcaption></figure>

In the release Capsule you can explore any files the author made available, execute Reproducible Runs, create Data Assets from results, and duplicate the release version.&#x20;

In the release Capsule, click **Reproducible Run** to execute a run. A pop-up message appears to indicate the estimated re-run time. Click **Proceed** to continue.

Any user with access to the release Capsule can do a Reproducible Run, but in the Timeline each user will only see the Release Results and results from runs they started.

<figure><img src="https://content.gitbook.com/content/JBvQzbhmtTYD6eK7t7ko/blobs/lBozVpbOvm6m397zfLG5/Screenshot%202023-06-14%20at%2010.43.24%20PM.png" alt=""><figcaption></figcaption></figure>

To edit a release version, you must duplicate it first.

1. Click **Capsule** in the menu.
2. Click **Duplicate**.

You are redirected to the newly duplicated Capsule. The Capsule name becomes Copy of + *the original Capsule name*.&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.codeocean.com/user-guide/release-capsules-and-pipelines/creating-and-using-release-capsules.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
