Skip to content

How to find a PR site

kyuksel edited this page Oct 13, 2021 · 5 revisions
  1. Go to a PR of interest that is open.

  2. Click on Show all checks, located below all the comments, if it wasn't clicked on before.

  3. Click on Details next to the ci/circleci: deploy-pr step.

  4. On the Circle CI page that comes up, expand the Deploy PR step.

  5. The target url value listed under Services to deploy is the one you're looking for. It will look something like https://pr-0-dot-bvdp-saturn-dev.appspot.com. These are all backed by dev, so you should use a non-prod account to log in.

N.B.

  1. Occasionally there won’t be a target URL, even though the deploy step appears to have completed. This is because the latest commit was pushed before the PR was actually opened on GitHub. Clicking Rebuild in the upper right corner of the Circle CI page should cause the deploy to happen.

  2. Sometimes the deploy step will fail. This is the case when the PR was opened by somebody who doesn't have permissions on the repo, so they don't have permission to access the secrets needed for the deploy to actually happen.

  3. The number used for the pr site is the last digit of the PR number. It's technically possible that a site could be clobbered by another, new enough PR, since we only do 0-9. This hasn't been a problem, so we haven't worried about finding a solution.

Clone this wiki locally