Skip to content

Commit 5879167

Browse files
committed
feat(tf): add public IDs of Packit tokens
Signed-off-by: Matej Focko <mfocko@redhat.com>
1 parent b6eed41 commit 5879167

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

docs/configuration/upstream/tests.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,42 @@ execute:
511511

512512
Packit Service communicates with Testing Farm via its [API][testing-farm-api].
513513

514+
### Public IDs of Packit tokens
515+
516+
:::caution
517+
518+
This feature has not been tested and verified by Packit Team yet.
519+
520+
:::
521+
522+
For the encryption of secrets to be used by Packit-triggered tests, you need to
523+
encrypt the secrets with our public token ID and the git repo from which tests
524+
are going to be triggered. Below is an enumeration of our public IDs:
525+
526+
- Public ranch: `0cfc00a8-94d7-4408-babc-4d0bc43821ea`
527+
- RH-internal ranch
528+
- Packit Production: `ea2a89aa-6a78-40e0-906e-140f623c45b0`
529+
- Packit Stage: `c91ea8cc-d8f6-4b83-a80c-fefd45ff25e4`
530+
531+
:::tip
532+
533+
In case of any discrepancies, you should still be able to see the public ID and
534+
the git repo passed by Packit by triggering the TF run via Packit, and opening
535+
the original API request by Packit from the TF artifacts page.
536+
537+
:::
538+
539+
For the details on how to configure the secrets, please see the Testing Farm
540+
[documentation](https://docs.testing-farm.io/Testing%20Farm/0.1/test-request.html#secrets-in-repo-config).
541+
542+
:::warning
543+
544+
If you wish to utilize secrets in tests when submitting pull requests from
545+
forks, you need to encrypt the secrets for each of the forks that will trigger
546+
the tests.
547+
548+
:::
549+
514550
## Issues & RFEs
515551

516552
If you have found an issue or have an RFE, you can file an [issue in nucleus project][issues].

0 commit comments

Comments
 (0)