packagecloud is excited to officially announce support for Buildkite.
Take a look at the updated docs with example configurations and information on how to push deb, rpm, and gem packages directly to packagecloud from your build process.
The Continuous Integration tab on repository pages has also been updated to include Buildkite integration information.
To push packages to packagecloud from Buildkite you must:
- Ensure the
package_cloudgem is installed in your agent environment
- Expose the
PACKAGECLOUD_TOKENenvironment variable in your Buildkite environment hook
- Add a build script to push your build artifact to packagecloud
You’ll need your API token, which you can get from the API token section of account settings.
Example environment hook using an example API token:
Example build script that pushes a previously built build artifact to packagecloud:
Example build pipeline:
Questions? We’re here to help! Email email@example.com