Skip to content
Branch: master
Commits on Jul 5, 2019
  1. API: Expose the task file path as task.path

    dmsimard committed Jul 4, 2019
    It was otherwise only available in the detailed task view as
    Change-Id: I47d7d2c140c7791fc7f6aa790564525a1abaca8f
Commits on Jul 4, 2019
  1. API: Add "items" field to Simple Playbook/Play/Task serializers

    dmsimard committed Jul 4, 2019
    The "items" field is available in both the list and detailed version
    of those serializers. Make it available in the simple serializers
    as well for consistency.
    Change-Id: Ie7ebffce20c1cdb74b2316c0f08158cad2e0b81a
  2. Doc: Don't use code-block without language setting

    dmsimard committed Jul 4, 2019
    This fixes a warning from Sphinx.
    Change-Id: Ibcb52e8f1afc7de22c3c04100916765a8e9d5742
Commits on Jul 2, 2019
  1. Use include_role instead of import_role for integration tests

    dmsimard committed Jul 2, 2019
    Setting "public: yes" makes the variables available after running
    the role which is what we need for the purpose of testing.
    The problem with import_role is that the variables are parsed only
    once at the beginning [1].
    Change-Id: I2cc51eb8020bd8928031e75c85bcae22722e33e1
Commits on Jun 28, 2019
  1. Expose setting for Django's database CONN_MAX_AGE config

    dmsimard committed Jun 28, 2019
    The default of 0 is provided by Django out of the box but this will
    allow users to tweak the connection max age for remote database
    Change-Id: I11503946d149edbffadd624ce305e4ac8aae9c66
Commits on Jun 26, 2019
  1. ara_api role: Stop managing the gunicorn pidfile

    dmsimard committed Jun 26, 2019
    systemd can take care of that for us.
    Change-Id: I95da079e382565efbcdf11e6c36fbee13f164a2a
  2. ara_api role: Update selinux for gunicorn from home directory

    dmsimard committed Jun 26, 2019
    We can iterate on these but this seems to be the minimum required
    when running selinux as enforcing.
    Change-Id: Ibfc5b9dee5d6e18ef2460fa4f0060092800ae473
Commits on Jun 25, 2019
  1. Run actual integration tests for the ara-api role jobs

    dmsimard committed Jun 21, 2019
    We ran the role but not the integration tests, run tests too.
    Change-Id: I64d4befa4e7acd172078bc2d5de54c0233229bdd
Commits on Jun 21, 2019
  1. Relocate api_root_dir outside of /tmp for integration tests

    dmsimard committed Jun 21, 2019
    Putting things in /tmp causes issues for systemd services set up to
    use private tmp directories.
    Change-Id: I5ce671860f0eaf92b9624f9b79103731e766cbad
  2. ara-api role: Set proper path for the gunicorn pid file

    dmsimard committed Jun 21, 2019
    Change-Id: Ie04b43cc81322bf9fadc121547610bc98ee81a4c
  3. Make sure the API client timeout is an integer and not a string

    dmsimard committed Jun 21, 2019
    Change-Id: I41dbb77923899c4dcbcdc3e2bde87aa36fccaf35
Commits on Jun 20, 2019
  1. Add toggle to disable sql migrations for the offline client

    dmsimard committed Jun 20, 2019
    We don't want to run SQL migrations systematically when instanciating an
    offline client, especially if we expect that they have been run already.
    This is the case for the ara_record action plugin which is not expected
    to run until after there has been a playbook created.
    Change-Id: I6a34f92bc13ff9fddc8de010eba159d57a6ca9a6
  2. Add support for mysql backend in the ara_api role

    dmsimard committed Jun 19, 2019
    This allows ara_api to install mysqlclient when using the
    mysql database engine.
    Change-Id: I5c02a93d2ad23fc0ada9ea3fbe49a808295450cd
  3. Re-structure integration tests

    dmsimard committed Jun 19, 2019
    - Split zuul.yaml for readability
    - Default everything to debug verbosity
    - Remove ara-tests, replaced by basic.yaml
    - Move tox -e ansible-integration to use basic.yaml
    Change-Id: I37209271613b99fc8ad52e9e7286f8979e74c168
Commits on Jun 8, 2019
  1. Add GitHub issue templates for bugs and enhancements

    dmsimard committed Jun 8, 2019
    Change-Id: I2d98f48f21c332ba3f2043910451e8705a5fb715
Commits on Jun 5, 2019
  1. Only import the offline client if necessary in get_client

    dmsimard committed Jun 5, 2019
    Otherwise, importing ara.client.utils triggers an import to the
    offline client which requires django dependencies to be installed.
    Change-Id: I61e659cfbeec3aa696f17db3addfbaa33af2e860
  2. Switch default branch from feature/1.0 to master

    dmsimard committed Jun 4, 2019
    This updates the doc and git branches to match master instead of
    Change-Id: Ifc98157328b2f9f56055fa0cdcfea5db5180fb7f
Commits on Jun 4, 2019
  1. Add missing selinux policy package for running gunicorn

    dmsimard committed May 28, 2019
    Running gunicorn out of a virtualenv in a home directory requires
    some extra selinux policies.
    Fixes: #49
    Change-Id: I027d148d846e7add391b28e805f67cbe312dcde0
  2. Make the API page size configurable

    dmsimard committed Jun 3, 2019
    Instead of hard coding the page size to 100, make it configurable.
    Change-Id: I399ff5a8d9f8fa6c61fcaabc6fafb0c30cc1dc55
Commits on Jun 3, 2019
  1. Update README

    dmsimard committed Jun 3, 2019
    - Make the intro shorter and more to the point
    - Link to ara-web
    - Add local dev server to the quickstart
    - Include links to live demos and Ansible roles
    - Test docs have been moved to contributing docs
    Change-Id: Ie82c66965ed220824448048cbbd434c585afe0b9
  2. Add a comment in requirements.txt about location of server deps

    dmsimard committed Jun 3, 2019
    Change-Id: I8d011668f3cb470b70e69dcf0e21056b5b031dc7
Commits on Jun 2, 2019
  1. General clean up the API server documentation

    dmsimard committed Jun 2, 2019
    - Alphabetically sort everything
    - Remove double ARA_ENV in the summary table
    - Change summary table order to have default before usage
    Change-Id: Ia03119d899d9dc6e4abed35d4e9a9655d6b3f348
Commits on May 30, 2019
  1. Add missing 'changed' and 'ignore_error' to results

    dmsimard committed May 30, 2019
    The callback was sending them but for some reason we did not have
    those fields in the model yet.
    Change-Id: I78c5ed6315d2c300f382b7a2b282722aec73d9a6
Commits on May 29, 2019
  1. Port FAQ docs from 0.x and update for 1.0

    dmsimard committed May 29, 2019
    - Moved workflow diagram to FAQs
    - Added live demos
    - Removed web screenshots
    - Combined "Why is ARA being developed" with
      "Why don't you use Ansible Tower (AWX), Rundeck or Semaphore"
    Change-Id: Id7da538b8bce52f85ef4c4422a48d3b8b7588150
  2. Port contribution docs from 0.x and update for 1.0

    dmsimard committed May 29, 2019
    This is mostly ported as-is from 0.x but contains updates relevant
    to GitHub and removes bits about Storyboard.
    Change-Id: Ib38a413a2927e3b4cfcb9dbfb24d528c99be7657
Commits on May 23, 2019
  1. Provide SQL migrations for the removal of host aliases

    dmsimard committed May 23, 2019
    We can start providing SQL migrations now that the API and database
    have largely settled.
    Change-Id: I764c5ea473cbcc291bab2c7cd061cd78b34c7211
  2. Add docs for ara_record

    dmsimard committed May 23, 2019
    These docs are mostly ported as-is from 0.x since the feature hasn't
    really changed from a user standpoint.
    Change-Id: I4704ef74780c161dc8900b83c93f6ca385fc460a
  3. Add docs for playbook names and labels

    dmsimard committed May 23, 2019
    Change-Id: I7124f6030e736a5f096b48ff7245ddc8722a22b2
  4. Remove the concept of host aliases

    dmsimard committed May 23, 2019
    Between playbook labels and the name of the hosts being searchable,
    the host alias feature is redundant.
    Change-Id: I0c09e8cf29ca8c82f9fdb496823eebb46f2739f4
Commits on May 22, 2019
  1. Enable timezone settings and stop logging from

    dmsimard committed May 21, 2019
    Enabling timezone settings caused drifts in log timestamps as settings
    were re-loaded.
    Since we can't reliably log from, replace those instances by
    the messages prefixed by [ara].
    Also move the settings file configuration to __main__ so it doesn't end
    up being printed several times.
    Fixes: #45
    Change-Id: I88c40d1af21fec8e917ccb22fe9eee4d9ae8ee2d
  2. Stop creating STATIC_ROOT needlessly, filter whitenoise warning instead

    dmsimard committed May 21, 2019
    The maintainer has suggested that we filter the warnings instead of
    creating the directory needlessly.
    Change-Id: I901f9f7e14e1308461c6b4f887b5d70b1441fb72
  3. Don't use private task attributes to retrieve task tags

    dmsimard committed May 22, 2019
    Tags are available as task.tags, there is no need to use _attributes
    which now defaults unset values to a new Sentinel class instead of None
    or [].
    Fixes: #46
    Change-Id: Ie8b2ef112a54497253ea1c3a1b5956c6284434c3
Commits on May 21, 2019
  1. Make executable

    dmsimard committed May 21, 2019
    Change-Id: I086cbcc543a6d1a865b69fde04cf4ef1fd0b5858
  2. roles: use virtualenv_command instead of virtualenv_python

    dmsimard committed May 21, 2019
    python3 -m venv is always expected to work while virtualenv_python might
    attempt to use a virtualenv binary script.
    We already make sure that python3-venv is installed in the ara_api
    Fixes: #43
    Change-Id: I0994cd99e24f9a23d0dfeb66e8b838ced7aed948
  3. CI: Disable extra pip wheels mirror

    dmsimard committed May 21, 2019
    Change-Id: Ia584a6c178653775b727d7d03fca3c590c699f4b
    Related: #43
You can’t perform that action at this time.