Compare commits
6 Commits
a02d4f5e86
...
244b4d2917
Author | SHA1 | Date | |
---|---|---|---|
244b4d2917 | |||
d8b0ce1ac2 | |||
8da6964b3c | |||
ccd701ea60 | |||
170971c44b | |||
7196820122 |
20
Jenkinsfile
vendored
20
Jenkinsfile
vendored
@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
1
Pipfile
1
Pipfile
@ -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"
|
||||
|
@ -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 = [
|
||||
]
|
Loading…
Reference in New Issue
Block a user