Skip to content
Snippets Groups Projects
  1. Sep 21, 2016
  2. Sep 20, 2016
  3. Aug 28, 2016
    • Paul Bourke's avatar
      Fix bandit gate jobs · fc30d583
      Paul Bourke authored
      * Inspected each error and fixed / added nosec where appropriate.
      * build-swift-ring.py which was throwing sec errors is no longer used so
        removed it.
      * Removed the dev/ directory from being checked.
      
      Closes-Bug: #1617713
      Change-Id: I25664cabca4137e5c9f499c1af3f5ce78b86fb56
      fc30d583
  4. Aug 04, 2016
    • Christian Berendt's avatar
      Add doc8 test and improve rst syntax · c3d8262e
      Christian Berendt authored
      This will test all rst files inside the doc directory for style issues with
      doc8 (an opinionated style checker for rst styles of documentation).
      
      This will fix all syntax issues identified by doc8 and will improve
      the syntax.
      
      Change-Id: Id1b9563e07e77e306aef5a0767c98c27f87c5c0e
      c3d8262e
  5. Jul 14, 2016
    • Yatin Kumbhare's avatar
      Add Python 3.5 classifier and venv · bcebc7cb
      Yatin Kumbhare authored
      Now that there is a passing gate job, we can claim support for
      Python 3.5 in the classifier. This patch also adds the convenience
      py35 venv.
      
      Change-Id: Ia7b1fb88ac108e1e8fd6ed963967e731ae3ca5a4
      Closes-Bug: #1603006
      bcebc7cb
  6. May 26, 2016
  7. Apr 02, 2016
    • Jeffrey Zhang's avatar
      Add Ubuntu binary build and deploy gate · 7ab705cd
      Jeffrey Zhang authored
      The Ubuntu Mitaka repo is release, and we have add it.
      So it is time to add the Ubuntu binary gate.
      
      Closes-Bug: #1560386
      Change-Id: I29d01147595c4ebebfa00798d01d5fd7398123a6
      7ab705cd
  8. Mar 27, 2016
    • Steven Dake's avatar
      Fix gate to use world writeable docker socket · a7893467
      Steven Dake authored
      A recent change related to sudo securepath broke how sudo -E
      works.  Now the PATH is reset by sudo as set by tox.  As a result
      we can no longer rely on sudo -E anywhere in our gating system
      relating to path inheritence from the parent shell.
      
      This patch uses a shell operation in the setup_nodes.yml code
      to chmod the docker socket to 666 so docker containers can build
      properly.  Now docker operations don't return a permission denied
      and we no longer require the sudo -E operation in any of our tox
      scripts.  This isn't a security vulnerability because our gate
      scripts are only meant to be run in OpenStack infrastructure.
      To make this more clear I recommend moving these shell scripts to
      tests/gate.
      
      Change-Id: I5b3d6e280e3c12a25defedb14b5589ba642043fa
      Closes-Bug: #1562383
      a7893467
  9. Mar 23, 2016
  10. Mar 08, 2016
  11. Mar 03, 2016
  12. Mar 01, 2016
  13. Feb 26, 2016
  14. Feb 11, 2016
  15. Jan 25, 2016
  16. Jan 21, 2016
    • SamYaple's avatar
      Convert gate to file backend rather than partition · 6adb5c0a
      SamYaple authored
      The existing gate partitioned a disk for use with docker, depending
      on the gate it would use the swap disk (RAX) or a spare disk (HP).
      However, with the new gates (Bluebox + OVH) there is neither a spare
      disk nor a swap disk. This leaves us with one choice: File based loop
      device.
      
      This patch creates a file at /swapfile to ensure we have swap. It
      creates a file at /docker to ensure we have a loop device for Docker.
      
      Right now the /docker file is 10GB and the /swapfile is 4GB due to
      size limitations in the gate across all servers and types. This has
      proven to be enough space for all our current tests.
      
      Additionally, reduce the number of threads the gate uses to 4 to
      prevent the lockup and hour timeout we have been seeing as more
      recently in the gate.
      
      The scripts that setup the gate are moved to the tools directory
      rather than the tests directory to match the structure of the other
      projects.
      
      Partially-Implements: blueprint functional-testing-gate
      
      Change-Id: I3e370f2382b6df36103d8b2ceda9b21d9b4229d5
      6adb5c0a
  17. Jan 15, 2016
  18. Jan 14, 2016
    • MD NADEEM's avatar
      Put py34 first in the env order of tox · e09e20cd
      MD NADEEM authored
      To solve the problem of "db type could not
      be determined" on py34 we have to run first
      the py34 env to, then, run py27.
      
      This patch puts py34 first on the tox.ini list
      of envs to avoid this problem to happen.
      Closes-Bug: #1489059
      
      Change-Id: I4f791dfa620eacdd76cd46f193e190071ab64b6c
      e09e20cd
  19. Jan 13, 2016
  20. Jan 06, 2016
  21. Dec 31, 2015
  22. Dec 22, 2015
    • SamYaple's avatar
      pep8 the ansible modules · 4199634e
      SamYaple authored
      By ignoring the appropriate tests that pep8 does we can properly run
      *most* of the pep8 tests on all of our modules allowing for a more
      consistent coding style.
      
      Closes-Bug: #1528431
      Change-Id: I33f27a250d06d4f044267aa3ad189e092789b8df
      4199634e
    • SamYaple's avatar
      Simplify config creation · ed82afa8
      SamYaple authored
      Convert config creation from a playbook to an action_plugin. This
      reduces the complexity and confusion while retaining the same augment
      structure and flexibility.
      
      This allows us to remove the 0-byte files as requirements. They will
      still be used if they are present (this means we require additional
      documentation around them).
      
      DocImpact
      Closes-Bug: #1528430
      Change-Id: I2c789f6be9f195c7771ca093a6d59499564b4740
      ed82afa8
  23. Dec 11, 2015
    • hparekh's avatar
      Pass environment variables of proxy to tox · c3c7ee42
      hparekh authored
      When a development environment is under a proxy, tox is failed even if
      environment variables of the proxy are set.
      
      This patch fixes this problem.
      
      Change-Id: I685ddbc6bb6e0fe25c308c35a7581785eebe3629
      c3c7ee42
  24. Dec 07, 2015
  25. Nov 22, 2015
    • Sam Yaple's avatar
      Convert gate to Ansible setup · f9ee96f2
      Sam Yaple authored
      To support multinode we must now distribute our setup to multiple
      hosts. Instead of making special rules for this, we are going to
      convert our existing setup to Ansible. This way both setup proceedures
      take place in the exact same fashion.
      
      Partially-Implements: blueprint multinode-gate
      Change-Id: I43ece298bba994e9b5083403ef3cf6d4245cda6d
      f9ee96f2
  26. Nov 13, 2015
    • Sam Yaple's avatar
      Remove unused tox jobs · 00b7794f
      Sam Yaple authored
      The gates have been renamed. We can remove these jobs now.
      
      Change-Id: I4f140301d0b0a04ca4196a755625f32569fe4b32
      Partially-Implements: blueprint multinode-gate
      00b7794f
  27. Nov 11, 2015
    • Sam Yaple's avatar
      Rename jobs for Kolla · e21c39b0
      Sam Yaple authored
      Due to the length of the job name and the tox target we run into an
      uncommon limitation; the virtualenv that tox launches is nested in a
      path that is too long. This leads to and error on our longest named
      job which prevents tox from running at all.
      
      This limitation is the limit for the line length of the first line
      in a shell script. See `man execve` for more info. A quote from that
      manpage: 'A maximum line length of 127 characters is allowed for the
      first line in a #! executable shell script.'
      
      Change-Id: I43fba2a5ff1890d699045496c9eaee5e849f3e75
      Backport: Liberty
      Partially-Implements: blueprint multinode-gate
      e21c39b0
  28. Nov 06, 2015
    • Sam Yaple's avatar
      Add new gate for multinode · 4334c2ad
      Sam Yaple authored
      Change-Id: I3e05e2d5c739794ae6ff0cc375dc6226f81bb542
      Paritially-Implements: blueprint multinode-gate
      4334c2ad
  29. Nov 05, 2015
    • Sam Yaple's avatar
      Restrucutre gate scripts · 3d7a0c6f
      Sam Yaple authored
      So we can respect DRY and share as much code as possible I have broken
      out the common code between the aio and multinode gate scripts.
      
      Additionally, this lays the ground work for removing our policy on
      root-everywhere by using sudo. Once we get the non-root stuff worked
      out we can gate as non-root user.
      
      Change-Id: I781c597ab10f2296b95f51ae27e0fa617ffe0a66
      Partially-Implements: blueprint multinode-gate
      3d7a0c6f
  30. Oct 23, 2015
    • Sam Yaple's avatar
      Removed unneeded tox things · 931f5772
      Sam Yaple authored
      The upstream gate patches have merged and these can be safely removed.
      
      Change-Id: Icfad0ff161705239d75de2352bd61c5c9313e81c
      Partially-Implements: blueprint functional-testing-gate
      931f5772
  31. Oct 20, 2015
    • Sam Yaple's avatar
      In gate functional testing · f39bb2ee
      Sam Yaple authored
      This runs the ansible playbooks to completion.
      
      It does not validate that OpenStack is working yet, but it will ensure
      Ansible did not break.
      
      Additional gates will be needed for this and there is a patch in
      project-config to handle that.
      
      Change-Id: I7a24a704023cc8f19d42844636e9cb512060f693
      backport: liberty
      Partially-Implements: blueprint functional-testing-gate
      f39bb2ee
  32. Sep 03, 2015
    • Kai Qiang Wu(Kennan)'s avatar
      Add venv section in tox.ini · 3ed7b3c3
      Kai Qiang Wu(Kennan) authored
      As jenkins docs job use venv envrionment to work, we
      need add such section to make it work.
      
      Partially-Implements: blueprint kolla-tox-doc
      Change-Id: I716219515f2bf1375fd094b3aeca866cbcf5c7c6
      3ed7b3c3
  33. Aug 30, 2015
    • Steven Dake's avatar
      Remove cruft in tox.ini from docker_templates · 349a0853
      Steven Dake authored
      There is no longer a docker build system in the tree.  Remove
      the cruft that was missed in the original removal patches.
      
      Partially-Implements: blueprint gate-source-builds
      
      Change-Id: I4e6132502e8c0f812a0b3a767dd9c7f5c7b92fe3
      349a0853
  34. Aug 29, 2015
    • Steven Dake's avatar
      Remove deprecated --template option from gating · 730276aa
      Steven Dake authored
      The template option is deprecated and --template is now default.
      Also rename the tox jobs test calls since we won't have Docker
      build operations.
      
      Change-Id: I99df9c337680003e042e7e56a19d6cae2a59ed74
      Partially-Implements: blueprint gate-source-builds
      730276aa
  35. Aug 28, 2015
    • Sam Yaple's avatar
      Move docker_templates to docker dir · cbd42ca6
      Sam Yaple authored
      Updated build.py to reflect this change.
      Deprecate --template option and make it a noop.
      
      Change-Id: I7cd98d1ee684a4c64984a49597159868152683b2
      Partially-Implements: blueprint remove-docker-dir
      cbd42ca6
    • Steven Dake's avatar
      Remove docker directory · f895ee07
      Steven Dake authored
      Remove the docker directory (yay) and old build tools.
      
      This will result in an f21 failing gate - however, I have a patch
      submission to remove that gate from our project configuration.
      
      Change-Id: I3c461cedb6906422c8076f60c470e773d6cdcf33
      Partially-Implements: blueprint remove-docker-dir
      f895ee07
    • Steven Dake's avatar
      Start of removal of docker directory · 08e765fc
      Steven Dake authored
      Start off the removal of the docker directory by making the gate
      only run against docker templates.  The idea is we are going to
      from this patch set forward completely abandon the functioning of
      the docker directory and focus on making templates work properly.
      
      In order to facilitate that, this patch set makes sure each change
      gates properly for the changed service in the Templates build.
      
      Note because git review and gerrit can't keep history on removal
      followed by a git move operation, we first git rm the files affected
      then git mv them to get the gate working again.
      
      Every other patch in this patch set will fail the gate.  That is
      expected behavior.
      
      Change-Id: I1be2e2638aef4ada038bfe5f3dd563f040542df2
      08e765fc
Loading