Commit d795f268 authored by Marin Jankovski's avatar Marin Jankovski

Merge branch 'mlapierre-master-patch-62130' into 'master'

Update review apps testing guide

See merge request gitlab-org/gitlab-ce!22619
parents 1815aa56 df17f355
# Review apps # Review apps
We currently have review apps available as a manual job in EE pipelines. Here is Review Apps are automatically deployed by each pipeline, both in
[the first implementation](https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/6259). [CE](https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/22010) and
[EE](https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/6665).
That said, [the Quality team is working](https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/6665)
on making Review Apps automatically deployed by each pipeline, both in CE and EE.
## How does it work? ## How does it work?
1. On every EE [pipeline][gitlab-pipeline] during the `test` stage, you can 1. On every [pipeline][gitlab-pipeline] during the `test` stage, the
start the [`review` job][review-job] [`review` job][review-job] is automatically started.
1. The `review` job [triggers a pipeline][cng-pipeline] in the 1. The `review` job [triggers a pipeline][cng-pipeline] in the
[`CNG-mirror`][cng-mirror] [^1] project [`CNG-mirror`][cng-mirror] [^1] project
1. The `CNG-mirror` pipeline creates the Docker images of each component (e.g. `gitlab-rails-ee`, 1. The `CNG-mirror` pipeline creates the Docker images of each component (e.g. `gitlab-rails-ee`,
...@@ -39,6 +37,9 @@ on making Review Apps automatically deployed by each pipeline, both in CE and EE ...@@ -39,6 +37,9 @@ on making Review Apps automatically deployed by each pipeline, both in CE and EE
review app manually, and is also started by GitLab once a branch is deleted review app manually, and is also started by GitLab once a branch is deleted
- [TBD] Review apps are cleaned up regularly using a pipeline schedule that runs - [TBD] Review apps are cleaned up regularly using a pipeline schedule that runs
the [`scripts/review_apps/automated_cleanup.rb`][automated_cleanup.rb] script the [`scripts/review_apps/automated_cleanup.rb`][automated_cleanup.rb] script
- If you're unable to log in using the `root` username and password the
deployment may have failed. Stop the review app via the `stop_review`
manual job and then retry the `review` job to redeploy the review app.
[^1]: We use the `CNG-mirror` project so that the `CNG`, (**C**loud **N**ative **G**itLab), project's registry is [^1]: We use the `CNG-mirror` project so that the `CNG`, (**C**loud **N**ative **G**itLab), project's registry is
not overloaded with a lot of transient Docker images. not overloaded with a lot of transient Docker images.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment