Skip to content

Commit

Permalink
another tuninf for issue #35
Browse files Browse the repository at this point in the history
  • Loading branch information
kltm committed Apr 26, 2020
1 parent c9763ae commit 13d18db
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ pipeline {
//"http://purl.obolibrary.org/obo/go/extensions/go-taxon-subsets.owl"
//"http://skyhook.berkeleybop.org/issue-35-neo-test/ontology/neo.owl"
"http://skyhook.berkeleybop.org/issue-35-neo-test/ontology/extensions/go-lego.owl"
"http://skyhook.berkeleybop.org/issue-35-neo-test/ontology/neo.owl"
].join(" ")
}
options{
Expand Down Expand Up @@ -333,7 +334,8 @@ pipeline {
sh 'curl -L -o /tmp/blazegraph.jar https://github.com/blazegraph/database/releases/download/BLAZEGRAPH_2_1_6_RC/blazegraph.jar'
sh 'curl -L -o /tmp/blazegraph.properties https://raw.githubusercontent.com/geneontology/minerva/master/minerva-core/src/main/resources/org/geneontology/minerva/blazegraph.properties'
sh 'curl -L -o /tmp/go-lego.owl http://skyhook.berkeleybop.org/$BRANCH_NAME/ontology/extensions/go-lego.owl'
// BUG/TODO: This will need to point inward.
sh 'curl -L -o /tmp/neo.owl skyhook@skyhook.berkeleybop.org:/home/skyhook/$BRANCH_NAME/ontology/neo.owl'
// BUG/TODO: This will need to point inward at some point.
sh 'curl -L -o /tmp/reacto.owl http://snapshot.geneontology.org/ontology/extensions/reacto.owl'
// WARNING: Having trouble getting the journal to the
// right location. Theoretically, if the pipeline
Expand All @@ -342,16 +344,17 @@ pipeline {
sh 'java -cp /tmp/blazegraph.jar com.bigdata.rdf.store.DataLoader -defaultGraph http://example.org /tmp/blazegraph.properties /tmp/go-lego.owl'
sh 'cp blazegraph.jnl /tmp/blazegraph-go-lego.jnl'
sh 'java -cp /tmp/blazegraph.jar com.bigdata.rdf.store.DataLoader -defaultGraph http://example.org /tmp/blazegraph.properties /tmp/reacto.owl'
sh 'mv blazegraph.jnl /tmp/blazegraph-go-lego-with-reacto.jnl'
sh 'java -cp /tmp/blazegraph.jar com.bigdata.rdf.store.DataLoader -defaultGraph http://example.org /tmp/blazegraph.properties /tmp/neo.owl'
sh 'mv blazegraph.jnl /tmp/blazegraph-go-lego-reacto-neo.jnl'
sh 'pigz /tmp/blazegraph-go-lego.jnl'
sh 'pigz /tmp/blazegraph-go-lego-with-reacto.jnl'
sh 'pigz /tmp/blazegraph-go-lego-reacto-neo.jnl'
withCredentials([file(credentialsId: 'skyhook-private-key', variable: 'SKYHOOK_IDENTITY')]) {
// Copy over journal.
sh 'rsync -avz -e "ssh -o StrictHostKeyChecking=no -o IdentitiesOnly=true -o IdentityFile=$SKYHOOK_IDENTITY" /tmp/blazegraph-go-lego.jnl.gz skyhook@skyhook.berkeleybop.org:/home/skyhook/$BRANCH_NAME/products/blazegraph/blazegraph-go-lego.jnl.gz'
sh 'rsync -avz -e "ssh -o StrictHostKeyChecking=no -o IdentitiesOnly=true -o IdentityFile=$SKYHOOK_IDENTITY" /tmp/blazegraph-go-lego-with-reacto.jnl.gz skyhook@skyhook.berkeleybop.org:/home/skyhook/$BRANCH_NAME/products/blazegraph/blazegraph-go-lego-with-reacto.jnl.gz'
sh 'rsync -avz -e "ssh -o StrictHostKeyChecking=no -o IdentitiesOnly=true -o IdentityFile=$SKYHOOK_IDENTITY" /tmp/blazegraph-go-lego-reacto-neo.jnl.gz skyhook@skyhook.berkeleybop.org:/home/skyhook/$BRANCH_NAME/products/blazegraph/blazegraph-go-lego-reacto-neo.jnl.gz'
// DANGEROUS! WARNING/TODO: Copy over to temporary holding location for ShEx. Pseudo-publish.
sh 'rsync -avz -e "ssh -o StrictHostKeyChecking=no -o IdentitiesOnly=true -o IdentityFile=$SKYHOOK_IDENTITY" /tmp/blazegraph-go-lego.jnl.gz skyhook@skyhook.berkeleybop.org:/home/skyhook/blazegraph-go-lego.jnl.gz'
sh 'rsync -avz -e "ssh -o StrictHostKeyChecking=no -o IdentitiesOnly=true -o IdentityFile=$SKYHOOK_IDENTITY" /tmp/blazegraph-go-lego-with-reacto.jnl.gz skyhook@skyhook.berkeleybop.org:/home/skyhook/blazegraph-go-lego-with-reacto.jnl.gz'
sh 'rsync -avz -e "ssh -o StrictHostKeyChecking=no -o IdentitiesOnly=true -o IdentityFile=$SKYHOOK_IDENTITY" /tmp/blazegraph-go-lego-reacto-neo.jnl.gz skyhook@skyhook.berkeleybop.org:/home/skyhook/blazegraph-go-lego-reacto-neo.jnl.gz'
}
}
}
Expand Down

0 comments on commit 13d18db

Please sign in to comment.