-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Add more worker setup instructions
- Loading branch information
Showing
1 changed file
with
33 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,32 +64,54 @@ Create ``/etc/laniakea/spark.toml`` with the respective information for your dep | |
GpgKeyID = 'DEADBEEF<gpg_fingerprint>' | ||
3. Create RSA sign-only GnuPG key and Curve25519 key for worker | ||
--------------------------------------------------------------- | ||
3. Create RSA sign-only GnuPG key and Curve25519 key and register them | ||
---------------------------------------------------------------------- | ||
|
||
TODO | ||
Run ``lk-keytool`` to create a new certificate for the build server so it can | ||
communicate with the master server via a secure channel: | ||
|
||
4. Make Debspawn images | ||
----------------------- | ||
.. code-block:: bash | ||
TODO | ||
lk-keytool key-new \ | ||
--id=hydrogen \ | ||
--name='Hydrogen Worker' \ | ||
[email protected] \ | ||
--organization='Wayne Enterprises' \ | ||
./output-dir | ||
On the **master server** you then need to install the just generated public key | ||
to allow the Lighthouse instance running there to communicate with the worker: | ||
|
||
.. code-block:: bash | ||
5. Add GPG key and Curve key to master | ||
-------------------------------------- | ||
lk-keytool install-trusted-key hydrogen ./output-dir/hydrogen.key | ||
You will also need to create a PGP key for signing of generated packages/build-aertifacts: | ||
|
||
.. code-block:: bash | ||
gpg --export-secret-key -a [email protected] > myname_secret.gpg && \ | ||
gpg --armor --export "[email protected]" > myname.gpg && \ | ||
chmod go-rwx *secret.gpg | ||
You should then add this key on the master server as the upload key of a non-human upload user. | ||
|
||
4. Make Debspawn images | ||
----------------------- | ||
|
||
TODO | ||
|
||
6. Add Lighthouse server key to Spark | ||
5. Add Lighthouse server key to Spark | ||
------------------------------------- | ||
|
||
TODO | ||
|
||
7. Configure dput-ng | ||
6. Configure dput-ng | ||
-------------------- | ||
|
||
TODO | ||
|
||
8. Restart worker and test it | ||
7. Restart worker and test it | ||
----------------------------- | ||
|
||
TODO |