Compare commits

..

6 Commits

3 changed files with 32 additions and 3 deletions

20
Jenkinsfile vendored
View File

@ -1,5 +1,10 @@
pipeline {
agent { docker { image 'python:3.7.2' } }
agent {
docker {
image 'kennethreitz/pipenv'
args '--user root --privileged'
}
}
environment {
// pipenv
@ -8,6 +13,16 @@ pipeline {
}
stages {
stage('setup') {
steps {
script {
sh 'pipenv install'
sh 'pipenv install --dev'
}
}
}
stage('migration') {
steps {
script {
@ -19,8 +34,7 @@ pipeline {
stage('build') {
steps {
script {
sh 'cd django_lostplaces'
sh 'python setup.py bdist_wheel --universal'
sh 'python django_lostplaces/setup.py bdist_wheel --universal'
}
}
}

View File

@ -25,3 +25,4 @@ test = "django_lostplaces/manage.py test lostplaces"
server = "django_lostplaces/manage.py runserver --ipv6"
dbshell = "django_lostplaces/manage.py dbshell"
showmigrations = "django_lostplaces/manage.py showmigrations"
makemigrations = "django_lostplaces/manage.py makemigrations --no-input"

View File

@ -0,0 +1,14 @@
# Generated by Django 3.2.5 on 2021-07-16 11:15
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('lostplaces', '0004_release_0_1_3'),
('lostplaces', '0005_add_visited_places'),
]
operations = [
]