hollywood/Tray.ai SDLC Deploy

Promote a Tray.ai project version between workspaces using the Projects and Solutions APIs.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
api-tokenDefault Tray.ai user or master token for both workspaces when source-api-token and destination-api-token are omitted. For cross-workspace promotion, set source-api-token and destination-api-token instead (api-token may be omitted if both are set), or set api-token plus one workspace-specific token so the other workspace falls back to this value. no""
source-api-tokenToken for the source workspace (list/export on the source project). When omitted, api-token is used. no""
destination-api-tokenToken for the destination workspace (import, version, and solution APIs). When omitted, api-token is used. no""
api-base-urlBase URL for the Tray.ai API (region-specific). Defaults to https://api.tray.io.no""
config-pathPath to a YAML or JSON deployment config file in the consumer repo. Defaults to .tray/deployment.yml. Set to an empty string to disable file loading.no.tray/deployment.yml
source-project-idUUID of the source project (the project being exported).no""
destination-project-idUUID of the destination project (the project being imported into).no""
source-versionSource project version to deploy. Use "latest" to resolve the most recently created version automatically.no""
destination-versionVersion number to create in the destination workspace after import. Defaults to the resolved source version for consistency.no""
version-titleTitle for the destination version (used by POST /versions/{versionNumber}).no""
version-descriptionDescription for the destination version (used by POST /versions/{versionNumber}).no""
scopeDeployment scope: "platform-only" or "platform-and-solutions". When "platform-and-solutions", the action will also call the Solutions publish-preview and publish APIs.no""
solution-idUUID of the solution to publish. Required when scope is "platform-and-solutions".no""
auth-mappingsJSON array of authentication mappings, e.g. '[{"authExportId":"...","authenticationId":"..."}]'.no""
config-overridesJSON object passed as configOverride to the import payload.no""
connector-mappingsJSON array of connector mappings ([{from:{name,version},to:{name,version}}, ...]).no""
service-mappingsJSON array of service mappings ([{from:{name,version},to:{name,version}}, ...]).no""
fail-on-breaking-changesWhen true (default), abort before import if the preview reports breaking changes on the project or solution.notrue
dry-runWhen true, stop after the import preview. No import, version creation, or publish is performed.nofalse
skip-requirements-checkWhen true, skip the POST /imports/requirements call. Useful for initial deployments where no auth/config diffing is needed.nofalse
namedescription
source-version-numberThe version number that was exported from the source workspace.
destination-version-numberThe version number created in the destination workspace.
import-metadata-jsonJSON-encoded importMetadata object returned by POST /imports.
project-impact-jsonJSON-encoded projectImpact object returned by POST /imports.
solution-impact-jsonJSON-encoded solutionImpact object returned by POST /imports (when applicable).
release-idRelease ID returned by POST /solutions/{id}/releases when scope is "platform-and-solutions".