Commit Graph

7 Commits

Author SHA1 Message Date
ZhongShengping 15dbf87bbe Dissuade .gitignore references to personal tools
Developers run all sorts of different tools within Git repositories,
any of which can leave their own special trashfiles all over the
place. We can't every hope to catalog them all, so better to
recommend developers simply configure a global core.excludesfile to
filter the irrelevant files which tend to get created by their
personal choice of tools. Add a comment block explaining this, for
clarity, and remove the one current editor-specific entry present.

We can, and should of course, continue to list files created by the
tools recommended by our workflow (test frameworks, documentation
and packaging builds, et cetera).

This change is a port of Ib58a57267b064e4142686de6c37a70dbff04b9a7
from the openstack-dev/cookiecutter repository.

Change-Id: I03b1e3f0891994bc605b6e15a19c3adbbf614d8c
2018-10-08 11:39:24 +08:00
ZhongShengping 2420324f00 Update .gitignore
This patch[1] already explains why updating .gitignore

[1]https://review.openstack.org/#/c/466356/

Change-Id: I0499e8992c87484e94100ccc140ca7d7785ec8e9
Depends-On: Ifeaaa14c63158d0318218ca62ee41e98fc4c0b57
Co-Authored-By: Alex Schultz <aschultz@redhat.com>
2018-04-11 08:55:29 +08:00
Emilien Macchi 35ace1c6c6 Add basic structure for ReNo
ReNo [1] is the release management tool in OpenStack.
This patch adds the basic structure to start using it.

* Update .gitignore
* Add a basic note "use-reno"
* Add releasenotes/ dir and basic files
* Add python files: setup.cfg, setup.py, test-requirements.txt and
  tox.ini.

[1] http://docs.openstack.org/developer/reno

Change-Id: Ic52af526e8fefb2c03b84d2caebbba4a834f51f4
2016-03-14 23:18:52 +00:00
Emilien Macchi ee10d14987 Try to use zuul-cloner to prepare fixtures
In OpenStack Infra, we would like to run Puppet unit tests that
sometimes depends on other Puppet OpenStack modules.
Example: a patch in puppet-openstacklib that needs to be tested in puppet-nova.

This patch modifies the Rakefile to:
* clean spec_prep and spec_clean Rake tasks
* use openstack/puppet-openstack-integration/install_modules_unit.sh script
  to clone modules.
* do not use .fixtures.yaml file to clone modules and rely on
  zuul-cloner or git.
* Add openstack/ in gitignore so we never commit the
  puppet-openstack-integration repository (can happen when spec_clean
  did not run but you want to submit the patch anyway)
* Allow to run a custom Puppetfile if PUPPETFILE env is exported. It
  will allow people to test the module with the dependencies they like,
  feature we had with .fixtures.yaml.

Also add 'r10k' to Gemfile.

That way, we will be able to use zuul dependencies and run tests accross
modules like we do with functional testing.

Change-Id: I555bdeba198b1b468884ffce3702f5b06247d573
2015-10-08 15:08:52 -07:00
Cody Herriges e0b04137d9 Sync up module with latest msync commit.
Msync commit to push all our managed modules to the default set of
  configs.  Being done for two reason: to address a helper library
  loading issue that is addressed in
  d4278834d5
  and to make all module contents consistent.

Change-Id: I747e589369a7ce187dc11c981f5d327af0cf73f5
2015-06-16 08:40:37 -07:00
Lars Kellogg-Stedman f9b3d184a0 Neutron Nova Interactions Support
Recent versions of Neutron are able to provide active notifications to
Nova about changes to port status and data.  This change adds the
neutron::server::notifications class to allow Puppet to configure this
feature when setting up a Neutron server.

neutron.conf requires a tenant UUID for communicating with Nova.  This
changes adds adds a custom type and provider to translate an admin
tenant name to the required UUID.

Co-Authored-By: emilienm <emilien.macchi@enovance.com>
Change-Id: I57af7cb47a12adabed9b1ee65e1c352b3e5fc2de
Closes-bug: 1306694
2014-04-22 09:57:21 -04:00
Dan Bode 91478f30a7 Add basic gitignore file
to ensure that it ignores files setup when unit tests are run.

Change-Id: I5796e0709bb6b271536837b889daee45543c880c
2013-05-20 17:54:04 -07:00