ADD: support for heinzelwerk CI/CD chain
This commit is contained in:
1
.buildbot/deploy/01-install.sh
Normal file
1
.buildbot/deploy/01-install.sh
Normal file
@@ -0,0 +1 @@
|
||||
pip install -e .
|
||||
5
.buildbot/deploy/02-setup.sh
Normal file
5
.buildbot/deploy/02-setup.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
django-dav-admin setup env/django
|
||||
python env/django/manage.py enable_module dav_auth
|
||||
python env/django/manage.py enable_module dav_events
|
||||
python env/django/manage.py enable_module dav_registration
|
||||
python env/django/manage.py enable_module dav_event_office
|
||||
1
.buildbot/deploy/03-allowed_hosts.sh
Normal file
1
.buildbot/deploy/03-allowed_hosts.sh
Normal file
@@ -0,0 +1 @@
|
||||
echo "ALLOWED_HOSTS = ['*']" >> env/django/main/settings.py
|
||||
1
.buildbot/deploy/10-collectstatic.sh
Normal file
1
.buildbot/deploy/10-collectstatic.sh
Normal file
@@ -0,0 +1 @@
|
||||
python manage.py collectstatic --no-input
|
||||
1
.buildbot/deploy/99-trigger_wsgi_reload.sh
Normal file
1
.buildbot/deploy/99-trigger_wsgi_reload.sh
Normal file
@@ -0,0 +1 @@
|
||||
touch conf/wsgi.py
|
||||
22
.buildbot/dist/01-sdist.sh
vendored
Normal file
22
.buildbot/dist/01-sdist.sh
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
if test -z "$DIST_FORMAT" ; then
|
||||
DIST_FORMAT="gztar"
|
||||
fi
|
||||
|
||||
python setup.py sdist --dist-dir . --formats "$DIST_FORMAT"
|
||||
|
||||
if test -n "$DIST_FILE" ; then
|
||||
dist_name=`python setup.py --name`
|
||||
dist_version=`python setup.py --version`
|
||||
case "$DIST_FORMAT" in
|
||||
gztar)
|
||||
dist_suffix=".tar.gz"
|
||||
;;
|
||||
*)
|
||||
dist_suffix=".${DIST_FORMAT}"
|
||||
;;
|
||||
esac
|
||||
produced_file="${dist_name}-${dist_version}${dist_suffix}"
|
||||
if test "$produced_file" != "$DIST_FILE" ; then
|
||||
mv "$produced_file" "$DIST_FILE"
|
||||
fi
|
||||
fi
|
||||
23
.buildbot/undist/01-unpack.sh
Normal file
23
.buildbot/undist/01-unpack.sh
Normal file
@@ -0,0 +1,23 @@
|
||||
if test -z "$DIST_FORMAT" ; then
|
||||
DIST_FORMAT="gztar"
|
||||
fi
|
||||
|
||||
if test -z "$DIST_FILE" ; then
|
||||
echo "Environment variable DIST_FILE must not be empty" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if test -n "$INSTALL_DIR" ; then
|
||||
mkdir -p "$INSTALL_DIR"
|
||||
set -- --strip-components=1 -C "$INSTALL_DIR"
|
||||
fi
|
||||
|
||||
case "$DIST_FORMAT" in
|
||||
gztar)
|
||||
tar -xzf "$DIST_FILE" $*
|
||||
;;
|
||||
*)
|
||||
echo "Unsupported DIST_FORMAT ($DIST_FORMAT)" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
19
MANIFEST.in
19
MANIFEST.in
@@ -1,9 +1,28 @@
|
||||
# common dist files
|
||||
include README.rst INSTALL.rst
|
||||
include setup.py requirements.txt
|
||||
# dav_base
|
||||
recursive-include dav_base/console_scripts/django_project_config *.py
|
||||
recursive-include dav_base/static *
|
||||
recursive-include dav_base/templates *
|
||||
# dav_auth
|
||||
include dav_auth/module.json
|
||||
recursive-include dav_auth/django_project_config *.py
|
||||
recursive-include dav_auth/templates *
|
||||
# dav_events
|
||||
include dav_events/module.json
|
||||
recursive-include dav_events/django_project_config *.py
|
||||
recursive-include dav_events/templates *
|
||||
# dav_registration
|
||||
include dav_registration/module.json
|
||||
recursive-include dav_registration/django_project_config *.py
|
||||
recursive-include dav_registration/static *
|
||||
recursive-include dav_registration/templates *
|
||||
# dav_event_office
|
||||
include dav_event_office/module.json
|
||||
recursive-include dav_event_office/django_project_config *.py
|
||||
recursive-include dav_event_office/templates *
|
||||
# dav_submission
|
||||
include dav_submission/module.json
|
||||
recursive-include dav_submission/django_project_config *.py
|
||||
recursive-include dav_submission/templates *
|
||||
|
||||
Reference in New Issue
Block a user