Skip to content

Weiyuan-Lane/cloudbuild_viz

Repository files navigation

Cloudbuildviz

Installation

Add this line to your application's Gemfile:

gem 'cloudbuildviz'

And then execute:

$ bundle

Or install it yourself as:

$ gem install cloudbuildviz

Side dependency

graphviz should also be installed

For Mac

brew install graphviz

Usage

From CLI

bundle exec graph make cloudbuildfile.yaml render_image.png

For a Ruby or Rails application

require 'cloudbuildviz'

class ApplicationController < ActionController::Base

.
.
.
	
    def make_build_graph
        Cloudbuildviz.make('cloudbuildfile.yaml', '/tmp/images/render_image.png')
    end
.
.
.

end

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/weiyuan-lane/cloudbuildviz.

License

The gem is available as open source under the terms of the MIT License.

About

Visualization gem for Cloudbuild

Resources

License

Stars

Watchers

Forks

Packages

No packages published