This is a concourse resource to publish package cloud packages. Java, Ruby and Python packages are not supported yet
This resource is a ruby gem, which can be build via
gem build packagecloud_resource.gemspec
The gem contains three executables: pcr_check
, pcr_in
and pcr_out
,
which are used as check
, in
and out
commands for the resource.
- username: Package cloud username
- api_key: Package cloud api token
- repo: Package cloud repo name
- distribution_name: Optional a name of distribution. Can be overriden by the same configuration in
out
params.
Distribution name can be one of distribution names described in the packagecloud docs
Please note, that ruby gem, java and python distributions are not supported
- distribution_name: Optional a name of distribution. Overrides the source configuration.
- package_file_glob: Optional a glob pattern for the package file.
- delete_version: Optional version pattern to delete. If set, will delete packages with matching version.
Either package_file_glob
or delete_version
should be set.