Skip to content
3 changes: 3 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
EXCLUDE_PLATFORM_API="true"
EXCLUDE_PLATFORM_OPENAPI="true"

# Seqera API docs are too large to host / build on netlify on their own.
# The appropriate ENVVAR is set to disable the API Builds on Netlify for the main docs site.

# Asset and image routing handled by Edge Function
# See .netlify/edge-functions/asset-proxy.js
[[edge_functions]]
Expand Down
31 changes: 31 additions & 0 deletions platform-cloud/docs/pipeline-schema/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,37 @@ You can populate the parameters in the pipeline by uploading a YAML or JSON file

See [nf-core/rnaseq](https://github.com/nf-core/rnaseq/blob/e049f51f0214b2aef7624b9dd496a404a7c34d14/nextflow_schema.json) as an example of the pipeline parameters that can be represented by a JSON schema file.

### Define pipeline schema

When adding or editing a pipeline, you can select one of three schema options to control parameter validation and the launch form:

1. **Repository default**: Use the default schema provided by the Pipeline git repository.
2. **Repository path**: Use a schema at a specific path in the repository.
3. **Seqera Platform schema**: Use a Nextflow JSON schema stored in Seqera Platform (overrides repository).

The selected schema controls which pipeline parameters are exposed in the launch form. This allows you to restrict the parameters visible to launch users, simplifying the launch experience and preventing modification of parameters that should remain fixed.

#### Seqera Platform schema

Users with [Maintain or higher](../orgs-and-teams/roles.md) permissions can upload a custom `nextflow_schema.json` file directly to Seqera Platform. When you upload a Platform schema:

- The schema content is validated to ensure it's a valid JSON schema
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This list, the one below, and the next two should have fullstops at the end of the items. Thanks!

- The Platform schema controls which parameters appear in the pipeline launch form
- Changes to the Platform schema trigger a new draft version of the pipeline
- The Platform schema is applied to all launches using that pipeline version

To add or update a Seqera Platform schema:

1. Navigate to **Add pipeline** or select **Edit** for an existing pipeline
2. Select **Seqera Platform schema** from the schema options
3. In the **Seqera Platform schema** field, paste your custom Nextflow schema JSON
4. The schema is validated automatically as you enter it
5. Select **Add** or **Save** to create a new draft version with the Platform schema

:::note
The schema `id` field must be unique. If you're pasting pipeline schema contents from an existing pipeline schema file, ensure you update the `id` field to a unique value.
:::

### Building pipeline schema files

The pipeline schema is based on [json-schema.org](https://json-schema.org/) syntax, with some additional conventions. While you can create your pipeline schema manually, we highly recommend using [nf-core tools](https://nf-co.re/tools/#pipeline-schema), a toolset for developing Nextflow pipelines built by the nf-core community.
Expand Down
3 changes: 2 additions & 1 deletion platform-cloud/docs/pipelines/versioning.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ New draft versions are automatically generated when you modify the following:
- **Image**
- **Description**
- **Labels**
- Custom Nextflow schema file (see [Custom schema](#custom-schema))
- **Resource labels**
- Pipeline schema selection (see [Define pipeline schema](../pipeline-schema/overview.md#define-pipeline-schema))

Published versions provide a stable reference for team-wide pipeline launches. Users with Maintain or higher permissions can publish a draft version, giving it a name and optionally setting it as the default version. This makes important configurations easy to identify, share, and promote across your team.

Expand Down
1 change: 1 addition & 0 deletions platform-enterprise_docs/pipelines/versioning.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ New draft versions are automatically generated during pipeline edit or launch wh
- **Image**
- **Description**
- **Labels**
- **Resource labels**

Published versions provide a stable reference for team-wide pipeline launches. Users with Maintain or higher permissions can publish a draft version, giving it a name and optionally setting it as the default version. This makes important configurations easy to identify, share, and promote across your team.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,37 @@ You can populate the parameters in the pipeline by uploading a YAML or JSON file

See [nf-core/rnaseq](https://github.com/nf-core/rnaseq/blob/e049f51f0214b2aef7624b9dd496a404a7c34d14/nextflow_schema.json) as an example of the pipeline parameters that can be represented by a JSON schema file.

### Define pipeline schema

When adding or editing a pipeline, you can select one of three schema options to control parameter validation and the launch form:

1. **Repository default**: Use the default schema provided by the Pipeline git repository.
2. **Repository path**: Use a schema at a specific path in the repository.
3. **Seqera Platform schema**: Use a Nextflow JSON schema stored in Seqera Platform (overrides repository).

The selected schema controls which pipeline parameters are exposed in the launch form. This allows you to restrict the parameters visible to launch users, simplifying the launch experience and preventing modification of parameters that should remain fixed.
Copy link
Contributor

@swingingsimian swingingsimian Feb 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'prevent' is a strong word here. The user is still able to edit the config view directly. The launch form defined by the schema can hide parameters which the pipeline maintain wishes not to be fiddled with, but it cannot prevent direct specification in the config view. Actually, let me double check that.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually this is correct, it's possible to hide a parameter, set a default and a validation which only validates the default.


#### Seqera Platform schema

Users with [Maintain or higher](../orgs-and-teams/roles.md) permissions can upload a custom `nextflow_schema.json` file directly to Seqera Platform. When you upload a Platform schema:

- The schema content is validated to ensure it's a valid JSON schema
- The Platform schema controls which parameters appear in the pipeline launch form
- Changes to the Platform schema trigger a new draft version of the pipeline
- The Platform schema is applied to all launches using that pipeline version

To add or update a Seqera Platform schema:

1. Navigate to **Add pipeline** or select **Edit** for an existing pipeline
2. Select **Seqera Platform schema** from the schema options
3. In the **Seqera Platform schema** field, paste your custom Nextflow schema JSON
4. The schema is validated automatically as you enter it
5. Select **Add** or **Save** to create a new draft version with the Platform schema

:::note
The schema `id` field must be unique. If you're pasting pipeline schema contents from an existing pipeline schema file, ensure you update the `id` field to a unique value.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removal of the id is also a valid fix.

:::

### Building pipeline schema files

The pipeline schema is based on [json-schema.org](https://json-schema.org/) syntax, with some additional conventions. While you can create your pipeline schema manually, we highly recommend using [nf-core tools](https://nf-co.re/tools/#pipeline-schema), a toolset for developing Nextflow pipelines built by the nf-core community.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ tags: [pipelines, versioning, nextflow, parameters]

Seqera's pipeline versioning system captures configuration changes as new draft versions of the pipeline, ensuring configuration traceability and execution reproducibility. Users with [Maintain or higher](../orgs-and-teams/roles.md) permissions can edit and publish draft versions, creating published versions that teams can reference and launch consistently.

To ensure fully reproducible behavior for pipelines configured with a branch or tag revision, it is essential to pin the commit ID of the workflow repository. This is because the 'HEAD' state of the repository can change over time. For more details see [Git revision management](https://docs.seqera.io/platform-enterprise/pipelines/revision).

:::tip
For deterministic and reproducible pipeline execution, use [commit ID pinning](revision.md) for published pipeline versions. This ensures the same workflow code is used across all launches of that version.
:::
Expand Down Expand Up @@ -45,7 +43,8 @@ New draft versions are automatically generated during pipeline edit or launch wh
- **Image**
- **Description**
- **Labels**
- Custom Nextflow schema file (see [Custom schema](#custom-schema))
- **Resource labels**
- Pipeline schema selection (see [Define pipeline schema](../pipeline-schema/overview.md#define-pipeline-schema))

Published versions provide a stable reference for team-wide pipeline launches. Users with Maintain or higher permissions can publish a draft version, giving it a name and optionally setting it as the default version. This makes important configurations easy to identify, share, and promote across your team.

Expand Down