Commit 61c4eacf authored by Lukas Eipert's avatar Lukas Eipert

Disable browserslist warning in CI jobs

browserslist throws a warning if certain dependencies are too old. As we
generally are not backporting browserslist updates, this can lead to
errors in CI. Previously we have caught the error in rake, but they have
changed the error message so it is failing again.

By simply setting the BROWSERSLIST_IGNORE_OLD_DATA env variable, we can
circumvent this issue.
parent 2b2c4e7e
...@@ -15,6 +15,9 @@ ...@@ -15,6 +15,9 @@
variables: variables:
SETUP_DB: "false" SETUP_DB: "false"
WEBPACK_VENDOR_DLL: "true" WEBPACK_VENDOR_DLL: "true"
# 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"
stage: prepare stage: prepare
script: script:
- *yarn-install - *yarn-install
...@@ -164,6 +167,10 @@ graphql-schema-dump: ...@@ -164,6 +167,10 @@ graphql-schema-dump:
extends: extends:
- .default-retry - .default-retry
- .yarn-cache - .yarn-cache
variables:
# 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"
stage: test stage: test
eslint-as-if-foss: eslint-as-if-foss:
......
...@@ -234,6 +234,9 @@ update-gitaly-binaries-cache: ...@@ -234,6 +234,9 @@ update-gitaly-binaries-cache:
variables: variables:
SETUP_DB: "false" SETUP_DB: "false"
ENABLE_SPRING: "1" ENABLE_SPRING: "1"
# 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"
update-static-analysis-cache: update-static-analysis-cache:
extends: extends:
......
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