-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update after subproject rename, using rake-helper now, small changes …
…in appliances
- Loading branch information
Showing
10 changed files
with
15 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[submodule "lib/jboss-cloud-support"] | ||
path = lib/jboss-cloud-support | ||
url = git://github.com/goldmann/jboss-cloud-support.git | ||
[submodule "lib/jboss-appliance-support"] | ||
path = lib/jboss-appliance-support | ||
url = git://github.com/goldmann/jboss-appliance-support.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,5 @@ | ||
$: << 'lib/jboss-cloud-support/lib' | ||
|
||
require 'jboss-cloud/validator/errors' | ||
require 'jboss-cloud/image-builder' | ||
require 'jboss-cloud/defaults' | ||
require 'jboss-cloud/helpers/rake-helper' | ||
|
||
$stderr.reopen("/dev/null") | ||
|
||
module Rake | ||
class Task | ||
alias_method :execute_original, :execute | ||
|
||
def execute( args=nil ) | ||
begin | ||
execute_original( args ) | ||
rescue => e | ||
JBossCloud::LOG.fatal e | ||
JBossCloud::LOG.fatal e.message | ||
abort | ||
end | ||
end | ||
end | ||
end | ||
|
||
begin | ||
JBossCloud::LOG.debug "Running new Rake session..." | ||
|
||
JBossCloud::ImageBuilder.new | ||
rescue JBossCloud::ValidationError => e | ||
JBossCloud::LOG.fatal "ValidationError: #{e.message}." | ||
abort | ||
rescue => e | ||
JBossCloud::LOG.fatal e | ||
JBossCloud::LOG.fatal "Aborting: #{e.message}. See previous errors for more information." | ||
abort | ||
end | ||
JBossCloud::RakeHelper.new |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,6 @@ summary: JBoss Cloud back-end appliance | |
|
||
appliances: | ||
- jboss-as5-appliance | ||
|
||
packages: | ||
- jboss-cloud-management |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,4 @@ summary: JBoss Cloud management appliance | |
packages: | ||
- dhcp | ||
- sudo | ||
|
||
- jboss-cloud-management |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,5 +22,6 @@ packages: | |
- jboss-cloud-environment | ||
- glib2-devel | ||
- ruby-devel | ||
- ruby-libguestfs | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,4 @@ packages: | |
- postgresql | ||
- postgresql-server | ||
- postgis | ||
- jboss-cloud-management |
Submodule jboss-cloud-appliance
added at
fb7173
Submodule jboss-cloud-support
deleted from
b1dfc8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters