Skip to content

gatemedia/github-cookbook

 
 

Repository files navigation

github-cookbook

A Library Cookbook for interacting with the Github API

Supported Platforms

  • Ubuntu

github_asset Resource/Provider

Downloads an asset from a Github release

Actions

  • download - downloads the asset from the Github releaseto disk. (default)

Parameter Attributes

  • name - name of the asset to download (name attribute)
  • release - name of the release the asset is a part of
  • repo - repository the release is a part of (required for private repositories)
  • github_token - Github token to perform the download with (required for private repositories)
  • owner - owner of the downloaded asset on disk
  • group - group of the downloaded asset on disk
  • force - force downloading even if the asset already exists on disk
  • retries - number of times to retry download
  • retry_delay - number of seconds between attempts to download file
  • checksum - SHA-256 of file, if the checksum does not match, the file is not used

HTTP proxy support

Ensure the HTTPS_PROXY environment variable is set for the shell executing chef-client or chef-solo. The value should be a fully qualified URL containing the host, port, username, and password for your proxy.

Author

Author:: Jamie Winsor ([email protected])

About

A Library Cookbook for interacting with Github

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%