{"id":20476723,"url":"https://github.com/rabbitmq/concourse-packagecloud-resource","last_synced_at":"2025-10-05T19:46:55.643Z","repository":{"id":137801876,"uuid":"101164944","full_name":"rabbitmq/concourse-packagecloud-resource","owner":"rabbitmq","description":"Concourse resource to publish packages to package cloud.","archived":false,"fork":false,"pushed_at":"2020-07-28T00:50:49.000Z","size":489,"stargazers_count":1,"open_issues_count":0,"forks_count":4,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-03-27T03:51:16.856Z","etag":null,"topics":["concourse","concourse-ci","concourse-resource","packagecloud"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rabbitmq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-23T09:51:34.000Z","updated_at":"2020-07-28T00:50:49.000Z","dependencies_parsed_at":"2023-05-22T14:30:39.539Z","dependency_job_id":null,"html_url":"https://github.com/rabbitmq/concourse-packagecloud-resource","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rabbitmq%2Fconcourse-packagecloud-resource","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rabbitmq%2Fconcourse-packagecloud-resource/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rabbitmq%2Fconcourse-packagecloud-resource/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rabbitmq%2Fconcourse-packagecloud-resource/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rabbitmq","download_url":"https://codeload.github.com/rabbitmq/concourse-packagecloud-resource/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248717241,"owners_count":21150387,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["concourse","concourse-ci","concourse-resource","packagecloud"],"created_at":"2024-11-15T15:22:37.535Z","updated_at":"2025-10-05T19:46:50.624Z","avatar_url":"https://github.com/rabbitmq.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Concourse PackageCloud resource\n\nThis is a Concourse resource to publish Debian and RPM packages to PackageCloud.\n\n## Project Maturity\n\nThis resource is used in production by Team RabbitMQ to distribute open source RabbitMQ packages\n(Debian and RPM) to PackageCloud.\n\n**Java, Ruby and Python package types are not supported at the moment**\n\n## Installing\n\n```yaml\n---\nresource_types:\n- name: packagecloud\n  type: docker-image\n  source:\n    repository: pivotalrabbitmq/packagecloud-package-resource\n    tag: latest\n```\n\n## Building\n\nThis resource is a ruby gem, which can be build via\n\n```\ngem build packagecloud_resource.gemspec\n```\n\nThe gem contains three executables: `pcr_check`, `pcr_in` and `pcr_out`,\nwhich are used as `check`, `in` and `out` commands for the resource.\n\n## Usage\n\n### Source Configuration\n\n```yaml\nresources:\n- name: packagecloud_upload\n  type: packagecloud\n  source:\n    username: {{packagecloud-username}}\n    api_key: {{packagecloud-api-key}}\n    repo: {{packagecloud-repo}}\n    distribution_name: el/7\n```\n\n* `username`: Package cloud username\n* `api_key`: Package cloud API token\n* `repo`: Package cloud repository name\n* `distribution_name`: *Optional* a name of distribution. Can be overriden by the same configuration in `out` params.\n\nDistribution name can be one of distribution names described in [the packagecloud docs](https://packagecloud.io/docs#anchor-elementaryos). Note that you must have a separate resource for each distribution.\n\n**Please note, that ruby gem, java and python distributions are not supported**\n\n### Example Pipeline Configuration\n\n```yaml\n- task: mytask\n [..........]\n  - put: packagecloud_upload\n    params:\n    package_file_glob: gpdb_rpm_installer/*.rpm\n```\n\n### Behaviour\n\n#### `check`: Does nothing.\n\n#### `in`: Does nothing.\n\n#### `out`: Publishes a package to package cloud or deletes packages by version pattern\n\n\n##### Parameters\n\n* `distribution_name`: *Optional* a name of distribution. Overrides the source configuration.\n* `package_file_glob`: *Optional* a glob pattern for the package file.\n* `delete_version`: *Optional* version pattern to delete. If set, will delete packages with matching version.\n* `override`: *Optional* if set, it will delete and recreate the package, otherwise - ignore\n\nEither `package_file_glob` or `delete_version` should be set.\n\n\n\n## Related\n[Concourse Bintray resource](https://github.com/rabbitmq/concourse-bintray-resources)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frabbitmq%2Fconcourse-packagecloud-resource","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frabbitmq%2Fconcourse-packagecloud-resource","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frabbitmq%2Fconcourse-packagecloud-resource/lists"}