Compare commits
5 Commits
244b4d2917
...
2ac90bd35c
Author | SHA1 | Date | |
---|---|---|---|
2ac90bd35c | |||
3685db6892 | |||
d5789cef75 | |||
5fca4dc52a | |||
cbf45af5f5 |
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@ -13,12 +13,12 @@ pipeline {
|
|||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
|
|
||||||
stage('setup') {
|
stage('setup') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
sh 'pipenv install'
|
sh 'pipenv install'
|
||||||
sh 'pipenv install --dev'
|
sh 'pipenv install --dev'
|
||||||
|
sh 'pip install setuptools'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -34,9 +34,15 @@ pipeline {
|
|||||||
stage('build') {
|
stage('build') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
sh 'python django_lostplaces/setup.py bdist_wheel --universal'
|
sh 'pipenv run build'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
post {
|
||||||
|
success {
|
||||||
|
archiveArtifacts artifacts: 'dist/*.whl', fingerprint: true
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
2
Pipfile
2
Pipfile
@ -12,6 +12,7 @@ wheel = "*"
|
|||||||
twine = "*"
|
twine = "*"
|
||||||
pandoc = "*"
|
pandoc = "*"
|
||||||
pylint-django = "*"
|
pylint-django = "*"
|
||||||
|
setuptools = "*"
|
||||||
|
|
||||||
[packages]
|
[packages]
|
||||||
django = "*"
|
django = "*"
|
||||||
@ -26,3 +27,4 @@ server = "django_lostplaces/manage.py runserver --ipv6"
|
|||||||
dbshell = "django_lostplaces/manage.py dbshell"
|
dbshell = "django_lostplaces/manage.py dbshell"
|
||||||
showmigrations = "django_lostplaces/manage.py showmigrations"
|
showmigrations = "django_lostplaces/manage.py showmigrations"
|
||||||
makemigrations = "django_lostplaces/manage.py makemigrations --no-input"
|
makemigrations = "django_lostplaces/manage.py makemigrations --no-input"
|
||||||
|
build = "django_lostplaces/setup.py bdist_wheel --universal"
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
from setuptools import setup, find_packages
|
from setuptools import setup, find_packages
|
||||||
|
|
||||||
with open('../Readme.md') as f:
|
with open('Readme.md') as f:
|
||||||
readme = f.read()
|
readme = f.read()
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
|
Loading…
Reference in New Issue
Block a user