Skip to content

jfdenise/prospero

 
 

Repository files navigation

Demo:

The demo below provisions Wildfly Core feature pack. It uses docker to host a nexus repository and requires building galleo-plugins and wildfly-core projects

  1. Build Wildfly Core
    1. Build prospero-galleon-plugin
         cd <PROSPERO_HOME>
         mvn clean install -Dgalleon
      
    2. Build galleon-plugins
         git clone https://github.com/spyrkob/galleon-plugins.git -b prospero <PATH_TO_GALLEON_PLUGINS>
         cd <PATH_TO_GALLEON_PLUGINS>
         mvn clean install -DskipTests
      
    3. Build wildfly-core with updated galleon-plugin
         git clone https://github.com/spyrkob/wildfly-core.git -b prospero <PATH_TO_WF_CORE>
         cd <PATH_TO_WF_CORE>
         mvn clean install -DskipTests
      
  2. Setup nexus with channel repository
    1. Start and setup nexus container in docker (or other MVN repository)

         cd <PROSPERO_HOME>
         ./scripts/setupNexus.sh
      
    2. Add nexus credential in ~/.m2/settings.xml

      <servers>
      ...
         <server>
             <id>nexus2</id>
             <username>admin</username>
             <password>admin</password>
         </server>
      ...
      </servers>
      
    3. Deploy artifacts into repositories

         WILDFLY_CORE_SRC="<PATH_TO_WF_CORE>" ./scripts/upload-artifacts.sh
         WILDFLY_CORE_SRC="<PATH_TO_WF_CORE>" \
           GALLEON_SRC=<PATH_TO_GALLEON_PLUGINS> \
           ./scripts/upload-galleon-.sh
      
  3. Build prospero-cli
       mvn clean install -pl prospero-cli
    
  4. Provision server
       ./prospero install wildfly-core:current/snapshot eap-dev dev-channels.json
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 90.2%
  • Shell 9.8%