Commit Graph

10 Commits

Author SHA1 Message Date
ZhongShengping c948359a1b 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: I8f6f7375b1adf7b6aeb056db35caff21d7558d01
2018-10-08 11:39:24 +08:00
ZhongShengping de797dd84b Update .gitignore
This patch[1] already explains why updating .gitignore

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

Change-Id: Iadcc353fd062372eb791f4d56a0bf68fb039731a
Depends-On: Ifeaaa14c63158d0318218ca62ee41e98fc4c0b57
Co-Authored-By: Alex Schultz <aschultz@redhat.com>
2018-04-11 08:57:08 +08:00
Alex Schultz 5fb6cce510 Update tox configuration
Update the tox configuration to pull in the openstack
upper-constraints.txt when running releasenotes. This will
fix the releasenotes job that is currently failing due to
a new version of sphinx. Additionally this change includes
updates from puppet-modulesync-configs.

Change-Id: Ie3b7eb23ceb1e24e4a9d34182338145744578fea
2017-05-17 08:26:32 -06:00
Martin André f3a544cf4f Add log directory to .gitignore
The log directory gets created when running specs locally. Let's ignore
it.

Change-Id: I9a2a25222b306cf79d140cbaa477936cd99d94ae
2016-08-12 10:29:55 +02:00
Emilien Macchi bebd4cc8ea 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: I387fcdab171d954f8f2d2d8b5c609c2a3564bb9d
2016-01-26 14:30:35 -05:00
Emilien Macchi 7c9e10b9da 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: I11607fcb400fab9b6096ca8af191c2f2f4b6eca9
2015-10-08 15:01:39 -07:00
Cody Herriges d2637ed73d Initial msync run for all Puppet OpenStack modules
This patch is the initial modulesync run, it impacts:

* gitignore: just a sync between projects
* gemfile:
  - update and allow to setup facter version and gem source
  - split beaker gems with a dedicated group
  - switch to rspec-puppet 2.2.0
* rakefile:
  - use the new syntax for lint configuration
  - add a acceptance target
* acceptance:
  - sync nodesets
* spec: added rspec coverage report

Change-Id: Ibfd9b9bc31620a46cb3c7e438f023cab1cfcd31f
2015-08-06 20:47:48 +02:00
Sebastien Badia f31f9bd8ce Update gitignore file
Change-Id: I3834c086cda5a9701e9ce29734c4cdcd4d58c5d5
2013-12-23 19:09:49 +01:00
Dan Bode b000a2f1e8 added pkg to .gitignore
to prevent me from accidentally
checking in module releases.
2012-11-02 12:28:28 -07:00
Dan Bode 360b49b0fc add gitignore
to ignore spec/fixtures/
2012-10-23 15:32:41 -07:00