Scroll to navigation

COMPOSER-CLI(1) COMPOSER-CLI(1)

NAME

composer-cli-compose - Manage composes

SYNOPSIS

composer-cli compose ... [flags]

DESCRIPTION

Manage composes on the server

The 'start' and 'start-ostree' commands can optionally upload the results,
view the full upload profile reference here:
https://www.osbuild.org/guides/user-guide/uploading-to-cloud.html

OPTIONS

-h, --help[=false] help for compose

OPTIONS INHERITED FROM PARENT COMMANDS

-a, --api=1 Server API Version to use

-j, --json[=false] Output the raw JSON response instead of the normal output

--log="" Path to optional logfile

-s, --socket="/run/weldr/api.socket" Path to the server's socket file

--test=0 Pass test mode to compose. 1=Mock compose with fail. 2=Mock compose with finished.

--timeout=240 Timeout to use for server communication. Set to 0 for no timeout

EXAMPLE


TOML profile for uploading to AWS
provider = "aws"
[settings]
accessKeyID = "AWS_ACCESS_KEY_ID"
secretAccessKey = "AWS_SECRET_ACCESS_KEY"
bucket = "AWS_BUCKET"
region = "AWS_REGION"
key = "OBJECT_KEY"
TOML profile for uploading to GCP
provider = "gcp"
[settings]
bucket = "GCP_BUCKET"
region = "GCP_STORAGE_REGION"
object = "OBJECT_KEY"
credentials = "GCP_CREDENTIALS"
TOML profile for uploading to Azure
provider = "azure"
[settings]
storageAccount = "your storage account name"
storageAccessKey = "storage access key you copied in the Azure portal"
container = "your storage container name"

SEE ALSO

composer-cli(1), composer-cli-compose-cancel(1), composer-cli-compose-delete(1), composer-cli-compose-image(1), composer-cli-compose-info(1), composer-cli-compose-list(1), composer-cli-compose-log(1), composer-cli-compose-logs(1), composer-cli-compose-metadata(1), composer-cli-compose-results(1), composer-cli-compose-start(1), composer-cli-compose-start-ostree(1), composer-cli-compose-status(1), composer-cli-compose-types(1)

HISTORY

2-Apr-2023 Auto generated by spf13/cobra

Apr 2023 composer-cli