Skip to content

Configuring Test Repository

Endi S. Dewata edited this page Jul 29, 2021 · 1 revision

Overview

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.

Configuring Test Repository

For example, to test using edewata/pki repository:

$ echo "edewata/pki" | base64
ZWRld2F0YS9wa2kK

Then create the secret:

  • Go to SettingsSecrets.

  • Click New repository secret.

  • Enter BASE64_REPO as the secret name.

  • Enter the base64-encoded value as the secret value.

  • Click Add secret

Resetting Test Repository

To reset the test repository, remove the secret:

  • Go to SettingsSecrets.

  • Click Remove next to BASE64_REPO.

  • Click Yes, remove this secret.

Clone this wiki locally