3 Commits

Author SHA1 Message Date
Emilien Macchi
673a839e33 generate_puppetfile: add missing $DIR
Complete a script to generate a clean Puppetfile, by adding a missing
$DIR so we generate Puppetfile with all modules.

Change-Id: I0d760e155f8b45aaab579323da5446a143e4f249
2016-05-16 09:05:18 +02:00
Emilien Macchi
8e4a940b93 Fix generate_puppetfile.sh script
The script was generating a puppetfile in the workspace, and not in the
puppet-openstcak-integration, so git didn't find any diff after the
script run.
This patch aims to generate the Puppetfile in the right directory.

Change-Id: Iaac200fa5a520f79e102171a2a1b02ca2b3c3801
2016-05-13 15:25:04 +02:00
Emilien Macchi
697a5df0a1 Implement periodic job to update Puppet OpenStack constraints
In Puppet OpenStack CI, we use r10k to clone Puppet OpenStack modules
and all their dependencies from different places.
The Puppetfile is useful for both unit and functional tests, so we have
a consistency in what we test.

Until now, we were managing this Puppetfile without automation.
From time to time, we were updating the file but it does not scale,
regarding the work that needs to be done and the amount of dependencies
that never stop to grow up.

We recently implemented a script that is called
generate_puppetfile.sh (see dependency). This script aims to generate a
Puppetfile by cloning OpenStack & External modules.
The script will fetch tags and take the most recent one.
The script works as it is now, please look:
https://review.openstack.org/300696
And the Puppetfile that is generated.

This patch is an attempt to automate the run of this script, by using
the periodic job that is already in place for many other projects.

More features will come in next iterations:
* support stable branches
* add more logic in the script to detect whether or not tags exist (all
  our current modules have tags, but we never know...)

Change-Id: Id23ba86487d2223861b21941fa04acac0d49e3f3
2016-05-03 16:31:16 -04:00