project-config/nodepool/elements/zuul-worker
Andreas Jaeger ec333103e1 Always add zuul group to zuul user
Not all distros - like openSUSE - create a separate group for each user.
Be explicit when creating zuul user like in
nodepool/elements/jenkins-slave/install.d/20-jenkins-slave.

Code later assumes that user and group are both named zuul, so we need
to set the specific zuul group.

Also, set /bin/bash as root shell following a similar change for
jenkins done in Ic671b7c5344a1e7980bede88bee730b50764e60b to keep these
two invocations in sync.

Change-Id: Iec8de3c0799aa023ace8f172f84bf8a137d0967b
2017-04-28 10:14:59 +02:00
..
extra-data.d Don't use devuser for zuul-worker 2016-06-27 11:01:47 +10:00
install.d Always add zuul group to zuul user 2017-04-28 10:14:59 +02:00
element-deps Don't use devuser for zuul-worker 2016-06-27 11:01:47 +10:00
package-installs.yaml Initial commit of zuul-worker DIB element 2016-05-14 12:28:41 -04:00
pkg-map Update nodepool elements for openSUSE Leap 42.2 2017-02-28 10:54:53 +01:00
README.rst Don't use devuser for zuul-worker 2016-06-27 11:01:47 +10:00

zuul-worker

Setup a node to be a zuul worker

User Creation

This element bakes in a zuul user on the host for the zuul-worker process to log in with.

By default login permissions (authorized_keys) will be populated for the zuul user from ~/.ssh/id_rsa.pub -- i.e. the public key of the currently building user. Specify an alternative filename in ZUUL_USER_SSH_PUBLIC_KEY to override this.

The zuul user is provided with passwordless sudo access.