Configuring Test Repository - dogtagpki/jss GitHub Wiki
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_REPOas 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.