Skip to content

How to find a PR site

Isaac Zarsky edited this page May 3, 2019 · 5 revisions
  1. Go to the PR (https://github.com/DataBiosphere/terra-ui/pull/1380)

  2. Click “show all checks”, below all the comments

  3. Click details next to the "deploy-pr" step

  4. On the circleCI page (https://circleci.com/gh/DataBiosphere/terra-ui/9435) expand the “Deploy PR” step

  5. The target url listed (https://pr-0-dot-bvdp-saturn-dev.appspot.com) is where you want to go. 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 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