Added way to fetch bioconda dependency
Some checks failed
autoBIGS.cli-bioconda/pipeline/head There was a failure building this commit
Some checks failed
autoBIGS.cli-bioconda/pipeline/head There was a failure building this commit
This commit is contained in:
parent
5816af742f
commit
ca8ecc0478
2
.gitignore
vendored
2
.gitignore
vendored
@ -176,4 +176,4 @@ pyrightconfig.json
|
||||
# End of https://www.toptal.com/developers/gitignore/api/python
|
||||
|
||||
autobigs-engine/*
|
||||
bioconda-recipes/*
|
||||
auto-updated-bioconda-recipes/*
|
16
Jenkinsfile
vendored
16
Jenkinsfile
vendored
@ -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'
|
||||
}
|
||||
}
|
||||
|
@ -6,6 +6,3 @@ dependencies:
|
||||
- conda-build
|
||||
- grayskull
|
||||
- git
|
||||
- bioconda-utils
|
||||
- python=3.10.*
|
||||
- autobigs-engine
|
Loading…
x
Reference in New Issue
Block a user