Commit Graph

24 Commits

Author SHA1 Message Date
Radosław Piliszek 8500eaee2a CI: Ignore more
This aligns Kolla with Kolla Ansible.

Change-Id: I02ee643d0f46e6ff1ed376362b4ee35ddadf7960
2020-05-23 09:20:35 +00:00
Vu Cong Tuan 92d35e9e8c Switch to stestr
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
Let's switch to stestr as other projects have already moved to it.

[1] https://etherpad.openstack.org/p/YVR-python-pti

Change-Id: I27308a2435a4dca572d736f56a02b0bbc8563981
2019-02-24 20:23:49 +01:00
Eduardo Gonzalez cc7aabc12e Add bandit check to all python code
Bandit was not running in all directories
due missing -r parameter.

Also, this change fix bandit errors.
* Add nosec to subprocess module
* Change /tmp/releases to .releases
* Change /tmp/ to tmp/, tmp/ is not checked
  and in unittest is not an issue, simpler that mocking tempfile
  and make more complex tests.

Change-Id: I42bafa4707a9a4d1faeb01cb9b5a843f56280deb
2017-07-06 15:54:58 +02:00
Juan J. Martinez 4af4b1ec6f Remove dead code related to the Vagrant dev environment
The Vagrant dev environment is now in kolla-ansible so this code
is not needed any more in kolla repo.

Change-Id: I066f75057f03009810d2bb00ed09e832d328b52c
Depends-On: I6b56822d50472f8eda6fc60f69196d3c9b8b6cf8
Related-Bug: 1693847
2017-06-02 11:19:46 +01:00
Surya Prakash Singh 7700c6ca53 Cover environment for kolla
Enabled the cover environment for kolla in tox
Closes-bug: #1650269

Change-Id: I732058b07d951227e7011f6f1a3d84fed594cfa7
2017-01-11 15:46:36 +05:30
caowei 28b5df77b6 Add .project and .pydevproject to .gitignore
Eclipse generates these.

Change-Id: I4b27b64645855d408746a907dbb36f94f76900c6
2017-01-07 12:19:44 +08:00
Jeffrey Zhang 3b1b6abf5b Fix the prechecks for the ansible version
Change-Id: I7005a7ce15fa91df2c1e54569a80d7085e99e24e
Partial-Implements: blueprint ansible2
2016-06-09 07:04:13 +08:00
Michal (inc0) Jastrzebski fca876cdd1 Add .vimrc to .gitignore
If somebody wants kolla-specific vimrc..

TrivialFix

Change-Id: I1c7b6f5ab841b9b292e2401b83c4ab1e038076c5
2016-06-02 15:51:33 +00:00
Jeffrey Zhang 491822c510 Bump the ansible to 2
DocImpact

Change-Id: I3cdfbf84919de80f535c030bd146787ecda40dec
partial-Implements: blueprint ansible2
2016-05-24 19:53:31 +08:00
Steven Dake 801ef2e843 Add reno support
For proper release note generation on the releases.openstack.org
website, this change will need to be backported into mitaka and
liberty as well.  Then a special one-file reno file will have to
be added for mitaka describing the features and the same story
for liberty.

See log of the discussion here:
http://eavesdrop.openstack.org/irclogs/%23openstack-release/%23openstack-release.2016-03-23.log.html#t2016-03-23T18:00:05

Change-Id: I3c298ae08ec4645f384ea5829cb0851fe82f4557
Partially-Implements: blueprint add-reno
2016-03-23 11:59:35 -07:00
Dean Daskalantonakis 1b29424225 Added *.DS_Store To .gitignore
Change-Id: Ic96cc0f97dd5d35c84cf80d7a60b29e3a9ad0dc4
2016-02-24 15:36:51 -05:00
SamYaple b863a46805 Standardize bashate and add linters
The linters gate combindes pep8 and bashate (and then any other
linters we want). This changes bashate to be a sript rather than doing
a script inline. This matches the way other projects (and
project-config themselves) uses bashate [1].

Once a change upstream merges we can remove the redundant pep8 and
bashate gates.

[1] https://github.com/openstack-infra/project-config/blob/master/tox.ini#L11
https://github.com/openstack-infra/project-config/blob/master/tools/run-bashate.sh

Related-Id: I2afa7931bf3e18798b95a8af33ccf5ef761c4ad5

TrivialFix

Change-Id: I2ea2c1156e1b4de008f19e333e2740795dc406de
2016-01-13 17:33:28 +00:00
Jeffrey Zhang 781eefeccf Remove the kolla-build.conf
use tox -e genconfig to generate this file

DocImpact

Closes-Bug: #1531202
Change-Id: I3a6e57c3cc48aeb3a45a055b173207ea6e214960
2016-01-07 21:06:22 +08:00
Jeffrey Zhang 620d610eaa Generate the kolla-build.conf file using oslo_config
Closes-Bug: #1530122
Change-Id: I96039eade2aacf1bcd9d14d958cdddd915fc9a5c
2016-01-06 08:11:06 +08:00
Martin André 5eb67e275e Allow to customize vagrant deployment
Extract the Vagrantfile configuration to a Vagrantfile.custom file, to
permit easy customization of the Vagrant deployment without the need to
modify a file under version control.

Closes-Bug: #1517475
Change-Id: I03e3ef373ec47e3d622b77fa9cf88748db99adaa
2015-11-18 22:39:34 +09:00
Diogo Monteiro 558627b1ce Added Ubuntu support for Vagrant
Added support for Vagrant VirtualBox provider to
provision an Ubuntu VM to run kolla. A new
bootstrap-ubuntu.sh script has been created which
provisions the Ubuntu VM with all kolla depdencies
including docker 1.8.2, ansible 1.9.6 and python-tools
Also created vars in the Vagrantfile to define the cpu and memory settings of the
VM nodes used to run kolla

DocImpact

Change-Id: I4609d7f577e948b04663901afd0c5d1d154c8ac4
Implements: blueprint vagrant-ubuntu-support
2015-11-11 11:26:39 -05:00
Michal Rostecki d7a9939171 Update Vagrant directories in .gitignore
Vagrantfile and all related stuff moved to dev/ directory.
Then .gitignore should be updated with this change.

Change-Id: I15decd9d7ac21effe1485aead493da33002383ec
Closes-Bug: #1505079
2015-10-12 07:46:15 +02:00
Paul Bourke 24639c58fa Add .vagrant dir to .gitignore
Closes-Bug: #1498451

Change-Id: Iba0d038eaee68485ec18af0d50836799db8fc90d
2015-09-22 14:24:21 +01:00
Martin André 349a8d7a26 Add vagrant-generated files to gitignore
Partially-Implements: blueprint vagrant-improvements
Change-Id: I30cd0fbf3408a3fc8f255335430487c829895a12
2015-09-15 16:29:47 +09:00
Kuo-tung Kao 800e69e8fe Add AUTHORS, ChangeLog, doc/build/ to gitignore
These file should be ignored because they are generated by the command, "tox -e docs"

AUTHORS
ChangeLog
doc/build/

Change-Id: I5b9e2adc851800f0391d236d266c33606fc160df
Closes-Bug: 1493670
2015-09-09 14:04:57 +08:00
Kuo-tung Kao bbcf3ebb21 update gitignore for python and .testrepository
ignore python byte-compiled files
and ignore the folder, '.testrepository', generated from tox command.

Change-Id: Ic0208ea2e7e1c046a3a730cbd83f676ce44ed2ae
Closes-Bug: #1491267
2015-09-02 15:40:34 +08:00
Martin André 888bb9cc8c Move genenv.sh and start.sh to tools directory
Rename them `genenv` and `start`.
Have `genenv` create the openrc file in the top-level directory.

Add openrc and compose/openstack.env to gitignore, as well as *.img.

Change-Id: I5d8006e97efd77cf364215f55d5e585139ae273e
2015-03-20 10:31:02 +09:00
Daneyon Hansen fd6d4376b9 Implements: Blueprint update-image-build-script
Previously, the image used for Kolla development
needed to be manually created. This patch adds a
script to automate a consistent, repeatable process
for creating an F21 image used for Kolla development.

Change-Id: Ibbe41ac6c6f1d2f2bdd62a48b05c096967c8324e
2015-02-16 17:39:02 +00:00
Martin André 363eb0939e Add gitignore file
The initial gitignore includes build-docker-image script's private
configuration file, tox generated files and common temp files created by
vim and emacs.

Change-Id: I514953471646904b541321d1d878d40a2c8f8b26
2014-12-17 12:52:35 +09:00