diff options
author | Grzegorz Bizon <grzegorz@gitlab.com> | 2019-01-18 13:15:43 +0000 |
---|---|---|
committer | Grzegorz Bizon <grzegorz@gitlab.com> | 2019-01-18 13:15:43 +0000 |
commit | b479ddc769c2a0c3235cdae7184f1a5a4e9815c7 (patch) | |
tree | 3d1e03bb7e7927cf57bc21634d69cd864a7cfe8b /doc/development | |
parent | 178514e0ee6d71aff642bf80794fc1486f243d72 (diff) | |
parent | bcde76eeb66169e8cfc985b416c3db21107f328f (diff) | |
download | gitlab-ce-b479ddc769c2a0c3235cdae7184f1a5a4e9815c7.tar.gz |
Merge branch 'qa-use-mr-iid-in-review-app-slug' into 'master'
Use MR IID in Review Apps slug and domain
See merge request gitlab-org/gitlab-ce!24388
Diffstat (limited to 'doc/development')
-rw-r--r-- | doc/development/testing_guide/review_apps.md | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/development/testing_guide/review_apps.md b/doc/development/testing_guide/review_apps.md index 309babb5f94..13f178297b9 100644 --- a/doc/development/testing_guide/review_apps.md +++ b/doc/development/testing_guide/review_apps.md @@ -74,27 +74,27 @@ Note that both jobs first wait for the `review-deploy` job to be finished. ### Run a Rails console? 1. [Filter Workloads by your Review App slug](https://console.cloud.google.com/kubernetes/workload?project=gitlab-review-apps) - , e.g. `review-29951-issu-id2qax`. -1. Find and open the `task-runner` Deployment, e.g. `review-29951-issu-id2qax-task-runner`. -1. Click on the Pod in the "Managed pods" section, e.g. `review-29951-issu-id2qax-task-runner-d5455cc8-2lsvz`. + , e.g. `review-mr-24388-314997`. +1. Find and open the `task-runner` Deployment, e.g. `review-mr-24388-314997-task-runner`. +1. Click on the Pod in the "Managed pods" section, e.g. `review-mr-24388-314997-task-runner-d5455cc8-2lsvz`. 1. Click on the `KUBECTL` dropdown, then `Exec` -> `task-runner`. 1. Replace `-c task-runner -- ls` with `-- /srv/gitlab/bin/rails c` from the default command or - - Run `kubectl exec --namespace review-apps-ce -it review-29951-issu-id2qax-task-runner-d5455cc8-2lsvz -- /srv/gitlab/bin/rails c` + - Run `kubectl exec --namespace review-apps-ce -it review-mr-24388-314997-task-runner-d5455cc8-2lsvz -- /srv/gitlab/bin/rails c` and - Replace `review-apps-ce` with `review-apps-ee` if the Review App is running EE, and - - Replace `review-29951-issu-id2qax-task-runner-d5455cc8-2lsvz` + - Replace `review-mr-24388-314997-task-runner-d5455cc8-2lsvz` with your Pod's name. ### Dig into a Pod's logs? 1. [Filter Workloads by your Review App slug](https://console.cloud.google.com/kubernetes/workload?project=gitlab-review-apps) - , e.g. `review-1979-1-mul-dnvlhv`. + , e.g. `review-mr-24388-314997`. 1. Find and open the `migrations` Deployment, e.g. - `review-1979-1-mul-dnvlhv-migrations.1`. + `review-mr-24388-314997-migrations.1`. 1. Click on the Pod in the "Managed pods" section, e.g. - `review-1979-1-mul-dnvlhv-migrations.1-nqwtx`. + `review-mr-24388-314997-migrations.1-nqwtx`. 1. Click on the `Container logs` link. ## Frequently Asked Questions |