Commit Graph

14 Commits

Author SHA1 Message Date
Monty Taylor 8895d64289 Fix up ssh key usage
We need for the keys to only have the key content. Also, we've learned
that the ssh_authorized_key title is important.

Change-Id: Ie772572e041ea6c1587dddb02937b89541a37e1b
2014-04-25 12:35:25 -07:00
Clark Boylan 1f3adca0ce Remove old jenkins pubkey.
Switch to using only the new jenkins public ssh key. This should only be
merged after all jenkins nodes are using the new private key.

Change-Id: I22aac18c71d63726070e45f2439b03f32f5c4960
2014-04-15 13:13:07 -07:00
Clark Boylan 498925e178 Add second jenkins ssh key.
This second jenkins ssh key will be used once this change is applied to
all slaves and slave images. Then we can remove the old key.

Change-Id: I6579560aaff782b78ba06dfc134e5ec6f9848aff
2014-04-10 13:40:54 -07:00
Clark Boylan 7a3cb1c24b Update jenkins-dev ssh public key.
Swapping out jenkins-dev ssh credentials requires updating the public
key stored in puppet. Make it so.

Change-Id: Iffae50489d2db8f5646f543bd3789c1750218cc5
2014-04-10 13:38:42 -07:00
James E. Blair 00d9391958 Add jenkins dev slaves.
Allow them to use an ssh key distinct from production.
Clean up unused slave classes.
Use dedicated keys on dev slaves (do this in prod in the future, but it's a
breaking change).
Add a dev_slave_template class for devstack-gate to use.
Remove devstack-gate deps from jenkins master (they're on devstack-launch
now).
Clean up unneeded remove statements for glance creds.
Tidy up some permissions on files where they weren't specified before.

Change-Id: I02cef1ee3951c5780084118073770521bebb9eda
Reviewed-on: https://review.openstack.org/29319
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
2013-05-20 17:34:27 +00:00
Jeremy Stanley 361ebab728 New SSH key for jenkins user.
* modules/openstack_project/manifests/init.pp(jenkins_ssh_key):
Generated new keys to replace the previous set.

Change-Id: I0d3181265ea0103babd4e7c02a5543936227cfdf
Reviewed-on: https://review.openstack.org/19143
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: James E. Blair <corvus@inaugust.com>
2013-01-07 21:15:04 +00:00
Matthew Wagoner f31a426c65 Cleanup openstack_project manifest lint errors.
Now with extra unwrap!

Change-Id: I7c622ffa77821f33f911793fc6b6cdaaba37904a
Reviewed-on: https://review.openstack.org/15052
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
2012-11-21 17:48:11 +00:00
Clark Boylan 94a7768dc3 Pass sysadmins list into node defs.
Pass the sysadmins list into each node definition. This allows us to
retrieve the data from hiera rather than hard coding it in the puppet
manifests. Also, update test script to use bogus sysadmin data when
testing.

Change-Id: Ide3560f16bce4d66fb95cc5021fc879476e6a712
Reviewed-on: https://review.openstack.org/12512
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2012-09-10 15:58:27 +00:00
James E. Blair 3fc347a536 Make jenkinsuser a class.
And invoke it correctly on static.o.o.

Change-Id: Ic4699828500f4acf4af60248ba87200c0e703fc6
Reviewed-on: https://review.openstack.org/11496
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2012-08-16 22:27:09 +00:00
Monty Taylor 383c023b15 Add support for initial project creation.
If replicate_local is set, this will ensure that /var/lib/git is created,
and that projects listed in the projects.config have repos there.

Additionally, it creates a new config file, projects.config which is a
yaml file listing all of the projects and various operational semantics about
them, such as whether or not they should have pull requests closed and whether
or not they track any remotes. This replaces remotes.config and github.config.

Moving forward, there is no reason to not have this script be able to
do github api calls to create the github repo if it's not there, set the
github project description, gerrit api calls to create the project in gerrit,
and initial project permissions templates.

Change-Id: I1ad803b0aa5f7386206d0c3f4cd858017242fe64
2012-08-02 15:49:02 +00:00
Monty Taylor b2bbd47eef Include openstack_project class to access members.
Change-Id: I4d04bd6cc248ff6b724a42fe872afadc080bb126
2012-07-23 19:22:19 -05:00
Monty Taylor abd563b5e1 Control admin lists from hiera.
Change-Id: I9677484fa6a05353809a104c0756800ce56371fc
2012-07-23 17:38:22 -05:00
Monty Taylor e498870959 Make a class for each type of server.
Change-Id: I520b77a4d83958a6a1c2472e87b28f6b8822d890
2012-07-23 10:33:20 -05:00
Monty Taylor 3776f952dc Move OpenStack classes to openstack_project module
Change-Id: Iafcd2e06c5b62e4cde5eccaab3173a20bb08a78d
2012-07-23 10:31:58 -05:00