Monorail used to be the Issue Tracker used by the Chromium project and other related projects. It was hosted at bugs.chromium.org. All projects migrated to the Google Issue Tracker. Migrated issues automatically redirect to their new locations. This directory contains the code that dynamically generates these redirects.
To run all tests:
make pytest
To run a single test:
vpython3 -m pytest redirect/test/redirect_test.py::TestRedirectApp::testNoRedirectIssueList
One-time setup:
gcloud init gcloud config set project monorail-dev gcloud auth application-default login
To run:
make serve
Monorail Redirect is deployed automatically to monorail-dev and monorail-staging using LUCI CD. To promote to prod:
# Assume you have an infra_internal checkout. cd ../../../data/gae git new-branch monorail-deploy ./scripts/promote.py --canary --stable --commit monorail git cl upload
Review the CL and land it. LUCI CD will pick up the change and deploy to prod. You may check on the deployment status using the LUCI UI.