Sha256: 47d4b75c32e8bcec72726e1158e2304f3e103e3e473ba3365853148f38139023

Contents?: true

Size: 1.71 KB

Versions: 5

Compression:

Stored size: 1.71 KB

Contents

CIDE-PACKAGE "FEBRUARY 2016" cide-package "Cide Manual"
=======================================================

NAME
----

cide-package - Builds a package from the run script

SYNOPSIS
--------

*cide package*  [`-n`|`-t`|`--name`=<*name*>] [`-s`|`--ssh-key`=<*path*>]
                [`--package`=<*package*>] [`--upload`]
                [`--set-version`]

DESCRIPTION
-----------

This tells `cide` to package a built package for you, and possibly upload it to
s3.

When invoke, cide will retrieve a previously created container (see `--name`),
perform a `cide` run, and package a given directory. The behavior is the same
as `exec` but will always export a directory, which it will upload to Amazon
s3.

OPTIONS
-------

`-n`, `-t`, `--name`
  The name (tag) of the container from which to retrieve the build.

`-s`, `--ssh-key`=<*path*>
  When the `use_ssh:` directive is set to true, where to get the ssh key to
  inject into the container. Defaults to `~/.ssh/id_rsa`.

`--package`=<*package*>
  The name of the package. The final archive will have the name
  `<package>.<timestamp>.<version>.tar.gz`, where timestamp is the time at
  which the packaging occured (in format `YYYY-mm-dd_HHMMSS`) and `<version>`
  is the package version (see `--set-version`).

`--upload`
  Whether the archive should be uploaded to Amazon s3. If the archive should be
  uploaded to s3 by the packager, the s3 credentials must be provided to
  `cide`. The s3 credentials must be exported as environment variables.

`--set-version`
  Sets a package version. Is is solely used when naming the archive (see
  `--package`). If no version is provided on the command line, a default
  version name will be extracted from git (short sha).

SEE ALSO
--------

cide(1)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cide-0.9.2 man/cide-package.1.md
cide-0.9.1 man/cide-package.1.md
cide-0.9.0 man/cide-package.1.md
cide-0.8.1 man/cide-package.1.md
cide-0.8.0 man/cide-package.1.md