Skip to content

Commit

Permalink
docs: Add more worker setup instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
ximion committed Feb 25, 2024
1 parent 3553d16 commit f622aed
Showing 1 changed file with 33 additions and 11 deletions.
44 changes: 33 additions & 11 deletions docs/general/worker-setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f622aed

Please sign in to comment.