-
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.
- Loading branch information
1 parent
d13f962
commit a518db1
Showing
5 changed files
with
73 additions
and
46 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 |
---|---|---|
|
@@ -4,62 +4,19 @@ set -e | |
BASE_DIR=`dirname $0` | ||
cd $BASE_DIR | ||
BASE_DIR=`pwd` | ||
LOG_DIR=$BASE_DIR/.logs | ||
WORK_DIR=$BASE_DIR/.work | ||
cd .. | ||
HUB_DIR=`pwd` | ||
|
||
## | ||
# Clone some repositories that we'll need | ||
## | ||
mkdir -p $WORK_DIR | ||
mkdir -p $LOG_DIR | ||
cd $WORK_DIR | ||
if [ ! -d "apicurio-api-designer" ]; then | ||
git clone [email protected]:Apicurio/apicurio-api-designer.git | ||
else | ||
cd $WORK_DIR/apicurio-api-designer | ||
git stash | ||
git pull origin main | ||
fi | ||
cd $WORK_DIR | ||
if [ ! -d "apicurio-registry" ]; then | ||
git clone [email protected]:Apicurio/apicurio-registry.git | ||
else | ||
cd $WORK_DIR/apicurio-registry | ||
git stash | ||
git pull origin main | ||
fi | ||
cd $WORK_DIR | ||
if [ ! -d "microcks" ]; then | ||
git clone [email protected]:microcks/microcks.git | ||
else | ||
cd $WORK_DIR/microcks | ||
git stash | ||
git pull | ||
fi | ||
|
||
source $BASE_DIR/dev-checkout.sh | ||
|
||
## | ||
# Do some software builds (be targeted to reduce time) | ||
## | ||
cd $WORK_DIR/apicurio-api-designer/ui | ||
npm install | ||
cd $WORK_DIR/apicurio-registry/ui | ||
npm install | ||
cd $WORK_DIR/apicurio-registry/client | ||
mvn clean install | ||
cd $HUB_DIR/hub/client | ||
mvn clean install | ||
cd $HUB_DIR/workflows/client | ||
mvn clean install | ||
cd $HUB_DIR/ui | ||
npm install | ||
|
||
cd $HUB_DIR/hub | ||
mvn clean install | ||
cd $HUB_DIR/workflows | ||
mvn clean install | ||
source $BASE_DIR/dev-build.sh | ||
|
||
|
||
######################################################################## | ||
|
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/bin/sh | ||
set -e | ||
|
||
BASE_DIR=`dirname $0` | ||
cd $BASE_DIR | ||
BASE_DIR=`pwd` | ||
WORK_DIR=$BASE_DIR/.work | ||
cd .. | ||
HUB_DIR=`pwd` | ||
|
||
|
||
## | ||
# Do some software builds (be targeted to reduce time) | ||
## | ||
cd $WORK_DIR/apicurio-api-designer/ui | ||
npm install | ||
cd $WORK_DIR/apicurio-registry/ui | ||
npm install | ||
cd $WORK_DIR/apicurio-registry/client | ||
mvn clean install | ||
cd $HUB_DIR/hub/client | ||
mvn clean install | ||
cd $HUB_DIR/workflows/client | ||
mvn clean install | ||
cd $HUB_DIR/ui | ||
npm install | ||
|
||
cd $HUB_DIR/hub | ||
mvn clean install | ||
cd $HUB_DIR/workflows | ||
mvn clean install | ||
|
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#!/bin/sh | ||
set -e | ||
|
||
BASE_DIR=`dirname $0` | ||
cd $BASE_DIR | ||
BASE_DIR=`pwd` | ||
WORK_DIR=$BASE_DIR/.work | ||
cd .. | ||
HUB_DIR=`pwd` | ||
|
||
## | ||
# Clone or update some repositories that we'll need | ||
## | ||
mkdir -p $WORK_DIR | ||
cd $WORK_DIR | ||
if [ ! -d "apicurio-api-designer" ]; then | ||
git clone [email protected]:Apicurio/apicurio-api-designer.git | ||
else | ||
cd $WORK_DIR/apicurio-api-designer | ||
git stash | ||
git pull origin main | ||
fi | ||
cd $WORK_DIR | ||
if [ ! -d "apicurio-registry" ]; then | ||
git clone [email protected]:Apicurio/apicurio-registry.git | ||
else | ||
cd $WORK_DIR/apicurio-registry | ||
git stash | ||
git pull origin main | ||
fi | ||
cd $WORK_DIR | ||
if [ ! -d "microcks" ]; then | ||
git clone [email protected]:microcks/microcks.git | ||
else | ||
cd $WORK_DIR/microcks | ||
git stash | ||
git pull | ||
fi |
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