-
Notifications
You must be signed in to change notification settings - Fork 8
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
Showing
24 changed files
with
1,786 additions
and
36 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 |
---|---|---|
|
@@ -18,7 +18,7 @@ set -e | |
# one PDF file) | ||
# 6. Archive the zip file and stage for delivery | ||
# | ||
# Alpha1: $ROWAN_PROJECTS_HOME/Rowan/bin/staging v0.0.2-alpha Alpha1.0 | ||
# Alpha1: $ROWAN_PROJECTS_HOME/Rowan/bin/packing v0.0.2-alpha Alpha1.0 | ||
# | ||
rowan_tag="$1" | ||
jadeite_tag="$2" | ||
|
@@ -55,15 +55,29 @@ validate_tag() { | |
popd | ||
padded_manifest_line "$label" "$theTag" "$theCommit" | ||
} | ||
clone_entire_git_repo() { | ||
# clones the entire git repository including all branches | ||
url="$1" | ||
dir="$2" | ||
# mkdir $dir | ||
git clone --bare $url $dir/.git | ||
pushd $dir | ||
git config --bool core.bare false | ||
git checkout master | ||
popd | ||
} | ||
|
||
cd $ROWAN_PROJECTS_HOME/Rowan/packing | ||
|
||
rm -rf Rowan Jade RowanSample1 RowanSample2 MANIFEST.TXT Jadeite_runtime_* *.zip | ||
|
||
git clone [email protected]:dalehenrich/Rowan.git | ||
git clone [email protected]:ericwinger/Jade.git | ||
git clone [email protected]:dalehenrich/RowanSample1.git | ||
git clone [email protected]:dalehenrich/RowanSample2.git | ||
# Clone Rowan include all branches (complete copy of github repo) | ||
clone_entire_git_repo [email protected]:dalehenrich/Rowan.git Rowan | ||
# Clone Jade, avoid downloading old .exe files ... only need latest runtime dir | ||
git clone --branch master --depth 1 [email protected]:ericwinger/Jade.git | ||
# Clone entire RowanSample1 and RowanSample2 repos | ||
clone_entire_git_repo [email protected]:dalehenrich/RowanSample1.git RowanSample1 | ||
clone_entire_git_repo [email protected]:dalehenrich/RowanSample2.git RowanSample2 | ||
|
||
# rm -rf MANIFEST.TXT Jadeite_runtime_* *.zip | ||
|
||
|
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,47 @@ | ||
|
||
set -e | ||
|
||
./stopStone | ||
cp product/bin/extent0.dbf extents | ||
rm -rf tranlogs/*.dbf | ||
./startStone | ||
|
||
$GEMSTONE/bin/topaz -l << EOF | ||
input $ROWAN_PROJECTS_HOME/Rowan/platforms/gemstone/topaz/3.2.15/install.tpz | ||
errorCount | ||
exit | ||
EOF | ||
|
||
$GEMSTONE/bin/topaz -l << EOF | ||
login | ||
|
||
run | ||
true | ||
ifTrue: [ | ||
#( | ||
'file:$ROWAN_PROJECTS_HOME/Rowan/samples/RowanSample1.ston' | ||
'file:$ROWAN_PROJECTS_HOME/Rowan/samples/RowanSample2.ston' | ||
) do: [:url | | ||
Rowan projectTools clone | ||
cloneSpecUrl: url | ||
gitRootPath: '$ROWAN_PROJECTS_HOME' | ||
useSsh: true. | ||
] ] | ||
% | ||
commit | ||
|
||
run | ||
false "set to true to load the projects into the image" | ||
ifTrue: [ | ||
#( | ||
'RowanSample1' | ||
'RowanSample2' | ||
) do: [:projectName | | ||
Rowan projectTools load loadProjectNamed: projectName withConfiguration: 'Default' | ||
] ] | ||
% | ||
commit | ||
|
||
errorCount | ||
exit | ||
EOF |
Oops, something went wrong.