Compare commits

...

2 Commits

Author SHA1 Message Date
8a46b106ff Merge branch 'develop' of https://git.reslate.systems/ydeng/renamebycsv into develop
Some checks failed
ydeng/renamebycsv/pipeline/head There was a failure building this commit
2023-04-08 05:36:16 -05:00
b867f333a1 Changed to using mamba environment 2023-04-08 05:36:11 -05:00
2 changed files with 34 additions and 0 deletions

24
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,24 @@
pipeline {
agent any
stages {
stage("install") {
steps {
sh 'conda env update --file environment.yml'
sh 'echo "conda activate renamebycsv" >> ~/.bashrc'
}
}
stage("build") {
steps {
sh "python -m build"
}
}
stage("publish") {
steps {
withCredentials([usernamePassword(credentialsId: 'rs-git-package-registry-ydeng', passwordVariable: 'PASS', usernameVariable: 'USER')]) {
// some block
sh "pip -m twine upload --repository-url https://git.reslate.systems -u ${USER} -p ${PASS} --non-interactive --disable-progress-bar --verbose dist/*"
}
}
}
}
}

10
environment.yaml Normal file
View File

@ -0,0 +1,10 @@
name: renamebycsv
channels:
- anaconda
- conda-forge
dependencies:
- build=0.7.0
- pytest=7.2.2
- python=3.11.3
- setuptools=67.6.1
- twine=4.0.2