Migration Guide
Learn how to migrate from Harness Classic Experience to Harness New Experience.
This guide provides a step-by-step process for migrating from Harness Classic Experience to Harness New Experience. Existing Classic Experience resources are fully compatible with the New Experience, so teams can migrate incrementally at their own pace.
Setup
Follow these eight steps to migrate from Harness Classic Experience to Harness New Experience. Each step can be performed independently, and you can proceed at whatever pace suits your team.
Review Existing Pipelines: Audit your existing Classic Experience pipelines to understand their structure, stage types, and dependencies. Identify pipelines that would benefit most from the v1 YAML format.
Simplify YAML: Convert pipeline YAML from the Classic Experience format to the v1 specification. Remove boilerplate fields like
projectIdentifierandorgIdentifierthat are no longer required at the pipeline level.Remove Stage Types: In v1 YAML, explicit stage type wrappers are simplified. The
type: Deploymentwith nestedspec.deploymentTypeis replaced with a flat type:deployortype: ci.Add Typed Inputs: Replace runtime inputs (
<+input>) with the new typed inputs system. Typed inputs support string, number, boolean, choice, and secret types with validation and default values.Deploy Delegate 3.0: Install the new unified Delegate 3.0 alongside existing delegates. Route new pipelines to Delegate 3.0 using delegate selectors, and decommission Classic Experience delegates as workloads are migrated.
Customize Navigation: Explore the new navigation layout in Harness New Experience. Pin frequently used projects and resources, configure your sidebar preferences, and learn the keyboard shortcuts for efficient navigation.
Explore Harness Code: Harness Code is the built-in source code management system in Harness New Experience. Evaluate whether migrating repositories to Harness Code can simplify your pipeline configurations and reduce external dependencies.
Use Harness AI: Leverage the reimagined AI Assistant to accelerate your migration. It can help create new v1 pipelines, explain configuration differences, and troubleshoot issues during the transition.
The following example shows a side-by-side comparison of the same pipeline expressed in the Classic Experience format and the New Experience v1 format. The v1 format is significantly shorter and easier to read.
Before: Harness Classic Experience YAML
# Harness Classic Experience (v0 YAML)
pipeline:
name: Deploy App
identifier: deploy_app
projectIdentifier: my_project
orgIdentifier: default
stages:
- stage:
name: Deploy to Dev
identifier: deploy_dev
type: Deployment
spec:
deploymentType: Kubernetes
service:
serviceRef: my_service
environment:
environmentRef: dev
deployToAll: false
infrastructureDefinitions:
- identifier: k8s_dev
execution:
steps:
- step:
name: Rolling Deploy
identifier: rolling
type: K8sRollingDeploy
spec:
skipDryRun: falseAfter: Harness New Experience YAML
# Harness New Experience (v1 YAML)
pipeline:
name: Deploy App
stages:
- name: Deploy to Dev
service: my_service
environment:
name: dev
deploy-to: k8s_dev
steps:
- name: Rolling Deploy
with:
skip_dry_run: falseBackward compatibility
All existing Classic Experience resources are fully compatible with Harness New Experience. No modifications are required to continue using your existing configurations.
Fully compatible
Fully compatible
Fully compatible
Fully compatible
Fully compatible
Fully compatible
Fully compatible
How conversion behaves
Converting a pipeline to v1 always creates a new copy; it never modifies or deletes the Harness Classic original. Keep the following in mind:
Copy-first: The Classic pipeline remains unchanged and available as a fallback after conversion.
Atomic: If any part of a conversion fails, nothing is converted. There is no partial conversion to clean up.
New identifier: The converted pipeline and its templates get a new identifier with a short hex suffix, for example
my_pipelinebecomesmy_pipeline_a3f2. Update any scripts, dashboards, or deep links that reference the pipeline or template by identifier.One-way: There is no supported path to convert a Harness New experience (v1) pipeline back to Classic (v0) format.
What doesn't convert yet
A few resources and step types need a deliberate plan before you convert a pipeline that depends on them.
OPA policies
Not converted
Re-author against the v1 schema. Keep the existing NG policy active until every affected pipeline has been addressed.
Triggers
Not carried over automatically
Reconfigure on the v1 pipeline only when you cut over, and keep triggers active on one generation of the pipeline at a time to avoid duplicate runs.
Input Sets
Regenerated against the v1 inputs model
Recreate them for the converted pipeline.
Harness File Store
Status being finalized
Confirm the current status with your Harness account team before planning around it.
Remote (Git-backed) pipelines
In-place conversion not yet supported
Conversion produces a new pipeline version that you push through your own PR or manifest update.
Templated pipelines
Excluded from auto-conversion
Convert the underlying templates first, then the pipeline.
GitOps pipelines
No migration path yet
Stay on Classic for these.
Terraform-managed pipelines
v1 provider support coming soon
The Harness Terraform provider's pipeline, trigger, and input-set resources currently target Classic (v0) YAML and project scope only.
A number of step types have no v1 mapping yet, including GCR build-and-push, the Security Tests stage type, Prisma Cloud, SSCA orchestration, Chaos, AI Test Automation, FIPS-mode security steps, and IACM approval. A pipeline using one of these stays on Classic until a mapping ships.
Known limitations
Keep the following in mind while Harness new experience is in beta:
Step porting is ongoing. Not every Classic step is available in v1 yet. Step support is being prioritized by usage and CI/CD criticality.
In-pipeline infrastructure provisioning is not yet available. Provisioner steps and expressions (Terraform, CloudFormation, CDK) are not supported in v1 today. If you provision infrastructure inside your delivery pipelines, keep that flow on Classic for now.
GitHub Actions coverage is not universal. Executing GitHub Actions through the
actionstep is supported, but coverage depends on the runner environment. Validate the specific actions you depend on before committing a migration plan to them.Some expressions don't resolve yet, and some were remapped. A number of expressions, including step-group variables, service variable overrides, and provisioner expressions, are not yet supported in v1. Others changed path or keyword between NG and v1. Review your pipeline's expressions against the expression mapping guide before converting.
When to use Pipeline v1
The v1 pipeline format is optional. Use the following guidance to decide when to adopt it versus continuing with existing Classic Experience pipelines.
Existing working pipelines
Keep using them as-is. Classic Experience pipelines are fully supported in the New Experience and will continue to work without changes.
Want to use new features
Create new pipelines using the v1 format. New features such as typed inputs, improved expressions, and simplified syntax are available in v1.
Need Stage Groups or GHA syntax
Requires Pipeline v1. Stage Groups (parallel stage orchestration) and GitHub Actions-compatible syntax are only available in the v1 format.
Last updated
Was this helpful?