This project is mirrored from https://github.com/debops/debops/. Updated .
  1. 22 May, 2019 1 commit
  2. 21 May, 2019 2 commits
  3. 06 May, 2019 1 commit
    • Maciej Delmanowski's avatar
      [ci] Add mock LDAP servers in Vagrant tests · 2b2a48c8
      Maciej Delmanowski authored
      The 'vagrant.test' domain inside of the Vagrant test VMs is not a real
      DNS domain. The 'debops.ldap' role uses 'dig' Ansible lookup plugin to
      get the address of the LDAP servers, which doesn't work very well during
      tests. For now, replace that lookup with a static list of LDAP servers.
      2b2a48c8
  4. 06 Feb, 2019 1 commit
    • Maciej Delmanowski's avatar
      [docker] In Docker, check if 'src/' dir exists · 25f2403e
      Maciej Delmanowski authored
      This change should avoid issues with DebOps used as a Docker image and
      the Docker entrypoint script causing errors when a Docker volume is
      mounted at '~/src/' directory. The custom Ansible Controller directory
      will be created only when the '~/src' directory is not found.
      25f2403e
  5. 02 Feb, 2019 2 commits
    • Maciej Delmanowski's avatar
      Remove unused variable · 286a7b4a
      Maciej Delmanowski authored
      286a7b4a
    • Maciej Delmanowski's avatar
      Implement upstream version checks using 'uscan' · 10069ee7
      Maciej Delmanowski authored
      This patch adds a way to check the upstream version of the third-party
      software managed by DebOps which is not included in Debian Archive, or
      distributed via additional APT repositories. This will be used to
      monitor changes and new releases of upstream software to update the
      version used for installation by DebOps roles.
      
      The check can be done by executing the command:
      
          make versions
      
      in the root of the DebOps monorepo. The 'uscan' tool from the Debian
      'devscripts' APT package is required.
      10069ee7
  6. 27 Jan, 2019 1 commit
  7. 25 Jan, 2019 1 commit
    • Maciej Delmanowski's avatar
      [ci] Improve test inventory variables · bdb5e18d
      Maciej Delmanowski authored
      This patch changes the dynamically generated test Ansible inventory in
      the 'jane' script as well as the Vagrantfile to use the real host FQDN
      instead of 'localhost' as the name of the host managed by Ansible. The
      test inventory will also add the IP address of the host from which the
      Vagrant SSH connects to the list of Ansible Controllers to ensure that
      Vagrant parent host is not cut off by the firewall configuration.
      bdb5e18d
  8. 11 Jan, 2019 1 commit
  9. 01 Jan, 2019 1 commit
    • Russell's avatar
      change test dir for docker-entrypoint · 8e0d0455
      Russell authored
      allow a user to mount a persistent volume to /home/ansible/src without short circuiting the debops-init call in docker-entrypoint.  this will alllow the initial project creation to happen as intended.
      8e0d0455
  10. 15 Nov, 2018 2 commits
  11. 06 Nov, 2018 1 commit
    • Maciej Delmanowski's avatar
      Revert "[debops.gunicorn] Fix pycodestyle issues" · 6515e526
      Maciej Delmanowski authored
      This reverts commit 5719a4e2.
      
      The 'application.conf.py' script is treated more like a configuration
      file rather than a standalone Python script. Wrapping values defined by
      Jinja in JSON and loading them via json.loads can cause unintended
      consequences during gunicorn execution.
      
      To avoid issues with pyCodeStyle, the configuration file will be ignored
      by the PEP8 test.
      6515e526
  12. 17 Oct, 2018 2 commits
    • Maciej Delmanowski's avatar
      [dropbear_initramfs] Ignore script in shell tests · b7bcdc46
      Maciej Delmanowski authored
      Because of the limited environment in initramfs I'm not sure if the
      template of the 'debops_dropbear_initramfs' script can be fixed to
      properly read list of network interfaces from Jinja into a shell array.
      Therefore, it will be ignored during 'shellcheck' tests for now.
      b7bcdc46
    • Maciej Delmanowski's avatar
      [debops.grub] Ignore shell tests for '01_users.j2' · 89a917ba
      Maciej Delmanowski authored
      The file that's generated by Ansible is not really a normal shell
      script, but a GRUB script. Therefore it cannot be easily "fixed" so that
      shellcheck will not complain about it. It will be ignored during shell
      script checks.
      89a917ba
  13. 16 Oct, 2018 1 commit
  14. 29 Sep, 2018 1 commit
  15. 19 Jul, 2018 1 commit
  16. 13 Jul, 2018 1 commit
  17. 06 Jul, 2018 1 commit
    • Maciej Delmanowski's avatar
      [ci] Check all playbooks for idempotency · e38b1c2b
      Maciej Delmanowski authored
      Previously the check for playbook idempotency stopped on first found
      matching result. However this doesn't work correctly when multiple
      playbooks are used during a test. This change should now check all
      playbook results for idempotency.
      e38b1c2b
  18. 13 Apr, 2018 1 commit
  19. 28 Mar, 2018 1 commit
  20. 15 Mar, 2018 1 commit
  21. 13 Mar, 2018 3 commits
  22. 06 Mar, 2018 1 commit
  23. 28 Feb, 2018 2 commits
  24. 21 Feb, 2018 1 commit
    • Maciej Delmanowski's avatar
      Don't check Mailman configuration against PEP8 · 12573720
      Maciej Delmanowski authored
      It looks like the Mailman 'mm_cfg.py' template cannot be easily modified
      to satisfy 'pycodestyle' demands; most of the values in it are templated
      directly using Jinja, and attempts to wrap it using json.loads() result
      in Mailman service not starting properly.
      
      Because of that, for the time being the 'mm_cfg.py' template will be
      ignored by 'make pep8' test. This might be changed later, when a better
      solution is found.
      12573720
  25. 20 Feb, 2018 1 commit
  26. 19 Feb, 2018 1 commit
  27. 09 Feb, 2018 1 commit
  28. 25 Jan, 2018 2 commits
    • Maciej Delmanowski's avatar
      Redesign Python packaging for 'debops-tools' · 7d531934
      Maciej Delmanowski authored
      This is a redesign of the Python 'lib/debops-tools/' package to be the
      main 'debops' Python package again. This is done to synchronize the
      "debops-tools" version and DebOps monorepo version. It should also make
      installing 'debops' a bit more intuitive and accessible.
      
      Source package creation using Python setuptools resulted in the Python
      source files being put in the 'lib/debops-tools/debops/' subdirectory
      instead of the 'debops/' subdirectory of the generated tarball,
      therefore I moved the scripts to the root fo the monorepo. Otherwise the
      current scripts were not changed; this shouldn't impact usage of the
      Ansible roles/playbooks.
      
      The source package generated by Python setuptools will now included
      a LICENSE file, which was missing from the previous ones. The 'debops'
      package description and classification was also updated. Package
      versioning is done dynamically based on the 'git describe' result.
      7d531934
    • Maciej Delmanowski's avatar
      10c14f31
  29. 16 Jan, 2018 1 commit
  30. 11 Jan, 2018 1 commit
  31. 04 Jan, 2018 1 commit
    • Markus Wigge's avatar
      More Python3 + PEP8 fixes. · 4b03a306
      Markus Wigge authored
      "debops" runs in both environments now (Python 2 and 3) but still throws
      a template exception error 'dict object' has no attribute 'iteritems'
      while running with v3.
      4b03a306
  32. 03 Jan, 2018 1 commit