-
Notifications
You must be signed in to change notification settings - Fork 14
Configuring Test Repository
Endi S. Dewata edited this page Jul 29, 2021
·
1 revision
By default the CI will perform the tests using @pki/master repository. Sometimes it’s necessary to perform the tests using a different repository (e.g. to test dependency changes). This can be done by creating a GitHub secret called BASE64_REPO
to store the base64-encoded value of the test repository name. To reset the test repository simply remove the secret.
For example, to test using edewata/pki repository:
$ echo "edewata/pki" | base64 ZWRld2F0YS9wa2kK
Then create the secret:
-
Go to Settings → Secrets.
-
Click New repository secret.
-
Enter
BASE64_REPO
as the secret name. -
Enter the base64-encoded value as the secret value.
-
Click Add secret
To reset the test repository, remove the secret:
-
Go to Settings → Secrets.
-
Click Remove next to
BASE64_REPO
. -
Click Yes, remove this secret.