Sha256: bda9a907b9413c6dfa448d6ab712b7b0a4e9f270f0803e75d8a0fff54a1bd124

Contents?: true

Size: 720 Bytes

Versions: 9

Compression:

Stored size: 720 Bytes

Contents

require_relative 'base'

module Context
  module Studio
    module Default
      def actions_permitted
        %w(
          do_begin
          do_download
          do_verify
          do_clean
          do_unpack
          do_prepare
          do_build
          do_check
          do_install
          do_strip
          do_end
          help
          do_mix_cookbook
          do_agent
        )
      end

      def do_mix_cookbook
        cookbook_result = mix_run_list(self, context_name)
        context_log "Mix the cookbook #{context_name}: #{cookbook_result.class}"
      end

      def do_agent
        git_build(self)
        while true do
          do_mix_cookbook
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
deploy-context-2.13.39 x86_64-linux/lib/deploy-context/studio/default.rb
deploy-context-2.13.38 x86_64-linux/lib/deploy-context/studio/default.rb
deploy-context-2.13.36 x86_64-linux/lib/deploy-context/studio/default.rb
deploy-context-2.13.35 x86_64-linux/lib/deploy-context/studio/default.rb
deploy-context-2.13.34 x86_64-linux/lib/deploy-context/studio/default.rb
deploy-context-2.13.26 /home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/studio/default.rb
deploy-context-2.13.25 /home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/studio/default.rb
deploy-context-2.13.17 /home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/studio/default.rb
deploy-context-2.13.8 /src/libraries/deploy-context/helpers/../../../libraries/deploy-context/studio/default.rb