Skip to content

Commit

Permalink
Merge pull request #530 from monarch-initiative/upload-failed-builds
Browse files Browse the repository at this point in the history
Upload failed builds / update closurizer
  • Loading branch information
kevinschaper authored Oct 13, 2023
2 parents b0492e0 + f1aea60 commit 837a8df
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pipeline {
environment {
HOME = "${env.WORKSPACE}"
RELEASE = sh(script: "echo `date +%Y-%m-%d`", returnStdout: true).trim()
BUILD_TIMESTAMP = sh(script: "echo `date +%s`", returnStdout: true).trim()
PATH = "/opt/poetry/bin:${env.PATH}"
AWS_ACCESS_KEY_ID = credentials('AWS_ACCESS_KEY_ID')
AWS_SECRET_ACCESS_KEY = credentials('AWS_SECRET_ACCESS_KEY')
Expand Down Expand Up @@ -108,5 +109,9 @@ pipeline {
sh 'docker rm -f neo || true'
// sh 'docker rm my_solr || true'
}
// upload data and output on failure
failure {
sh 'gsutil cp -r . gs://monarch-archive/monarch-kg-failed/${RELEASE}-${BUILD_TIMESTAMP}'
}
}
}
8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ python = ">=3.10,<3.12"
kghub-downloader = "^0.3.2"
koza = "^0.3.0"
cat-merge = ">=0.2.0"
closurizer = "0.3.1"
closurizer = "^0.3.2"
kgx = ">=2.1"
multi-indexer = "0.0.5"
botocore = "^1.31"
Expand Down

0 comments on commit 837a8df

Please sign in to comment.