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.yml37
1 files changed, 36 insertions, 1 deletions
diff --git a/.gitlab/ci/frontend.gitlab-ci.yml b/.gitlab/ci/frontend.gitlab-ci.yml
index 2e0d83187cf..c5d992cab63 100644
--- a/.gitlab/ci/frontend.gitlab-ci.yml
+++ b/.gitlab/ci/frontend.gitlab-ci.yml
@@ -3,7 +3,7 @@
- .default-retry
- .default-before_script
- .assets-compile-cache
- image: ${REGISTRY_HOST}/${REGISTRY_GROUP}/gitlab-build-images/debian-${DEBIAN_VERSION}-ruby-${RUBY_VERSION}-node-16.14:rubygems-3.2-git-2.33-lfs-2.9-yarn-1.22-graphicsmagick-1.3.36
+ image: ${REGISTRY_HOST}/${REGISTRY_GROUP}/gitlab-build-images/debian-${DEBIAN_VERSION}-ruby-${RUBY_VERSION}-node-16.14:rubygems-${RUBYGEMS_VERSION}-git-2.33-lfs-2.9-yarn-1.22-graphicsmagick-1.3.36
variables:
SETUP_DB: "false"
WEBPACK_VENDOR_DLL: "true"
@@ -49,6 +49,18 @@ compile-production-assets:
after_script:
- rm -f /etc/apt/sources.list.d/google*.list # We don't need to update Chrome here
+compile-production-assets-esbuild:
+ allow_failure: true
+ extends:
+ - .compile-assets-base
+ - .frontend:rules:compile-production-assets
+ variables:
+ NODE_ENV: "production"
+ RAILS_ENV: "production"
+ WEBPACK_USE_ESBUILD_LOADER: "true"
+ after_script:
+ - rm -f /etc/apt/sources.list.d/google*.list # We don't need to update Chrome here
+
compile-test-assets:
extends:
- .compile-assets-base
@@ -61,6 +73,14 @@ compile-test-assets:
- "${WEBPACK_COMPILE_LOG_PATH}"
when: always
+compile-test-assets-esbuild:
+ allow_failure: true
+ extends:
+ - .compile-assets-base
+ - .frontend:rules:compile-test-assets
+ variables:
+ WEBPACK_USE_ESBUILD_LOADER: "true"
+
compile-test-assets as-if-foss:
extends:
- compile-test-assets
@@ -141,6 +161,21 @@ rspec-all frontend_fixture as-if-foss:
- !reference [.frontend-fixtures-base, needs]
- "compile-test-assets as-if-foss"
+# Uploads EE fixtures in the EE project.
+# Uploads FOSS fixtures in the FOSS project.
+upload-frontend-fixtures:
+ extends:
+ - .frontend-fixtures-base
+ - .frontend:rules:upload-frontend-fixtures
+ stage: fixtures
+ needs: ["rspec-all frontend_fixture"]
+ script:
+ - source scripts/gitlab_component_helpers.sh
+ - 'fixtures_archive_doesnt_exist || { echoinfo "INFO: Exiting early as package exists."; exit 0; }'
+ - run_timed_command "create_fixtures_package"
+ - run_timed_command "upload_fixtures_package"
+ artifacts: {}
+
graphql-schema-dump:
variables:
SETUP_DB: "false"