Skip to content

Commit

Permalink
temp workaround for geneontology/neo#58; necessary for failed build.b…
Browse files Browse the repository at this point in the history
…bop.org for #35
  • Loading branch information
kltm committed Apr 8, 2020
1 parent b040064 commit c9763ae
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,23 @@ pipeline {
}
}
}
// We need some metadata to make the current NEO build work.
stage('Produce metadata') {
steps {
// Create a relative working directory and setup our
// data environment.
dir('./go-site') {
git 'https://github.com/geneontology/go-site.git'

sh './scripts/combine-datasets-metadata.py metadata/datasets/*.yaml > metadata/datasets.json'

// Deploy to S3 location for pickup in next stage.
withCredentials([file(credentialsId: 'aws_go_push_json', variable: 'S3_PUSH_JSON'), file(credentialsId: 's3cmd_go_push_configuration', variable: 'S3CMD_JSON'), string(credentialsId: 'aws_go_access_key', variable: 'AWS_ACCESS_KEY_ID'), string(credentialsId: 'aws_go_secret_key', variable: 'AWS_SECRET_ACCESS_KEY')]) {
sh 's3cmd -c $S3CMD_JSON --acl-public --reduced-redundancy --mime-type=application/json put metadata/datasets.json s3://go-build/metadata/'
}
}
}
}
// See https://github.com/geneontology/go-ontology for details
// on the ontology release pipeline. This ticket runs
// daily(TODO?) and creates all the files normally included in
Expand Down

0 comments on commit c9763ae

Please sign in to comment.