13 Commits

Author SHA1 Message Date
OpenDev Sysadmins
cae8e2bafd OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:29:57 +00:00
Andreas Jaeger
842f241618 Consolidate legacy scripts
Create new role legacy-copy-jenkins-scripts to populate
/usr/local/jenkins/slave_scripts.

Move existing scripts from playbooks/legacy to the files directory of
the new role.

Use the new role instead of a task.

Change-Id: I2dcfdf46f0d953afa8100557488a393962dba9bb
2018-02-09 08:04:38 +01:00
Andreas Jaeger
ecc577eb0e Install install-distro-packages.sh only for legacy jobs
Move install-distro-packages.sh from project-config to here so that we
can install it with legacy jobs only.
Add it to legacy/pre.yaml script.

Change-Id: I607baac9308abf7149b71419b9bb4c3c162677bf
2018-02-07 17:26:12 +01:00
Andreas Jaeger
b636324a80 Remove now obsolete jenkins-sudo-grep lines
The run-tox script uses now zuul-sudo-grep, these lines are not needed
anymore. Remove them.

Depends-On: https://review.openstack.org/538342
Change-Id: I90cbd6af8c24b25e89db719be378e2641d4e5d15
2018-01-26 22:38:06 +01:00
Paul Belanger
284fc6ded6
Move fetch-zuul-cloner into legacy-base jobs
Old legacy jobs depend on zuul-cloner, so move the role out of our
base job into it. This will discourage non legacy jobs from using
zuul-cloner.

Change-Id: Ia09a4acc9c09535bf287208c77257bd3dca7a2bf
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-10-18 11:19:25 -04:00
Jens Harbott
1c2746a9b9 Create sub_nodes file before trying to modify it
Otherwise we are seeing errors on multinode jobs.

Change-Id: I8e7240f28e1aa991c637b8aee421a2f5b4eba9e9
2017-10-09 11:42:59 +00:00
Monty Taylor
df56ea4ea3
Add sub_nodes and node_private files in /etc/nodepool
TripleO-CI uses these for things.

Change-Id: Id2fd8d0a0aeedfaedf84004dbab61e9988163fa7
2017-10-06 16:56:03 -05:00
Monty Taylor
2aff9bc324
Print environment in pre playbook of legacy-base job
We construct an environment for legacy purposes. Let's print it for help
debugging things.

Change-Id: I042e481ebe541d7cbc69a29d4e38b3779d48a936
2017-10-02 16:38:47 -05:00
Monty Taylor
44142f4ed3
Fix name of zuul sudo script task
Change-Id: I6f91c52e2458d58c8521789d0d4818728a48713a
2017-09-28 19:06:16 -05:00
Monty Taylor
b6bf78f6e3 Swap order of sudoers manipulation
Also use a command task to run visudo -c rather than validate as
validate requires %s in the command string (and we don't need or want
it).

Change-Id: I9876af744ecf4995f857b6c7701e7de59b17fa98
2017-09-28 16:46:50 -07:00
Monty Taylor
1e598d9c5f Zuul versions of sudo grep checks
Old legacy jobs will continue to want tocheck that the test user isn't
using sudo if sudo has been disabled. Add a zuul version of the checker
script and update the sudo rules to allow the zuul user to run it

Change-Id: I3f941fb57e4574dcca04442b97a70e6acbc395e9
Co-Authored-By: Clark Boylan <clark.boylan@gmail.com>
2017-09-28 15:12:59 -07:00
Monty Taylor
19f9a4e135
Don't write out nodepool primary file on non-primary node
Change-Id: Ie866ba83c62a6fd45de6a783eecda217e90fd49e
2017-09-26 15:21:50 -05:00
Monty Taylor
8e762f9656
Add legacy-base job to handle /etc/nodepool
Change-Id: I0c1bbdc84e888e16dfb151f720dd178030360dec
2017-09-22 11:04:23 -05:00