Compare commits

..

12 Commits

Author SHA1 Message Date
9cf6a699c6 Removed submodule
All checks were successful
autoBIGS.engine-bioconda/pipeline/head This commit looks good
2025-02-26 18:08:18 +00:00
4c59c4a5b1 Pipeline now uses submodule for fork of recipe repo 2025-02-26 17:25:28 +00:00
d9ab93e94f Updated submodule
Some checks reported errors
autoBIGS.engine-bioconda/pipeline/head Something is wrong with the build of this commit
2025-02-26 15:00:43 +00:00
b4a5ca3a09 Added initialization steps for the submodule 2025-02-26 15:00:35 +00:00
41441c6aae changed to using submodule
Some checks reported errors
autoBIGS.engine-bioconda/pipeline/head Something is wrong with the build of this commit
2025-02-26 14:32:02 +00:00
453c25e758 Fixed some publishing steps issues
Some checks failed
autoBIGS.engine-bioconda/pipeline/head There was a failure building this commit
2025-02-20 19:09:08 +00:00
6ff02e876e Fixed Jenkinsfile syntax
Some checks failed
autoBIGS.engine-bioconda/pipeline/head There was a failure building this commit
2025-02-20 18:00:11 +00:00
2538cf2687 Moved linting stage to bioconda specific publishing stages
Some checks failed
autoBIGS.engine-bioconda/pipeline/head There was a failure building this commit
2025-02-20 17:59:02 +00:00
077715509d Removed un-needed pull
Some checks reported errors
autoBIGS.engine-bioconda/pipeline/head Something is wrong with the build of this commit
2025-02-20 17:53:25 +00:00
f937ea110d Fixed typo
Some checks failed
autoBIGS.engine-bioconda/pipeline/head There was a failure building this commit
2025-02-20 17:46:40 +00:00
810ec0ee6a Added a step to push the condapackage to git.reslate.systems conda repo
Some checks failed
autoBIGS.engine-bioconda/pipeline/head There was a failure building this commit
2025-02-20 17:44:37 +00:00
1ec6581e27 Updated pipeline to match new fork name
All checks were successful
autoBIGS.engine-bioconda/pipeline/head This commit looks good
2025-02-18 17:11:07 +00:00
3 changed files with 22 additions and 13 deletions

0
.gitmodules vendored Normal file
View File

31
Jenkinsfile vendored
View File

@@ -6,21 +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' 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 pull' sh 'git checkout -b update-autobigs-engine-${TOOL_VER}'
sh 'git pull origin update-autobigs-engine'
sh 'git checkout update-autobigs-engine'
} }
} }
} }
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'
} }
} }
@@ -33,26 +40,26 @@ pipeline {
sh 'cp -r autobigs-engine/* auto-updated-bioconda-recipes/recipes/autobigs-engine/.' sh 'cp -r autobigs-engine/* auto-updated-bioconda-recipes/recipes/autobigs-engine/.'
} }
} }
stage("lint") { stage("build") {
steps {
sh 'conda build auto-updated-bioconda-recipes/recipes/autobigs-engine --output-folder ./conda-bld'
}
}
stage('lint') {
steps { steps {
dir('auto-updated-bioconda-recipes') { dir('auto-updated-bioconda-recipes') {
sh 'bioconda-utils lint recipes/ --packages autobigs-engine' sh 'bioconda-utils lint recipes/ --packages autobigs-engine'
} }
} }
} }
stage("build") { stage('commit') {
steps {
sh 'conda build bioconda-utils/recipes/autobigs-engine'
}
}
stage("commit") {
environment { environment {
TOKEN = credentials('github.com') TOKEN = credentials('github.com')
} }
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}'
} }
} }
} }

View File

@@ -7,4 +7,6 @@ dependencies:
- grayskull - grayskull
- git - git
- bioconda-utils - bioconda-utils
- python=3.10.* - python=3.10.*
- curl
- conda-verify