changed to using submodule
Some checks reported errors
autoBIGS.engine-bioconda/pipeline/head Something is wrong with the build of this commit
Some checks reported errors
autoBIGS.engine-bioconda/pipeline/head Something is wrong with the build of this commit
This commit is contained in:
parent
453c25e758
commit
41441c6aae
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
[submodule "auto-updated-bioconda-recipes"]
|
||||
path = auto-updated-bioconda-recipes
|
||||
url = https://github.com/Syph-and-VPD-Lab/auto-updated-bioconda-recipes.git
|
44
Jenkinsfile
vendored
44
Jenkinsfile
vendored
@ -11,7 +11,6 @@ pipeline {
|
||||
parallel {
|
||||
stage("recipes repo") {
|
||||
steps {
|
||||
sh 'git clone https://github.com/Syph-and-VPD-Lab/auto-updated-bioconda-recipes.git'
|
||||
dir('auto-updated-bioconda-recipes') {
|
||||
sh 'git checkout update-autobigs-engine'
|
||||
}
|
||||
@ -33,46 +32,27 @@ pipeline {
|
||||
}
|
||||
stage("build") {
|
||||
steps {
|
||||
dir('auto-updated-bioconda-recipes') {
|
||||
sh 'conda build recipes/autobigs-engine --output-folder ./conda-bld'
|
||||
}
|
||||
sh 'conda build auto-updated-bioconda-recipes/recipes/autobigs-engine --output-folder ./conda-bld'
|
||||
}
|
||||
}
|
||||
stage('publish') {
|
||||
parallel {
|
||||
stage("archive") {
|
||||
stage("publish to bioconda") {
|
||||
stages {
|
||||
stage('lint') {
|
||||
steps {
|
||||
archiveArtifacts artifacts: './conda-bld/**/*.conda', followSymlinks: false
|
||||
}
|
||||
}
|
||||
stage("bioconda") {
|
||||
stages {
|
||||
stage('lint') {
|
||||
steps {
|
||||
dir('auto-updated-bioconda-recipes') {
|
||||
sh 'bioconda-utils lint recipes/ --packages autobigs-engine'
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('commit') {
|
||||
environment {
|
||||
TOKEN = credentials('github.com')
|
||||
}
|
||||
steps {
|
||||
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 push https://${TOKEN}@github.com/Syph-and-VPD-Lab/auto-updated-bioconda-recipes.git update-autobigs-engine'
|
||||
}
|
||||
}
|
||||
dir('auto-updated-bioconda-recipes') {
|
||||
sh 'bioconda-utils lint recipes/ --packages autobigs-engine'
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('git.reslate.systems') {
|
||||
stage('commit') {
|
||||
environment {
|
||||
AUTH = credentials('git.reslate.systems')
|
||||
TOKEN = credentials('github.com')
|
||||
}
|
||||
steps {
|
||||
sh 'curl --user AUTH_USR:AUTH_PSW --upload-file ./conda-bld/**/*.conda https://git.reslate.systems/api/packages/${AUTH_USR}/conda/package-1.0.conda'
|
||||
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 push https://${TOKEN}@github.com/Syph-and-VPD-Lab/auto-updated-bioconda-recipes.git update-autobigs-engine'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
1
auto-updated-bioconda-recipes
Submodule
1
auto-updated-bioconda-recipes
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 8bdf7d8e65ec383ff3de875814a0b67abeba6ad7
|
@ -8,4 +8,5 @@ dependencies:
|
||||
- git
|
||||
- bioconda-utils
|
||||
- python=3.10.*
|
||||
- curl
|
||||
- curl
|
||||
- conda-verify
|
Loading…
x
Reference in New Issue
Block a user