Skip to content

Commit

Permalink
reinstate solr load for #181
Browse files Browse the repository at this point in the history
  • Loading branch information
kltm committed May 27, 2020
1 parent fc12fd9 commit 79a50ea
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -313,17 +313,17 @@ pipeline {
// sh 'ls /srv'
// sh 'ls /tmp'

// // Build index into tmpfs.
// sh 'bash /tmp/run-indexer.sh'
// Build index into tmpfs.
sh 'bash /tmp/run-indexer.sh'

// // Copy tmpfs Solr contents onto skyhook.
// sh 'tar --use-compress-program=pigz -cvf /tmp/golr-index-contents.tgz -C /srv/solr/data/index .'
// withCredentials([file(credentialsId: 'skyhook-private-key', variable: 'SKYHOOK_IDENTITY')]) {
// // Copy over index.
// sh 'rsync -avz -e "ssh -o StrictHostKeyChecking=no -o IdentitiesOnly=true -o IdentityFile=$SKYHOOK_IDENTITY" /tmp/golr-index-contents.tgz [email protected]:/home/skyhook/$BRANCH_NAME/products/solr/'
// // Copy over log.
// sh 'rsync -avz -e "ssh -o StrictHostKeyChecking=no -o IdentitiesOnly=true -o IdentityFile=$SKYHOOK_IDENTITY" /tmp/golr_timestamp.log [email protected]:/home/skyhook/$BRANCH_NAME/products/solr/'
// }
// Copy tmpfs Solr contents onto skyhook.
sh 'tar --use-compress-program=pigz -cvf /tmp/golr-index-contents.tgz -C /srv/solr/data/index .'
withCredentials([file(credentialsId: 'skyhook-private-key', variable: 'SKYHOOK_IDENTITY')]) {
// Copy over index.
sh 'rsync -avz -e "ssh -o StrictHostKeyChecking=no -o IdentitiesOnly=true -o IdentityFile=$SKYHOOK_IDENTITY" /tmp/golr-index-contents.tgz [email protected]:/home/skyhook/$BRANCH_NAME/products/solr/'
// Copy over log.
sh 'rsync -avz -e "ssh -o StrictHostKeyChecking=no -o IdentitiesOnly=true -o IdentityFile=$SKYHOOK_IDENTITY" /tmp/golr_timestamp.log [email protected]:/home/skyhook/$BRANCH_NAME/products/solr/'
}

///
/// Produce various blazegraphs.
Expand Down

0 comments on commit 79a50ea

Please sign in to comment.