E2E Tokens
The E2E tests require rotation of the tokens used for tests and updating them in the GitHub secrets for the top repository configuration.
The following secrets have to be updated:
- ARCHIPELOAPP_QA_ACCESSTOKEN- access token for the account owner
- ARCHIPELOAPP_QA_ACCESSTOKEN_OWNER- access token for the account owner (same as above)
- ARCHIPELOAPP_QA_ACCESSTOKEN_CC- access token for Code Contributor account
- ARCHIPELOAPP_QA_ACCESSTOKEN_DR- access token for Digest Reviewer account
- ARCHIPELOAPP_QA_ACCESSTOKEN_BITBUCKET_OWNER- access token for Bitbucket owner account
- ARCHIPELOAPP_QA_ACCESSTOKEN_GITLAB_OWNER- access token for Gitlab owner account
The E2E Account
The E2E accounts credentials can be found in Keybase.
The Procedure
The procedure of exchanging the tokens are manual and look as follows:
- sign in to the given SCM account
- sign in to Archipelo QA application using the given SCM account
- use the Network tab of the browser to look into the Bearertoken and note its value
- update the appropriate GitHub secret
Updating the Tokens for Gitlab and Bitbucket
Because Gitlab and Bitbucket is disabled by default, in order to update the tokens related to them, the appropriate social providers need to be turned on in Auth0 and later on disabled again.