Compare commits
No commits in common. "244b4d291721b5625bb70e29efb391eddcd80af8" and "a02d4f5e86dd00981f8274b03993edf89b1a01d3" have entirely different histories.
244b4d2917
...
a02d4f5e86
20
Jenkinsfile
vendored
20
Jenkinsfile
vendored
@ -1,10 +1,5 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent {
|
agent { docker { image 'python:3.7.2' } }
|
||||||
docker {
|
|
||||||
image 'kennethreitz/pipenv'
|
|
||||||
args '--user root --privileged'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
environment {
|
environment {
|
||||||
// pipenv
|
// pipenv
|
||||||
@ -13,16 +8,6 @@ pipeline {
|
|||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
|
|
||||||
stage('setup') {
|
|
||||||
steps {
|
|
||||||
script {
|
|
||||||
sh 'pipenv install'
|
|
||||||
sh 'pipenv install --dev'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
stage('migration') {
|
stage('migration') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
@ -34,7 +19,8 @@ pipeline {
|
|||||||
stage('build') {
|
stage('build') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
sh 'python django_lostplaces/setup.py bdist_wheel --universal'
|
sh 'cd django_lostplaces'
|
||||||
|
sh 'python setup.py bdist_wheel --universal'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
1
Pipfile
1
Pipfile
@ -25,4 +25,3 @@ test = "django_lostplaces/manage.py test lostplaces"
|
|||||||
server = "django_lostplaces/manage.py runserver --ipv6"
|
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"
|
|
||||||
|
@ -1,14 +0,0 @@
|
|||||||
# 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