Skip to content

lakivisi/cloudbuildify

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloudbuildify

Cloudbuildify is an integration tool that connects Bitbucket with Unity Cloud Build based on Flask. When a new pull request is created a new build target is automatically created in UCB.

Configuration

Cloudbuildify is configured with ENV variables.

Variable Description
CLOUDBUILD_API_KEY Cloud Build API key that you can find in your profile
CLOUDBUILD_WEBHOOK_SECRET Random string included in Cloud Build webhook URL
CLOUDBUILD_ORG_ID Organization ID (for Cloud Build API)
CLOUDBUILD_PROJECT_ID Project ID (for Cloud Build API)
CLOUDBUILD_TEMPLATE_BUILD_TARGET buildtargetid field from Buildtargets list response
BITBUCKET_USER Username that will be used for Bitbucket API
BITBUCKET_PASSWORD Password, use App Passwords for this one
BITBUCKET_WEBHOOK_SECRET Random string included in Bitbucket webhook URL
BITBUCKET_ORG_ID Organization ID (for Bitbucket API)
BITBUCKET_PROJECT_ID Project ID (for Bitbucket API)

Structure

Cloudbuildify consists of several modules:

  • bitbucket - Code for Bitbucket API.
  • cloudbuild - Code for Unity Cloud Build API.
  • config - Loading configuration variables.
  • persistence - Simple Active Record to save Build Target data into the SQLite database.
  • webhooks - Flask routes for webhooks.

About

Integration tool that connects Bitbucket with Unity Cloud Build.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 95.7%
  • Dockerfile 2.9%
  • Makefile 1.4%