Skip to content

Commit

Permalink
try and trim for a slightly more compact profile--no blazegraph or 'p…
Browse files Browse the repository at this point in the history
…rimary' annotations; for #382
  • Loading branch information
kltm committed Aug 22, 2024
1 parent b686633 commit 7687e6b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -670,8 +670,8 @@ pipeline {
sh 'pigz /opt/go-site/pipeline/target/blazegraph-internal.jnl'
sh 'pigz /opt/go-site/pipeline/target/blazegraph-production.jnl'
// Copy the journals directly to products.
sh 'scp -o StrictHostKeyChecking=no -o IdentitiesOnly=true -o IdentityFile=$SKYHOOK_IDENTITY /opt/go-site/pipeline/target/blazegraph-production.jnl.gz [email protected]:/home/skyhook/$BRANCH_NAME/products/blazegraph/'
sh 'scp -o StrictHostKeyChecking=no -o IdentitiesOnly=true -o IdentityFile=$SKYHOOK_IDENTITY /opt/go-site/pipeline/target/blazegraph-internal.jnl.gz [email protected]:/home/skyhook/$BRANCH_NAME/products/blazegraph/'
//sh 'scp -o StrictHostKeyChecking=no -o IdentitiesOnly=true -o IdentityFile=$SKYHOOK_IDENTITY /opt/go-site/pipeline/target/blazegraph-production.jnl.gz [email protected]:/home/skyhook/$BRANCH_NAME/products/blazegraph/'
//sh 'scp -o StrictHostKeyChecking=no -o IdentitiesOnly=true -o IdentityFile=$SKYHOOK_IDENTITY /opt/go-site/pipeline/target/blazegraph-internal.jnl.gz [email protected]:/home/skyhook/$BRANCH_NAME/products/blazegraph/'
// Copy the reports into reports.
sh 'scp -o StrictHostKeyChecking=no -o IdentitiesOnly=true -o IdentityFile=$SKYHOOK_IDENTITY /opt/go-site/pipeline/target/sparta-report.json [email protected]:/home/skyhook/$BRANCH_NAME/reports/'
// Plus: flatten product reports in json,
Expand Down Expand Up @@ -1297,6 +1297,11 @@ pipeline {
sh 'mkdir -p $WORKSPACE/mnt/ || true'
withCredentials([file(credentialsId: 'skyhook-private-key', variable: 'SKYHOOK_IDENTITY')]) {
sh 'sshfs -oStrictHostKeyChecking=no -o IdentitiesOnly=true -o IdentityFile=$SKYHOOK_IDENTITY -o idmap=user [email protected]:/home/skyhook $WORKSPACE/mnt/'
// Shave things down a little bit by removing
// top-level annotations/. (#382) A slightly
// "harsh" way of doing this, but the only one
// that I am sure will not affect computation.
sh 'rm -r -f $WORKSPACE/mnt/$BRANCH_NAME/annotations || true'
}
// Copy the product to the right location. As well,
// archive.
Expand Down

0 comments on commit 7687e6b

Please sign in to comment.