Commit Graph

9 Commits

Author SHA1 Message Date
ZhongShengping 87c604bd69 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: I2a874e38d6d6f400d2eef03b02f7759affec7a2e
2018-10-08 11:39:23 +08:00
ZhongShengping bd2c7d08e9 Update .gitignore
This patch[1] already explains why updating .gitignore

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

Change-Id: I9970993ce6fd534ca6ac26021e13cf7b88260637
Depends-On: Ifeaaa14c63158d0318218ca62ee41e98fc4c0b57
Co-Authored-By: Alex Schultz <aschultz@redhat.com>
2018-04-11 08:55:12 +08:00
Emilien Macchi a73cde65e4 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: I54db6a4ee5073e0f8e9d00091d10cffebb359fd0
2016-03-14 08:23:49 -04:00
Emilien Macchi e9a95581dd 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: Iadcef8079efb8c94282c5cdefb91bfa3920f3919
2015-10-09 17:53:16 +02:00
Cody Herriges 8a2dc3c2f2 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: Idd56a02fda7d7d84cf1a3711e6c233c3d9e2d053
2015-08-06 20:42:33 +02:00
Gael Chamoulaud 7e5cd1d265 Add puppet-lint-param-docs plugins to puppet-lint
- This puppet-lint plugin checks if all parameters are documented\
- Fix some unaligned arrows
- Remove trailing whitespace!
- Add missing doc
- https://github.com/domcleal/puppet-lint-param-docs

Change-Id: I8f089eceb3ce3532d763807e5e412d1cc1d07b6b
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2014-12-02 09:32:19 +01:00
Cody Herriges 718873949a Puppet Forge release 2.0.0
Marks the commit that the branch stable/grizzly and the 2.0.0 tag is
  cut from.  Also adds the pkg directory to .gitignore to prevent
  accidental committing of Forge artifacts to the repository.

Change-Id: I2777c3423ba40d3eacb063cba8e4eecd7e4ace04
2013-06-24 21:01:59 -07:00
danehans 28e15793a8 Add Gemfile.lock to .gitignore
Change-Id: I1fff261b931a7fd3a9a0c0ca783fa4431edcee34
2013-06-21 18:36:29 +00:00
Dan Bode 8f57c59b67 add travisci support
Adds all of the files required for travis to work.
2012-10-29 12:58:32 -07:00