Change Cirrus CI config to use org-level secured variable

This commit is contained in:
Jon Siwek 2020-06-04 10:54:06 -07:00
parent b4aa5d9456
commit 88654fa989
2 changed files with 5 additions and 5 deletions

View file

@ -19,10 +19,10 @@ purpose SSH key with read-only permissions. Here's how it can be set up:
2. Add contents of ``cirrus-key.pub`` as a new key on GitHub:
https://github.com/zeek/zeek-testing-private/settings/keys
3. Generate a new Cirrus CI secured variable in the repository settings at
https://cirrus-ci.com/github/zeek/zeek. The value of the secured variable
is the base64-encoded private key, and can be obtained from the output of
the command: ``base64 cirrus-key``.
3. Generate a new Orgnaization-Level Secured Variable in Cirrus CI settings at
https://cirrus-ci.com/settings/github/zeek. The value of the secured
variable is the base64-encoded private key, and can be obtained from the
output of the command: ``base64 cirrus-key``.
4. Take the ``ENCRYPTED[...]``` string generated by Cirrus and use that as the
value of ``ZEEK_TESTING_PRIVATE_SSH_KEY`` in ``.cirrus.yml``