Skip to main content

Ossa Migrate

ossa migrate

Purpose: Migrate agent manifests between OSSA versions

Synopsis

ossa migrate <source> [options]

Description

Migrate agent manifests between OSSA versions

Arguments

  • <source> (required) - Source manifest file

Options

  • --from <version> - Source OSSA version
  • --to <version> - Target OSSA version (default: latest)
  • --output <path> - Output file path
  • --dry-run - Show changes without writing

Examples

ossa migrate agent.yaml --from 0.2.8 --to 0.3.0
ossa migrate agent.yaml --dry-run
ossa migrate agent.yaml --output migrated-agent.yaml

API Endpoint Connection

This command uses the following API endpoint:

Exit Codes

  • 0 - Success
  • 1 - General error
  • 2 - Invalid arguments
  • 3 - File not found