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
|
# End of https://www.toptal.com/developers/gitignore/api/python
|
||||||
|
|
||||||
autobigs-engine/*
|
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'
|
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 {
|
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 'cp -r autobigs-cli/* auto-updated-bioconda-recipes/recipes/autobigs-cli/.'
|
||||||
sh 'cat auto-updated-bioconda-recipes/recipes/autobigs-cli/meta.yaml'
|
sh 'cat auto-updated-bioconda-recipes/recipes/autobigs-cli/meta.yaml'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage("lint") {
|
stage("lint") {
|
||||||
steps {
|
steps {
|
||||||
dir('auto-updated-bioconda-recipes') {
|
container(miniforge3) {
|
||||||
sh 'bioconda-utils lint recipes/ --packages autobigs-cli'
|
dir('auto-updated-bioconda-recipes') {
|
||||||
|
sh 'conda -n install python=3.10 bioconda-utils'
|
||||||
|
sh 'bioconda-utils lint recipes/ --packages autobigs-cli'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage("build") {
|
stage("build") {
|
||||||
steps {
|
steps {
|
||||||
dir('auto-updated-bioconda-recipes') {
|
dir('auto-updated-bioconda-recipes') {
|
||||||
|
sh 'conda install autobigs-engine=$(python ../pypi_latest_ver.py autoBIGS.engine)'
|
||||||
sh 'conda build recipes/autobigs-cli'
|
sh 'conda build recipes/autobigs-cli'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -6,6 +6,3 @@ dependencies:
|
|||||||
- conda-build
|
- conda-build
|
||||||
- grayskull
|
- grayskull
|
||||||
- git
|
- git
|
||||||
- bioconda-utils
|
|
||||||
- python=3.10.*
|
|
||||||
- autobigs-engine
|
|
Loading…
x
Reference in New Issue
Block a user