Skip to content

development

Markus Bergholz edited this page Jul 23, 2021 · 2 revisions

Integration tests

Requirements:

  • Ansible
  • Docker
  • Python Docker SDK
  • Make

From project root directory simply run make fullround.
It will execute the playbook tests/integration/targets/localhost.yml.

It is a playbook with 4 Plays.

  1. start official nextcloud docker container
  2. prepare apache to work with ssl (requires by passwords app)
  3. install passwords app
  4. run integration tests against the container
  5. stops and removes the container

Development

Basically it is alawys used current ansible version, current nextcloud version and current python3 version.
Mainly passwords app requires always an up to date nextcloud version.
The file module might work with almost any nextcloud version.

Clone this wiki locally