Class: Buildserver::BuildingBlock

Inherits:
Object
  • Object
show all
Defined in:
lib/buildserver/building_block.rb

Instance Method Summary collapse

Instance Method Details

#build!(config, instance, other_instances) ⇒ Object



6
7
8
9
10
11
12
13
# File 'lib/buildserver/building_block.rb', line 6

def build!(config, instance, other_instances)
  reset!
  @config = config

  build(instance, other_instances)

  [@build_commands, @after_build_commands]
end

#exposes_servicesObject



15
16
17
# File 'lib/buildserver/building_block.rb', line 15

def exposes_services
  []
end

#external_portsObject



19
20
21
# File 'lib/buildserver/building_block.rb', line 19

def external_ports
  []
end

#internal_portsObject



23
24
25
# File 'lib/buildserver/building_block.rb', line 23

def internal_ports
  []
end