Skip to content
Snippets Groups Projects
  1. Jun 24, 2018
  2. Jun 12, 2018
    • qingszhao's avatar
      fix tox python3 overrides · 9bc12e66
      qingszhao authored
      We want to default to running all tox environments under python 3, so
      set the basepython value in each environment.
      
      We do not want to specify a minor version number, because we do not
      want to have to update the file every time we upgrade python.
      
      We do not want to set the override once in testenv, because that
      breaks the more specific versions used in default environments like
      py35 and py36.
      
      Change-Id: Ie0eca8c8627ab67c7c4aeccdc8607e36a259f13c
      9bc12e66
  3. May 21, 2018
  4. Mar 26, 2018
    • Eduardo Gonzalez's avatar
      Verify YAML syntax in gates · ea1a1dee
      Eduardo Gonzalez authored
      This patchset implements yamllint test to all *.yml
      files.
      
      Also fixes syntax errors to make jobs to pass.
      
      Change-Id: I3186adf9835b4d0cada272d156b17d1bc9c2b799
      ea1a1dee
  5. Mar 22, 2018
  6. Jul 13, 2017
    • Eduardo Gonzalez's avatar
      Remove doc build errors · 66b91d8b
      Eduardo Gonzalez authored
      Gates only build deploy-guide docs, not every doc.
      This change clean doc errors, only Line to long.
      
      Also, removes doc/build folder in tox doc environment.
      doc/build is folder where previus executions are stored
      causing next execution to fail due rendered versions does
      not follow doc style checks.
      
      Change-Id: I623a7ee245729a06509f3a7039d5d5ed3813d977
      66b91d8b
  7. Jul 10, 2017
    • Eduardo Gonzalez's avatar
      Fix bandit tests directory · eeb932c7
      Eduardo Gonzalez authored
      - Bandit tests are executed in kolla directory,
        in kolla ansible this directory is kolla_ansible.
      
      - Error is silently ignored:
        Files skipped (1):
        	kolla (No such file or directory)
      
      - Also, in ansible/ there is python code in more places
        than only ansible/library, remove library to pass test
        over the whole ansible directory
      
      - Debug tests fails due cannot import tests.
        ImportError: Start directory is not importable: './kolla-ansible/tests'
      
      Change-Id: I0716034c382209b385105bb3a6e0bb7334076e45
      eeb932c7
  8. Feb 08, 2017
    • Cao Xuan Hoang's avatar
      Remove support for py34 · 9738f00e
      Cao Xuan Hoang authored
      The gating on python 3.4 is restricted to <= Mitaka. This is due to
      the change from Ubuntu Trusty to Xenial, where only python3.5 is
      available. There is no need to continue to keep these settings.
      
      Change-Id: I7762918aa4d78028d1ceb2cc727c3c7dedd05a00
      9738f00e
  9. Jan 27, 2017
  10. Jan 16, 2017
  11. Jan 04, 2017
  12. Dec 21, 2016
    • Tony Breeds's avatar
      Add Constraints support · 84a493c6
      Tony Breeds authored
      To be co-installable with other OpenStack projects and have consistent
      testing it's a good idea (tm) to use constraints when creating tox
      environments.
      
      Change-Id: I83d684d90309ad6109e7f6c21a9c2cad4a5371e2
      84a493c6
  13. Nov 30, 2016
    • Jeffrey Zhang's avatar
      clean up kolla related files · 92ff63f3
      Jeffrey Zhang authored
      * rename package name from kolla to kolla-ansible
      * remove docker for data_files
      * remove kolla docker
      * remove kolla-build console_scripts
      
      Change-Id: I53abbf79dffb54eb785a39ba04d375bc4e4f27b0
      92ff63f3
  14. Nov 21, 2016
    • Jeffrey Zhang's avatar
      fix ci gate · db5954e0
      Jeffrey Zhang authored
      * Build kolla image by using kolla project's code
      * bump openstack_release to 4.0.0
      * Remove tox deploy related env, it is useless now.
      
      Depends-On: I132ee005bce993cbadf411697817c2e95548dc81
      Change-Id: Id899eb39d476b95130fbeb43adf4fd49ef32be32
      db5954e0
  15. Nov 18, 2016
  16. Nov 04, 2016
    • Jeffrey Zhang's avatar
      Add file validator for *.json.j2 file · 2392d7e3
      Jeffrey Zhang authored
      All json file in Kolla are json.j2 file, it shold be render as jinja
      template, then validate by using json.
      
      Change-Id: Ibabbe435116fd255d68347e00407156db76fedfe
      Closes-Bug: #1634447
      2392d7e3
  17. Oct 19, 2016
  18. Sep 21, 2016
  19. Sep 20, 2016
  20. 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
  21. 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
  22. 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
  23. May 26, 2016
  24. 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
  25. 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
  26. Mar 23, 2016
  27. Mar 08, 2016
  28. Mar 03, 2016
  29. Mar 01, 2016
  30. Feb 26, 2016
  31. Feb 11, 2016
  32. Jan 25, 2016
  33. 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
  34. Jan 15, 2016
  35. 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
  36. Jan 13, 2016
Loading