- add .dockerignore to minimize build context
- add runtime ldap and sasl libraries
- add entrypoint script to allow initialization as root and drop
privileges for gvaldap.sh
- add importlib-metadata dependency required by celery
The systemd-networkd script in vmdebootstrap that is used to build the
Debian libvirt vagrant boxes is a bit too eager assigning DHCP to
network interfaces. This patch changes the network script to only take
care of the primary network interface (first non loopback).
- define grains to match optimized gvasalt repository
- define minion configuration in separate file
- drop custome salt/bootstrap.sh
- adapt Vagrantfile to use the custom grains file
- increase memory size of created VM to allow the salt provisioning to
succeed
* release/0.6.0: (29 commits)
Release preparation for 0.6.0
Fix missing bind=True
Implement automatic retry for LDAP errors
Unify docker setup with gvaweb and gva
Add Dockerfile and entrypoint script
Reorganize package structure
Fix compatibility with Django 2.2 and other dependencies
Use Pipenv for dependency management
Change gvacommon dependency URL
Update vagrant setup to stretch64 with LXC
Protect /etc/salt/grains
Ignore PyCharm files
Improve Vagrant setup
Refactoring of ldaptasks
Mark LDAP field names as byte strings
Change salt minion id in Vagrantfile
Add tests for delete tasks
Add tests for ldaptasks functions
Update Django and gvacommon dependencies
Add unit tests
This commit reorganizes the package structure. The gvaldap.settings
modules have been merged. The gvaldap.ldaptasks module has been move up
one level to have task names without the gvaldap prefix.
isort control instructions have been added to setup.cfg.
All LDAP tasks return a dictionary now to allow chaining with other
tasks, the new task delete_ldap_user_chained has been added to allow
user deletion after other Celery tasks.
The django-ldapdb code cannot handle unicode field names with real LDAP
directories. This commit marks the field names of LDAP entities as byte
strings.
This commit updates the Django dependency version to 1.9.2 and gvacommon
to 0.3.0 that provides gvacommon.settings_utils.get_env_variable. The
gnuviechadmin.settings.base module now uses this implementation instead
of an own copy and the corresponding test has been removed too.
The previously used amqp result backend has been marked as deprecated by
the celery developers. This commit switches to the rpc backend that
should be used instead.
This commit renames get_env_setting to get_env_variable to be consistent
with the gva settings modules.
This commit adds an initial Vagrant and Saltstack setup that reuses the
same configuration as that of the gva repository. The LDAP server itself
is not configured yet.
This commit moves the version number to gvaldap's __init__.py, bumps the
copyright year and starts a new development iteration. The docs/conf.py
is synchronized with the gva project's version of that file.