Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab/ci/frontend.gitlab-ci.yml')
-rw-r--r--.gitlab/ci/frontend.gitlab-ci.yml42
1 files changed, 15 insertions, 27 deletions
diff --git a/.gitlab/ci/frontend.gitlab-ci.yml b/.gitlab/ci/frontend.gitlab-ci.yml
index 8c49d5c212a..1d0218f4bd7 100644
--- a/.gitlab/ci/frontend.gitlab-ci.yml
+++ b/.gitlab/ci/frontend.gitlab-ci.yml
@@ -65,12 +65,6 @@ compile-test-assets as-if-foss:
- .frontend:rules:compile-test-assets-as-if-foss
- .as-if-foss
-compile-test-assets as-if-jh:
- extends:
- - compile-test-assets
- - .frontend:rules:compile-test-assets-as-if-jh
- needs: ["add-jh-folder"]
-
update-assets-compile-production-cache:
extends:
- compile-production-assets
@@ -144,24 +138,12 @@ rspec-all frontend_fixture:
rspec-all frontend_fixture as-if-foss:
extends:
- .frontend-fixtures-base
- - .frontend:rules:default-frontend-jobs-as-if-foss
+ - .frontend:rules:frontend_fixture-as-if-foss
- .as-if-foss
needs:
- !reference [.frontend-fixtures-base, needs]
- "compile-test-assets as-if-foss"
-# Builds FOSS, EE, and JH fixtures in the EE project, with the `jh/` folder added (due to `as-if-jh`).
-rspec-all frontend_fixture as-if-jh:
- extends:
- - .frontend-fixtures-base
- - .frontend:rules:default-frontend-jobs-as-if-jh
- needs:
- - !reference [.frontend-fixtures-base, needs]
- - "compile-test-assets as-if-jh"
- - "add-jh-folder"
- script:
- - echo "This job is currently doing nothing since there's no specific JH fixtures yet. To enable this job, remove this line."
-
graphql-schema-dump:
variables:
SETUP_DB: "false"
@@ -194,7 +176,10 @@ graphql-schema-dump as-if-foss:
# Disable warnings in browserslist which can break on backports
# https://github.com/browserslist/browserslist/blob/a287ec6/node.js#L367-L384
BROWSERSLIST_IGNORE_OLD_DATA: "true"
+ USE_BUNDLE_INSTALL: "false"
+ SETUP_DB: "false"
before_script:
+ - !reference [.default-before_script, before_script]
- *yarn-install
stage: test
@@ -230,6 +215,17 @@ jest minimal:
script:
- run_timed_command "yarn jest:ci:minimal"
+jest minimal as-if-foss:
+ extends:
+ - .jest-base
+ - .frontend:rules:jest:minimal:as-if-foss
+ - .as-if-foss
+ needs:
+ - "rspec-all frontend_fixture as-if-foss"
+ - "detect-tests"
+ script:
+ - run_timed_command "yarn jest:ci:minimal"
+
jest-integration:
extends:
- .frontend-test-base
@@ -248,14 +244,6 @@ jest-as-if-foss:
needs: ["rspec-all frontend_fixture as-if-foss"]
parallel: 2
-jest-as-if-jh:
- extends:
- - .jest-base
- - .frontend:rules:default-frontend-jobs-as-if-jh
- needs: ["rspec-all frontend_fixture as-if-jh", "add-jh-folder"]
- script:
- - echo "This job is currently doing nothing since there's no specific JH Jest tests yet. To enable this job, remove this line."
-
coverage-frontend:
extends:
- .default-retry