Merge jenkins-test #1
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
|
|
@ -5,6 +5,9 @@ pipeline {
|
|||
args '-u root'
|
||||
}
|
||||
}
|
||||
environment {
|
||||
GITEA_CREDS = credentials('AMARILLO-JENKINS-GITEA-USER')
|
||||
}
|
||||
stages {
|
||||
stage('Create virtual environment') {
|
||||
steps {
|
||||
|
|
@ -25,9 +28,15 @@ pipeline {
|
|||
echo 'Testing'
|
||||
}
|
||||
}
|
||||
stage('Deploy') {
|
||||
stage('Build') {
|
||||
steps {
|
||||
echo 'Deploying'
|
||||
echo 'Building package'
|
||||
sh 'python -m build'
|
||||
}
|
||||
}
|
||||
stage('Publish package') {
|
||||
steps {
|
||||
sh 'python -m twine upload --repository gitea --username $GITEA_CREDS_USR --password $GITEA_CREDS_PSW ./dist/*'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[project]
|
||||
name = "amarillo-core"
|
||||
version = "0.0.5"
|
||||
version = "0.0.6"
|
||||
dependencies = [
|
||||
"fastapi[all]==0.104.0",
|
||||
"geopandas==0.14",
|
||||
|
|
|
|||
Loading…
Reference in a new issue