Added way to fetch bioconda dependency
Some checks failed
autoBIGS.cli-bioconda/pipeline/head There was a failure building this commit

This commit is contained in:
2025-02-19 16:55:58 +00:00
parent 5816af742f
commit ca8ecc0478
3 changed files with 12 additions and 9 deletions

16
Jenkinsfile vendored
View File

@@ -24,26 +24,32 @@ pipeline {
sh 'conda env update -n base --file environment.yml'
}
}
stage("generate recipe") {
sh 'grayskull pypi autoBIGS.cli --maintainers "Harrison Deng"'
sh 'python patch_recipe.py'
}
}
}
stage("generate recipe") {
stage("update repo") {
steps {
sh 'grayskull pypi autoBIGS.cli --maintainers "Harrison Deng"'
sh 'python patch_recipe.py'
sh 'cp -r autobigs-cli/* auto-updated-bioconda-recipes/recipes/autobigs-cli/.'
sh 'cat auto-updated-bioconda-recipes/recipes/autobigs-cli/meta.yaml'
}
}
stage("lint") {
steps {
dir('auto-updated-bioconda-recipes') {
sh 'bioconda-utils lint recipes/ --packages autobigs-cli'
container(miniforge3) {
dir('auto-updated-bioconda-recipes') {
sh 'conda -n install python=3.10 bioconda-utils'
sh 'bioconda-utils lint recipes/ --packages autobigs-cli'
}
}
}
}
stage("build") {
steps {
dir('auto-updated-bioconda-recipes') {
sh 'conda install autobigs-engine=$(python ../pypi_latest_ver.py autoBIGS.engine)'
sh 'conda build recipes/autobigs-cli'
}
}