Search documentation
karat

+

K

apollo-cli publish

Top-level command for publishing a Product Release to Apollo. To publish a Release, a Manifest for the Release needs to be created and wrapped as a TGZ to be consumed by Apollo. The Apollo CLI can either publish a Release Manifest from an already created Artifact in the right format, or create one for you from a Manifest file or an existing Helm chart.

  • Helm chart: A Helm chart that describes a service or set of services. See publishing Helm charts for more information.
  • Asset: An aribtrary set of files. See Product Types for more information about Assets.
  • Artifact: A service distribution that is configured to be managed by Apollo.
  • Manifest: A file with metadata about a Product. See Manifest Spec for more information about Manifests.
Copied!
1 apollo-cli publish [subcommand] [flags]

Flags

FlagUse
--apollo-token (string)Bearer token to use for authenticated endpoints
--apollo-token-provider (string)Set the token provider. Specify static for Bearer Token and service-user for a service user.
--apollo-client-id (string)Client ID for a service account
--apollo-client-secret (string)Client secret for a service account
--apollo-url (string)Base URL for Apollo that is used to derive the API endpoints
--dry-runPrint the operations that would be performed
-h, --helpShow help menu for the publish command

Subcommands

SubcommandUse
publish artifactPublishes an existing Product TGZ to Apollo
publish helm-chartPublishes a Helm chart Product to Apollo
publish manifestPublishes a configuration Product that consists of the specified manifest file
publish assetPublishes an Asset Product to Apollo