You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/deployment/secrets.md
+43Lines changed: 43 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -130,3 +130,46 @@ In both cases you have to do some tweaks before using them:
130
130
-`id_ed25519[.pub]`: replace with your ssh keys
131
131
132
132
Not all services use all of them. For example `copr` is needed only by `packit` service.
133
+
134
+
## Encrypting Secrets for OpenShift Tests in Testing Farm
135
+
136
+
### Prerequisites
137
+
138
+
To run OpenShift tests triggered by Packit successfully, you need to encrypt the CRC Pull Secret **against your fork**.
139
+
140
+
> **Important:** The encryption has a 448 character limit per secret. If your pull secret exceeds this limit, split it into multiple smaller chunks.
141
+
142
+
### Obtaining Required Information
143
+
144
+
1.**CRC Pull Secret**: Access the pull secret from "Bitwarden → RH Portal account for Image Builder and OpenShift Local → Red Hat OpenShift Local Pull Secret"
145
+
146
+
2.**Token ID**: Use the public Packit testing farm token for the Public Ranch:
147
+
`0cfc00a8-94d7-4408-babc-4d0bc43821ea`
148
+
149
+
### Encryption Process
150
+
151
+
For each part of your split secret, follow these steps:
152
+
153
+
1. Encrypt the secret part using the testing-farm CLI tool:
0 commit comments