Commit 2f965df7 authored by Stefan G. Weichinger's avatar Stefan G. Weichinger

Merge branch 'master' of https://github.com/debops/debops

parents 9e2e045a e90fc6ce

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

......@@ -663,6 +663,13 @@ stages:
# --- m --- [[[2
'machine role':
<<: *test_role_no_deps
variables:
JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/machine.yml'
JANE_DIFF_PATTERN: '.*/debops.machine/.*'
JANE_LOG_PATTERN: '\[debops\.machine\]'
'mailman role':
<<: *test_role_3rd_deps
variables:
......@@ -940,6 +947,21 @@ stages:
JANE_DIFF_PATTERN: '.*/debops.preseed/.*'
JANE_LOG_PATTERN: '\[debops\.preseed\]'
'proc_hidepid role':
<<: *test_role_no_deps
variables:
JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/proc_hidepid.yml'
JANE_INVENTORY_GROUPS: 'debops_service_proc_hidepid'
JANE_DIFF_PATTERN: '.*/debops.proc_hidepid/.*'
JANE_LOG_PATTERN: '\[debops\.proc_hidepid\]'
'prosody/pki role':
<<: *test_role_2nd_deps
variables:
JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/pki.yml ${DEBOPS_PLAYBOOKS}/service/prosody.yml'
JANE_INVENTORY_GROUPS: 'debops_service_pki,debops_service_prosody'
JANE_DIFF_PATTERN: '.*/debops.prosody/.*'
JANE_LOG_PATTERN: '\[debops\.prosody\]'
# --- r --- [[[2
......@@ -1001,6 +1023,25 @@ stages:
JANE_DIFF_PATTERN: '.*/debops.root_account/.*'
JANE_LOG_PATTERN: '\[debops\.root_account\]'
'roundcube role':
<<: *test_role_2nd_deps
variables:
JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/roundcube.yml'
JANE_INVENTORY_GROUPS: 'debops_service_roundcube'
JANE_DIFF_PATTERN: '.*/debops.roundcube/.*'
JANE_LOG_PATTERN: '\[debops\.roundcube\]'
'roundcube/mariadb role':
<<: *test_role_2nd_deps
variables:
JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/mariadb_server.yml ${DEBOPS_PLAYBOOKS}/service/roundcube.yml'
JANE_INVENTORY_GROUPS: 'debops_service_mariadb_server,debops_service_roundcube'
JANE_INVENTORY_HOSTVARS: 'roundcube__database=mysql-default'
JANE_DIFF_PATTERN: '.*/debops.roundcube/.*'
JANE_LOG_PATTERN: '\[debops\.roundcube\]'
VAGRANT_MASTER_MEMORY: '4096'
tags: [ 'mem-6GB' ]
'rsnapshot role':
<<: *test_role_no_deps
variables:
......@@ -1063,7 +1104,6 @@ stages:
'secret role':
<<: *test_role_no_deps
variables:
JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/apt_proxy.yml'
JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/secret.yml'
JANE_DIFF_PATTERN: '.*/debops.secret/.*'
JANE_LOG_PATTERN: '\[debops\.secret\]'
......@@ -1152,6 +1192,14 @@ stages:
JANE_LOG_PATTERN: '\[debops\.sysfs\]'
tags: [ 'shell', 'vagrant-vm' ]
'sysnews role':
<<: *test_role_no_deps
variables:
JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/sysnews.yml'
JANE_INVENTORY_GROUPS: 'debops_service_sysnews'
JANE_DIFF_PATTERN: '.*/debops.sysnews/.*'
JANE_LOG_PATTERN: '\[debops\.sysnews\]'
# --- t --- [[[2
......
......@@ -33,6 +33,7 @@ Tobias Mueller <muelli@cryptobitch.de> muelli <muelli@cryptobitch.de>
Florian Rinke <github@florianrinke.de> <github+debops@florianrinke.de>
Russell T. Sherman <russel.t.sherman@gmail.com> Russell Sherman <russell.t.sherman@gmail.com>
Russell T. Sherman <russel.t.sherman@gmail.com> Russell <russell.t.sherman@gmail.com>
Norbert Summer <git@o-g.at> TuxCoder <git@o-g.at>
Patryk Ściborek <patryk@sciborek.com> <patryk.sciborek@comp.com.pl>
Thiago Talma <thiagotalma@gmail.com> <thiago@thiagomt.com>
Thiago Talma <thiagotalma@gmail.com> <thiagotalma@users.noreply.github.com>
......
......@@ -24,6 +24,7 @@ before_install:
- 'sudo apt-get install -yq graphviz'
- 'pip install --upgrade pip six setuptools wheel'
- 'pip install pycodestyle unittest2 nose2 cov-core ansible sphinx sphinx-autobuild sphinx_rtd_theme yamllint'
- './lib/tests/travis-shellcheck'
install:
- 'pip list'
......
......@@ -16,7 +16,13 @@ You can read information about required changes between releases in the
`debops master`_ - unreleased
-----------------------------
.. _debops master: https://github.com/debops/debops/compare/v0.6.0...master
.. _debops master: https://github.com/debops/debops/compare/v0.7.0...master
`debops v0.7.0`_ - 2018-02-11
-----------------------------
.. _debops v0.7.0: https://github.com/debops/debops/compare/v0.6.0...v0.7.0
Added
~~~~~
......@@ -24,10 +30,10 @@ Added
- New Ansible roles have been imported from the ``debops-contrib``
organization: ``apparmor``, ``bitcoind``, ``btrfs``, ``dropbear_initramfs``,
``etckeeper``, ``firejail``, ``foodsoft``, ``fuse``, ``homeassistant``,
``kernel_module``, ``kodi``, ``roundcube``, ``neurodebian``,
``snapshot_snapper``, ``tor``, ``volkszaehler``, ``x2go_server``. They are
not yet included in the main playbook and still need to be renamed to fit
with the rest of the ``debops.*`` roles.
``kernel_module``, ``kodi``, ``neurodebian``, ``snapshot_snapper``, ``tor``,
``volkszaehler``, ``x2go_server``. They are not yet included in the main
playbook and still need to be renamed to fit with the rest of the
``debops.*`` roles.
- New DebOps roles:
......@@ -37,6 +43,17 @@ Added
- :ref:`debops.locales`: configure localization and internationalization on
a given host or set of hosts.
- :ref:`debops.machine`: manage the :file:`/etc/machine-info` file,
the :file:`/etc/issue` file and a dynamic MOTD.
- :ref:`debops.proc_hidepid`: configure the ``/proc`` ``hidepid=`` options.
- :ref:`debops.roundcube`: manage RoundCube Webmail application
- :ref:`debops.prosody`: configure an xmpp server on a given host
- :ref:`debops.sysnews`: manage System News bulletin for UNIX accounts
- You can now :ref:`use Vagrant <quick_start__vagrant>` to create an Ansible
Controller based on Debian Stretch and use it to manage itself or other hosts
over the network.
......@@ -115,6 +132,20 @@ Removed
'debops.locales' role. You will need to update the Ansible inventory
variables to reflect the changes.
- [debops.console] Remove management of the :file:`/etc/issue` and
:file:`/etc/motd` files from the ``debops.console`` role. That functionality
is now available in the :ref:`debops.machine` role. You will need to update
the Ansible inventory variables to reflect the changes.
- [debops.console] Management of the ``/proc`` ``hidepid=`` option has been
moved to a new role, :ref:`debops.proc_hidepid`. You will need to update the
Ansible inventory variables to reflect the changes.
- [debops.console] Management of the System News using the ``sysnews`` Debian
package has been removed from the role; it's now available as a separate
:ref:`debops.sysnews` Ansible role. You will need to update the Ansible
inventory variables related to System News due to this changes.
debops v0.6.0 - 2017-10-21
--------------------------
......
......@@ -150,9 +150,15 @@ expected, system-wide installation should work fine.
DebOps monorepo
---------------
When the DebOps scripts are installed, you can use the :command:`debops-update`
command to download or update the DebOps monorepo. The :command:`git`
repository will be cloned to the directory:
If you installed DebOps using a Python package equal or newer than ``0.7.0``,
the installation should include a set of DebOps playbooks and roles located in
the ``debops`` Python pacakge directory. The scripts should automatically find
them and use them as necessary.
If you installed an older DebOps release, or you want to use the latest changes
in DebOps development branch, you can use the :command:`debops-update` command
to download or update the DebOps monorepo. The :command:`git` repository will
be cloned to the directory:
.. code-block:: console
......
......@@ -28,6 +28,10 @@ docs: test-docs
pep8: ## Test Python PEP8 compliance
pep8: test-pep8
.PHONY: shell
shell: ## Test shell script syntax
shell: test-shell
.PHONY: syntax
syntax: ## Check Ansible playbook syntax
syntax: test-playbook-syntax
......@@ -81,7 +85,7 @@ twine-upload: ## Upload Python packages to PyPI
@twine upload dist/*
.PHONY: test-all
test-all: clean-tests test-pep8 test-debops-tools test-docs test-playbook-syntax test-yaml test-docker-build
test-all: clean-tests test-pep8 test-debops-tools test-docs test-playbook-syntax test-yaml test-shell test-docker-build
.PHONY: test-pep8
test-pep8:
......@@ -89,6 +93,11 @@ test-pep8:
@pycodestyle --show-source --statistics .
@./lib/tests/check-pep8 || true
.PHONY: test-shell
test-shell:
@printf "%s\n" "Testing shell syntax using shellcheck..."
@./lib/tests/check-shell || true
.PHONY: test-docker-build