Compare commits
4 Commits
41441c6aae
...
main
Author | SHA1 | Date | |
---|---|---|---|
9cf6a699c6 | |||
4c59c4a5b1 | |||
d9ab93e94f | |||
b4a5ca3a09 |
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -1,3 +0,0 @@
|
|||||||
[submodule "auto-updated-bioconda-recipes"]
|
|
||||||
path = auto-updated-bioconda-recipes
|
|
||||||
url = https://github.com/Syph-and-VPD-Lab/auto-updated-bioconda-recipes.git
|
|
||||||
|
20
Jenkinsfile
vendored
20
Jenkinsfile
vendored
@@ -6,18 +6,28 @@ pipeline {
|
|||||||
inheritFrom 'miniforge'
|
inheritFrom 'miniforge'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
environment {
|
||||||
|
TOOL_VER = """${sh(
|
||||||
|
returnStdout: true,
|
||||||
|
script: 'python pypi_latest_ver.py autoBIGS.engine'
|
||||||
|
)}"""
|
||||||
|
}
|
||||||
stages {
|
stages {
|
||||||
stage("prepare") {
|
stage("prepare") {
|
||||||
parallel {
|
parallel {
|
||||||
stage("recipes repo") {
|
stage("recipes repo") {
|
||||||
steps {
|
steps {
|
||||||
|
sh 'git config --global --add safe.directory /home/jenkins/agent/workspace/autoBIGS.engine-bioconda_main'
|
||||||
|
sh 'git config --global --add safe.directory /home/jenkins/agent/workspace/autoBIGS.engine-bioconda_main/auto-updated-bioconda-recipes'
|
||||||
|
sh 'git clone https://github.com/Syph-and-VPD-Lab/auto-updated-bioconda-recipes.git'
|
||||||
dir('auto-updated-bioconda-recipes') {
|
dir('auto-updated-bioconda-recipes') {
|
||||||
sh 'git checkout update-autobigs-engine'
|
sh 'git checkout -b update-autobigs-engine-${TOOL_VER}'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage("conda") {
|
stage("conda") {
|
||||||
steps {
|
steps {
|
||||||
|
sh 'conda config --add channels bioconda'
|
||||||
sh 'conda env update -n base --file environment.yml'
|
sh 'conda env update -n base --file environment.yml'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -35,8 +45,6 @@ pipeline {
|
|||||||
sh 'conda build auto-updated-bioconda-recipes/recipes/autobigs-engine --output-folder ./conda-bld'
|
sh 'conda build auto-updated-bioconda-recipes/recipes/autobigs-engine --output-folder ./conda-bld'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage("publish to bioconda") {
|
|
||||||
stages {
|
|
||||||
stage('lint') {
|
stage('lint') {
|
||||||
steps {
|
steps {
|
||||||
dir('auto-updated-bioconda-recipes') {
|
dir('auto-updated-bioconda-recipes') {
|
||||||
@@ -50,10 +58,8 @@ pipeline {
|
|||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
dir('auto-updated-bioconda-recipes') {
|
dir('auto-updated-bioconda-recipes') {
|
||||||
sh 'git commit -a -m "Automatically updated autobigs-engine bioconda recipe to $(python ../pypi_latest_ver.py autoBIGS.engine)."'
|
sh 'git commit -a -m "Automatically updated autobigs-engine bioconda recipe to ${TOOL_VER}."'
|
||||||
sh 'git push https://${TOKEN}@github.com/Syph-and-VPD-Lab/auto-updated-bioconda-recipes.git update-autobigs-engine'
|
sh 'git push https://${TOKEN}@github.com/Syph-and-VPD-Lab/auto-updated-bioconda-recipes.git update-autobigs-engine-${TOOL_VER}'
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Submodule auto-updated-bioconda-recipes deleted from 8bdf7d8e65
Reference in New Issue
Block a user