Sha256: 3f39c1c71d192dd757aa94ec78646edade1684a8bb9a6a32301538d9c27d527c

Contents?: true

Size: 1.9 KB

Versions: 1

Compression:

Stored size: 1.9 KB

Contents

## Generated from proto/messages.proto for vx.message
require "beefcake"

module Vx
  module Message

    class PerformJob
      include Beefcake::Message
    end

    class JobLog
      include Beefcake::Message
    end

    class JobStatus
      include Beefcake::Message

      module Status
        INITIALIZED = 0
        STARTED = 2
        FINISHED = 3
        BROKEN = 4
        FAILED = 5
      end
    end

    class PerformJob
      required :company_id, :string, 1
      required :company_name, :string, 2
      required :project_id, :string, 3
      required :project_name, :string, 4
      required :build_id, :string, 5
      required :build_number, :uint64, 6
      required :job_id, :string, 7
      required :job_number, :uint64, 8
      required :job_version, :uint64, 9
      required :before_script, :string, 10
      required :script, :string, 11
      required :after_script, :string, 12
      optional :image, :string, 13
      optional :timeout, :uint64, 14
      optional :read_timeout, :uint64, 15
    end

    class JobLog
      required :company_id, :string, 1
      required :company_name, :string, 2
      required :project_id, :string, 3
      required :project_name, :string, 4
      required :build_id, :string, 5
      required :build_number, :uint64, 6
      required :job_id, :string, 7
      required :job_number, :uint64, 8
      required :job_version, :uint64, 9
      required :log, :string, 10
      required :tm, :uint64, 11
    end

    class JobStatus
      required :company_id, :string, 1
      required :company_name, :string, 2
      required :project_id, :string, 3
      required :project_name, :string, 4
      required :build_id, :string, 5
      required :build_number, :uint64, 6
      required :job_id, :string, 7
      required :job_number, :uint64, 8
      required :job_version, :uint64, 9
      required :status, JobStatus::Status, 10
      required :tm, :uint64, 11
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vx-message-0.6.1 lib/vx/message/messages.pb.rb