Commit d056b0e5 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Merge branch 'run-review-app-for-app-controllers' into 'master'

ci: Automatically deploy Review App for changes to controllers

See merge request gitlab-org/gitlab!77897
parents e188f963 19280886
...@@ -229,6 +229,9 @@ ...@@ -229,6 +229,9 @@
- "vendor/assets/**/*" - "vendor/assets/**/*"
- "{,ee/,jh/}{app/assets,app/helpers,app/presenters,app/views,locale,public,symbol}/**/*" - "{,ee/,jh/}{app/assets,app/helpers,app/presenters,app/views,locale,public,symbol}/**/*"
.controllers-patterns: &controllers-patterns
- "{,ee/,jh/}{app/controllers}/**/*"
.startup-css-patterns: &startup-css-patterns .startup-css-patterns: &startup-css-patterns
- "{,ee/,jh/}app/assets/stylesheets/startup/**/*" - "{,ee/,jh/}app/assets/stylesheets/startup/**/*"
...@@ -280,7 +283,7 @@ ...@@ -280,7 +283,7 @@
- ".dockerignore" - ".dockerignore"
- "qa/**/*" - "qa/**/*"
# Code patterns + .ci-patterns + .workhorse-patterns # Code patterns + .ci-patterns
.code-patterns: &code-patterns .code-patterns: &code-patterns
- "{package.json,yarn.lock}" - "{package.json,yarn.lock}"
- ".browserslistrc" - ".browserslistrc"
...@@ -1613,12 +1616,14 @@ ...@@ -1613,12 +1616,14 @@
changes: *ci-review-patterns changes: *ci-review-patterns
- <<: *if-dot-com-gitlab-org-merge-request - <<: *if-dot-com-gitlab-org-merge-request
changes: *frontend-patterns changes: *frontend-patterns
- <<: *if-dot-com-gitlab-org-merge-request
changes: *controllers-patterns
- <<: *if-dot-com-gitlab-org-merge-request
changes: *qa-patterns
- <<: *if-dot-com-gitlab-org-merge-request - <<: *if-dot-com-gitlab-org-merge-request
changes: *code-patterns changes: *code-patterns
when: manual when: manual
allow_failure: true allow_failure: true
- <<: *if-dot-com-gitlab-org-merge-request
changes: *qa-patterns
- <<: *if-dot-com-gitlab-org-schedule - <<: *if-dot-com-gitlab-org-schedule
variables: variables:
KNAPSACK_GENERATE_REPORT: "true" KNAPSACK_GENERATE_REPORT: "true"
......
...@@ -14,6 +14,7 @@ For any of the following scenarios, the `start-review-app-pipeline` job would be ...@@ -14,6 +14,7 @@ For any of the following scenarios, the `start-review-app-pipeline` job would be
- for merge requests with CI config changes - for merge requests with CI config changes
- for merge requests with frontend changes - for merge requests with frontend changes
- for merge requests with changes to `{,ee/,jh/}{app/controllers}/**/*`
- for merge requests with QA changes - for merge requests with QA changes
- for scheduled pipelines - for scheduled pipelines
- the MR has the `pipeline:run-review-app` label set - the MR has the `pipeline:run-review-app` label set
......
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