Coder Social home page Coder Social logo

lonelyvertex / cloudbuildify Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 3.0 16 KB

Integration tool that connects Bitbucket with Unity Cloud Build.

License: MIT License

Dockerfile 2.87% Makefile 1.44% Python 95.69%
unity-cloud-webhook bitbucket-webhooks bitbucket-api python flask

cloudbuildify's Introduction

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.

cloudbuildify's People

Contributors

dependabot[bot] avatar janslifka avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.