Separated CLI from engine bioconda update pipelines
This commit is contained in:
26
Jenkinsfile
vendored
26
Jenkinsfile
vendored
@@ -11,11 +11,10 @@ pipeline {
|
||||
parallel {
|
||||
stage("recipes repo") {
|
||||
steps {
|
||||
sh 'git clone https://github.com/RealYHD/bioconda-recipes.git'
|
||||
sh 'git clone https://github.com/Syph-and-VPD-Lab/bioconda-recipes.git'
|
||||
dir('bioconda-recipes') {
|
||||
sh 'git pull'
|
||||
sh 'git pull origin update-autobigs-engine'
|
||||
sh 'git pull origin update-autobigs-cli'
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -26,5 +25,28 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
stage("generate recipe") {
|
||||
steps {
|
||||
sh 'grayskull pypi autobigs.engine --maintainers "Harrison Deng"'
|
||||
sh 'python scripts/adapt_names.py autobigs.engine'
|
||||
}
|
||||
}
|
||||
stage("build") {
|
||||
steps {
|
||||
sh 'conda build autobigs-engine'
|
||||
}
|
||||
}
|
||||
stage("commit") {
|
||||
environment {
|
||||
TOKEN = credentials('github.com')
|
||||
}
|
||||
steps {
|
||||
dir('bioconda-recipes') {
|
||||
sh 'cp -r ../autobigs-engine/* recipes/autobigs-engine/.'
|
||||
sh 'git commit -a -m "Automatically updated autobigs-engine bioconda recipe to $(python ../scripts/package_latest_version.py autoBIGS.engine)."'
|
||||
sh 'git push https://${TOKEN}@github.com/Syph-and-VPD-Lab/bioconda-recipes.git update-autobigs-engine'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user