remote-build¶
Command remote-build sends the current project to be built remotely. After the build is complete, packages for each architecture are retrieved and will be available in the local filesystem.
If not specified in the snapcraft.yaml file, the list of architectures to build can be set using the –platforms option. If both are specified, an error will occur.
Interrupted remote builds can be resumed using the –recover option, followed by the build number informed when the remote build was originally dispatched. The current state of the remote build for each architecture can be checked using the –status option.
To set a timeout on the remote-build command, use the option
--launchpad-timeout=<seconds>. The timeout is local, so the build on
launchpad will continue even if the local instance of snapcraft is
interrupted or times out.
Usage¶
snapcraft remote-build [options]
Options¶
--build-idSpecific build ID to retrieve.
--launchpad-accept-public-uploadAcknowledge that uploaded code will be publicly available.
--launchpad-timeoutTime in seconds to wait for launchpad to build.
--projectUpload to the specified Launchpad project.
--recoverRecover an interrupted build.
--build-forComma-separated list of architectures to build for.
--platformComma-separated list of platforms to build for.
--statusDisplay remote build status.
Global options¶
-hor--helpShow this help message and exit.
-qor--quietOnly show warnings and errors, not progress.
-vor--verboseShow debug information and be more verbose.
--verbositySet the verbosity level to ‘quiet’, ‘brief’, ‘verbose’, ‘debug’ or ‘trace’.
-Vor--versionShow the application version and exit.